pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>prims</artifactId>
  7. <groupId>com.purui.bigdata</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>starter</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <start-class>com.purui.prims.StarterApplication</start-class>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.purui.bigdata</groupId>
  20. <artifactId>auth-authorization</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.h2database</groupId>
  25. <artifactId>h2</artifactId>
  26. <version>${h2.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>javax.servlet.jsp</groupId>
  30. <artifactId>jsp-api</artifactId>
  31. <version>2.0</version>
  32. <scope>compile</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.purui.bigdata</groupId>
  36. <artifactId>engine-core</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.purui.bigdata</groupId>
  41. <artifactId>engine-scheduler</artifactId>
  42. <version>${project.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.purui.bigdata</groupId>
  46. <artifactId>engine-server</artifactId>
  47. <version>${project.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.purui.bigdata</groupId>
  51. <artifactId>auth-api</artifactId>
  52. <version>${project.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-boot-starter</artifactId>
  57. <version>3.0.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>junit</groupId>
  61. <artifactId>junit</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>cn.torna</groupId>
  71. <artifactId>swagger-plugin</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. </dependencies>
  75. <profiles>
  76. <profile>
  77. <id>local</id>
  78. <dependencies>
  79. <dependency>
  80. <groupId>com.h2database</groupId>
  81. <artifactId>h2</artifactId>
  82. </dependency>
  83. </dependencies>
  84. </profile>
  85. </profiles>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-jar-plugin</artifactId>
  91. <version>2.4</version>
  92. <configuration>
  93. <excludes>
  94. <exclude>*.*</exclude>
  95. </excludes>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-assembly-plugin</artifactId>
  101. <version>2.4</version>
  102. <configuration>
  103. <skipAssembly>false</skipAssembly>
  104. <archive>
  105. <manifest>
  106. <mainClass>${start-class}</mainClass>
  107. </manifest>
  108. </archive>
  109. <descriptors>
  110. <descriptor>../assembly/build/build.xml</descriptor>
  111. </descriptors>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <id>make-assembly</id>
  116. <phase>package</phase>
  117. <goals>
  118. <goal>single</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>