pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. <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>
  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. </dependencies>
  86. <build>
  87. <resources>
  88. <resource>
  89. <directory>src/main/resources</directory>
  90. <targetPath>${project.build.directory}</targetPath>
  91. </resource>
  92. </resources>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-compiler-plugin</artifactId>
  97. <version>2.4</version>
  98. <configuration>
  99. <defaultLibBundleDir></defaultLibBundleDir>
  100. <source>1.8</source>
  101. <target>1.8</target>
  102. <encoding>gbk</encoding>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-jar-plugin</artifactId>
  108. <version>2.4</version>
  109. <configuration>
  110. <archive>
  111. <manifest>
  112. <addClasspath>true</addClasspath>
  113. <classpathPrefix></classpathPrefix>
  114. <mainClass>com.persagy.compute.main.ComputeMain</mainClass>
  115. </manifest>
  116. </archive>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-dependency-plugin</artifactId>
  122. <version>2.4</version>
  123. <executions>
  124. <execution>
  125. <id>copy</id>
  126. <phase>package</phase>
  127. <goals>
  128. <goal>copy-dependencies</goal>
  129. </goals>
  130. <configuration>
  131. <outputDirectory>
  132. ${project.build.directory}
  133. </outputDirectory>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-resources-plugin</artifactId>
  141. <version>2.4</version>
  142. <configuration>
  143. <encoding>UTF-8</encoding>
  144. </configuration>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. <profiles>
  149. <profile>
  150. <id>dev</id>
  151. <build>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-shade-plugin</artifactId>
  156. <executions>
  157. <execution>
  158. <phase>none</phase>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. </profile>
  165. </profiles>
  166. </project>