pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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>com.persagy</groupId>
  5. <artifactId>data-dict-tool</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>data-dict-tool</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <repositories>
  14. <repository>
  15. <id>SagaCloud</id>
  16. <name>SagaCloud</name>
  17. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  18. <snapshots>
  19. <enabled>true</enabled>
  20. </snapshots>
  21. <releases>
  22. <enabled>true</enabled>
  23. </releases>
  24. </repository>
  25. <repository>
  26. <id>alimaven</id>
  27. <name>aliyun maven</name>
  28. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  29. </repository>
  30. <repository>
  31. <id>mvnrepository</id>
  32. <url>https://mvnrepository.com/</url>
  33. </repository>
  34. <repository>
  35. <id>sonatype-nexus-snapshots</id>
  36. <name>Sonatype Nexus Snapshots</name>
  37. <url>http://oss.sonatype.org/content/repositories/snapshots</url>
  38. </repository>
  39. </repositories>
  40. <dependencies>
  41. <dependency>
  42. <groupId>jdk.tools</groupId>
  43. <artifactId>jdk.tools</artifactId>
  44. <version>1.8</version>
  45. <scope>system</scope>
  46. <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  47. </dependency>
  48. <dependency>
  49. <groupId>dom4j</groupId>
  50. <artifactId>dom4j</artifactId>
  51. <version>1.6.1</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>jaxen</groupId>
  55. <artifactId>jaxen</artifactId>
  56. <version>1.1.6</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.httpcomponents</groupId>
  60. <artifactId>httpcore</artifactId>
  61. <version>4.2.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.httpcomponents</groupId>
  65. <artifactId>httpclient</artifactId>
  66. <version>4.2.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>fastjson</artifactId>
  71. <version>1.2.70</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>log4j</groupId>
  75. <artifactId>log4j</artifactId>
  76. <version>1.2.17</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.poi</groupId>
  80. <artifactId>poi</artifactId>
  81. <version>3.9</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.poi</groupId>
  85. <artifactId>poi-ooxml</artifactId>
  86. <version>3.9</version>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <resources>
  91. <resource>
  92. <directory>src/main/resources</directory>
  93. <targetPath>${project.build.directory}/classes</targetPath>
  94. </resource>
  95. </resources>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>2.4</version>
  101. <configuration>
  102. <defaultLibBundleDir></defaultLibBundleDir>
  103. <source>1.8</source>
  104. <target>1.8</target>
  105. <encoding>gbk</encoding>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-jar-plugin</artifactId>
  111. <version>2.4</version>
  112. <configuration>
  113. <excludes>
  114. <exclude>*.properties</exclude>
  115. <exclude>*.xml</exclude>
  116. <exclude>*.json</exclude>
  117. </excludes>
  118. <archive>
  119. <manifest>
  120. <addClasspath>true</addClasspath>
  121. <classpathPrefix></classpathPrefix>
  122. <mainClass>com.persagy.data_dict_tool.v2.ToolMain</mainClass>
  123. </manifest>
  124. </archive>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-dependency-plugin</artifactId>
  130. <version>2.4</version>
  131. <executions>
  132. <execution>
  133. <id>copy</id>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>copy-dependencies</goal>
  137. </goals>
  138. <configuration>
  139. <outputDirectory>
  140. ${project.build.directory}
  141. </outputDirectory>
  142. </configuration>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-resources-plugin</artifactId>
  149. <version>2.4</version>
  150. <configuration>
  151. <encoding>UTF-8</encoding>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. <profiles>
  157. <profile>
  158. <id>dev</id>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-shade-plugin</artifactId>
  164. <executions>
  165. <execution>
  166. <phase>none</phase>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. </plugins>
  171. </build>
  172. </profile>
  173. </profiles>
  174. <distributionManagement>
  175. <repository>
  176. <id>SagaCloudRelease</id>
  177. <name>User Project Release</name>
  178. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  179. </repository>
  180. <snapshotRepository>
  181. <id>SagaCloudRelease</id>
  182. <name>User Project SNAPSHOTS</name>
  183. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  184. </snapshotRepository>
  185. </distributionManagement>
  186. </project>