pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>id.co.hanoman.ngdemo</groupId>
  5. <artifactId>ngdemo-app</artifactId>
  6. <version>1.0.0</version>
  7. <parent>
  8. <groupId>com.senomas.boot</groupId>
  9. <artifactId>senomas-boot</artifactId>
  10. <version>1.0.2</version>
  11. </parent>
  12. <dependencies>
  13. <dependency>
  14. <groupId>id.co.hanoman.ngdemo</groupId>
  15. <artifactId>ngdemo-domain</artifactId>
  16. <version>1.0.0</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.senomas.boot</groupId>
  20. <artifactId>senomas-boot-security</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.senomas.boot</groupId>
  24. <artifactId>senomas-boot-util</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-security</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-freemarker</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.fasterxml.jackson.dataformat</groupId>
  40. <artifactId>jackson-dataformat-yaml</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.fasterxml.jackson.datatype</groupId>
  44. <artifactId>jackson-datatype-joda</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.springfox</groupId>
  48. <artifactId>springfox-swagger2</artifactId>
  49. <version>${springfox.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>io.springfox</groupId>
  53. <artifactId>springfox-swagger-ui</artifactId>
  54. <version>${springfox.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-jpa</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-redis</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <defaultGoal>install</defaultGoal>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-antrun-plugin</artifactId>
  79. <executions>
  80. <execution>
  81. <id>clean dependency</id>
  82. <phase>clean</phase>
  83. <goals>
  84. <goal>run</goal>
  85. </goals>
  86. <configuration>
  87. <target>
  88. <exec executable="/usr/local/bin/mvn" osfamily="mac"
  89. failonerror="true">
  90. <arg value="-f" />
  91. <arg value="../ngdemo-domain/" />
  92. <arg value="clean" />
  93. </exec>
  94. <exec executable="cmd" osfamily="windows" failonerror="true">
  95. <arg value="\c" />
  96. <arg value="mvn" />
  97. <arg value="-f" />
  98. <arg value="../ngdemo-domain/" />
  99. <arg value="clean" />
  100. </exec>
  101. </target>
  102. </configuration>
  103. </execution>
  104. <execution>
  105. <id>install dependency</id>
  106. <phase>generate-sources</phase>
  107. <goals>
  108. <goal>run</goal>
  109. </goals>
  110. <configuration>
  111. <target>
  112. <exec executable="/usr/local/bin/mvn" osfamily="mac"
  113. failonerror="true">
  114. <arg value="-f" />
  115. <arg value="../ngdemo-domain/" />
  116. <arg value="install" />
  117. </exec>
  118. <exec executable="cmd" osfamily="windows" failonerror="true">
  119. <arg value="\c" />
  120. <arg value="mvn" />
  121. <arg value="-f" />
  122. <arg value="../ngdemo-domain/" />
  123. <arg value="install" />
  124. </exec>
  125. </target>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <configuration>
  134. <source>1.8</source>
  135. <target>1.8</target>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-resources-plugin</artifactId>
  141. <configuration>
  142. <encoding>UTF-8</encoding>
  143. </configuration>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-maven-plugin</artifactId>
  148. <executions>
  149. <execution>
  150. <goals>
  151. <goal>repackage</goal>
  152. </goals>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. <repositories>
  159. <repository>
  160. <id>senomas</id>
  161. <url>http://maven.senomas.com/content/repositories/releases/</url>
  162. <releases>
  163. <enabled>true</enabled>
  164. </releases>
  165. </repository>
  166. <repository>
  167. <id>senomas-snapshots</id>
  168. <url>http://maven.senomas.com/content/repositories/snapshots/</url>
  169. <snapshots>
  170. <enabled>true</enabled>
  171. <updatePolicy>always</updatePolicy>
  172. </snapshots>
  173. </repository>
  174. </repositories>
  175. </project>