pom.xml.svn-base 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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>compute-fjd</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>
  65. <groupId>com.sagacloud</groupId>
  66. <artifactId>zillion-util</artifactId>
  67. <version>1.2</version>
  68. <type>jar</type>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.sagacloud</groupId>
  72. <artifactId>json-lib-zillion</artifactId>
  73. <version>1.0</version>
  74. <type>jar</type>
  75. </dependency>
  76. <dependency>
  77. <groupId>jdk.tools</groupId>
  78. <artifactId>jdk.tools</artifactId>
  79. <version>1.8</version>
  80. <scope>system</scope>
  81. <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <resources>
  86. <resource>
  87. <directory>src/main/resources</directory>
  88. <targetPath>${project.build.directory}</targetPath>
  89. </resource>
  90. </resources>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <version>2.4</version>
  96. <configuration>
  97. <defaultLibBundleDir></defaultLibBundleDir>
  98. <source>1.8</source>
  99. <target>1.8</target>
  100. <encoding>gbk</encoding>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-jar-plugin</artifactId>
  106. <version>2.4</version>
  107. <configuration>
  108. <archive>
  109. <manifest>
  110. <addClasspath>true</addClasspath>
  111. <classpathPrefix></classpathPrefix>
  112. <mainClass>com.persagy.compute.main.ComputeMain</mainClass>
  113. </manifest>
  114. </archive>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-dependency-plugin</artifactId>
  120. <version>2.4</version>
  121. <executions>
  122. <execution>
  123. <id>copy</id>
  124. <phase>package</phase>
  125. <goals>
  126. <goal>copy-dependencies</goal>
  127. </goals>
  128. <configuration>
  129. <outputDirectory>
  130. ${project.build.directory}
  131. </outputDirectory>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-resources-plugin</artifactId>
  139. <version>2.4</version>
  140. <configuration>
  141. <encoding>UTF-8</encoding>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <profiles>
  147. <profile>
  148. <id>dev</id>
  149. <build>
  150. <plugins>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-shade-plugin</artifactId>
  154. <executions>
  155. <execution>
  156. <phase>none</phase>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </profile>
  163. </profiles>
  164. </project>