pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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>cn.com.taiji</groupId>
  5. <artifactId>cn.com.taiji.sys</artifactId>
  6. <version>1.0.0</version>
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <java.version>1.8</java.version>
  10. <commons-lang3.version>3.3.2</commons-lang3.version>
  11. <commons-codec.version>1.9</commons-codec.version>
  12. </properties>
  13. <parent>
  14. <groupId>cn.com.taiji</groupId>
  15. <artifactId>cn.com.taiji.zyml</artifactId>
  16. <version>1.0.0</version>
  17. </parent>
  18. <dependencies>
  19. <dependency>
  20. <groupId>javax.inject</groupId>
  21. <artifactId>javax.inject</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>javax.annotation</groupId>
  25. <artifactId>jsr250-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.commons</groupId>
  29. <artifactId>commons-lang3</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>commons-codec</groupId>
  33. <artifactId>commons-codec</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>joda-time</groupId>
  37. <artifactId>joda-time</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.fasterxml.jackson.datatype</groupId>
  41. <artifactId>jackson-datatype-joda</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.axis</groupId>
  45. <artifactId>axis</artifactId>
  46. <version>1.4</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.hibernate</groupId>
  50. <artifactId>hibernate-validator</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. </dependency>
  56. <!-- <dependency>-->
  57. <!-- <groupId>com.oracle</groupId>-->
  58. <!-- <artifactId>ojdbc6</artifactId>-->
  59. <!-- <version>11.2.0.3</version>-->
  60. <!-- </dependency>-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-jpa</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.hibernate</groupId>
  67. <artifactId>hibernate-ehcache</artifactId>
  68. <version>${hibernate.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.security</groupId>
  72. <artifactId>spring-security-core</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.security</groupId>
  81. <artifactId>spring-security-config</artifactId>
  82. </dependency>
  83. <!-- http://mvnrepository.com/artifact/org.hibernate/hibernate-jpamodelgen -->
  84. <dependency>
  85. <groupId>org.hibernate</groupId>
  86. <artifactId>hibernate-jpamodelgen</artifactId>
  87. <version>5.2.0.Final</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <!--easypoi模板 -->
  91. <dependency>
  92. <groupId>cn.afterturn</groupId>
  93. <artifactId>easypoi-base</artifactId>
  94. <version>3.2.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>cn.afterturn</groupId>
  98. <artifactId>easypoi-web</artifactId>
  99. <version>3.2.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>cn.afterturn</groupId>
  103. <artifactId>easypoi-annotation</artifactId>
  104. <version>3.2.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>javax.xml.bind</groupId>
  108. <artifactId>jaxb-api</artifactId>
  109. <version>2.3.1</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.glassfish.jaxb</groupId>
  113. <artifactId>jaxb-runtime</artifactId>
  114. <version>2.3.1</version>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-compiler-plugin</artifactId>
  122. <configuration>
  123. <source>${java.version}</source>
  124. <target>${java.version}</target>
  125. <compilerArgument>-proc:none</compilerArgument>
  126. </configuration>
  127. <executions>
  128. <execution>
  129. <id>run-annotation-processors-only</id>
  130. <phase>generate-sources</phase>
  131. <configuration>
  132. <compilerArgument>-proc:only</compilerArgument>
  133. <includes>
  134. <include>**/domain/*.java</include>
  135. </includes>
  136. <generatedSourcesDirectory>${project.build.directory}/generated-sources/annotations</generatedSourcesDirectory>
  137. </configuration>
  138. <goals>
  139. <goal>compile</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.codehaus.mojo</groupId>
  146. <artifactId>build-helper-maven-plugin</artifactId>
  147. <executions>
  148. <execution>
  149. <phase>process-sources</phase>
  150. <configuration>
  151. <sources>
  152. <source>${project.build.directory}/generated-sources/annotations</source>
  153. </sources>
  154. </configuration>
  155. <goals>
  156. <goal>add-source</goal>
  157. </goals>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. <!-- <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId>
  162. </plugin> -->
  163. </plugins>
  164. </build>
  165. </project>