pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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.sagacloud</groupId>
  5. <artifactId>collect</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <properties>
  8. <maven.compiler.source>1.8</maven.compiler.source>
  9. <maven.compiler.target>1.8</maven.compiler.target>
  10. </properties>
  11. <!--<repositories>
  12. &lt;!&ndash; <repository>
  13. <id>SagaCloud</id>
  14. <name>SagaCloud</name>
  15. <url>http://172.16.0.86:8081/repository/SagaCloud/</url>
  16. <snapshots>
  17. <enabled>true</enabled>
  18. </snapshots>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. </repository>&ndash;&gt;
  23. <repository>
  24. <id>alimaven</id>
  25. <name>aliyun maven</name>
  26. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  27. </repository>
  28. <repository>
  29. <id>mvnrepository</id>
  30. <url>https://mvnrepository.com/</url>
  31. </repository>
  32. <repository>
  33. <id>sonatype-nexus-snapshots</id>
  34. <name>Sonatype Nexus Snapshots</name>
  35. <url>http://oss.sonatype.org/content/repositories/snapshots</url>
  36. </repository>
  37. </repositories>-->
  38. <dependencies>
  39. <dependency>
  40. <groupId>mysql</groupId>
  41. <artifactId>mysql-connector-java</artifactId>
  42. <version>5.1.13</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.hbase</groupId>
  46. <artifactId>hbase-server</artifactId>
  47. <version>1.3.0</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.hbase</groupId>
  51. <artifactId>hbase-client</artifactId>
  52. <version>1.3.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>dom4j</groupId>
  56. <artifactId>dom4j</artifactId>
  57. <version>1.6.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>jaxen</groupId>
  61. <artifactId>jaxen</artifactId>
  62. <version>1.1.6</version>
  63. </dependency>
  64. <!--- <dependency> <groupId>com.sagacloud</groupId> <artifactId>zillion-util</artifactId>
  65. <version>1.2</version> <type>jar</type> </dependency> -->
  66. <dependency>
  67. <groupId>com.sagacloud</groupId>
  68. <artifactId>json-lib-zillion</artifactId>
  69. <version>1.0</version>
  70. <type>jar</type>
  71. </dependency>
  72. <dependency>
  73. <groupId>jdk.tools</groupId>
  74. <artifactId>jdk.tools</artifactId>
  75. <version>1.8</version>
  76. <scope>system</scope>
  77. <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  78. </dependency>
  79. <!-- https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl -->
  80. <dependency>
  81. <groupId>net.sourceforge.jexcelapi</groupId>
  82. <artifactId>jxl</artifactId>
  83. <version>2.6.12</version>
  84. </dependency>
  85. <!--activemq配置-->
  86. <dependency>
  87. <groupId>org.apache.activemq</groupId>
  88. <artifactId>activemq-core</artifactId>
  89. <version>5.7.0</version>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <resources>
  94. <resource>
  95. <directory>src/main/resources</directory>
  96. <targetPath>${project.build.directory}</targetPath>
  97. </resource>
  98. </resources>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <version>2.4</version>
  104. <configuration>
  105. <defaultLibBundleDir></defaultLibBundleDir>
  106. <source>1.8</source>
  107. <target>1.8</target>
  108. <encoding>gbk</encoding>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-jar-plugin</artifactId>
  114. <version>2.4</version>
  115. <configuration>
  116. <archive>
  117. <manifest>
  118. <addClasspath>true</addClasspath>
  119. <classpathPrefix></classpathPrefix>
  120. <mainClass>com.saga.main.Main</mainClass>
  121. </manifest>
  122. </archive>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-dependency-plugin</artifactId>
  128. <version>2.4</version>
  129. <executions>
  130. <execution>
  131. <id>copy</id>
  132. <phase>package</phase>
  133. <goals>
  134. <goal>copy-dependencies</goal>
  135. </goals>
  136. <configuration>
  137. <outputDirectory>
  138. ${project.build.directory}
  139. </outputDirectory>
  140. </configuration>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-resources-plugin</artifactId>
  147. <version>2.4</version>
  148. <configuration>
  149. <encoding>UTF-8</encoding>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. <profiles>
  155. <profile>
  156. <id>dev</id>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-shade-plugin</artifactId>
  162. <executions>
  163. <execution>
  164. <phase>none</phase>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </profile>
  171. </profiles>
  172. </project>