pom1.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>llxy.cs.sw.lpp</groupId>
  6. <artifactId>hadoop_dw</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>hadoop_dw Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <repositories>
  13. <repository>
  14. <id>central</id>
  15. <name>Central Repository</name>
  16. <url>http://repo.maven.apache.org/maven2</url>
  17. <layout>default</layout>
  18. <snapshots>
  19. <enabled>false</enabled>
  20. </snapshots>
  21. </repository>
  22. </repositories>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <maven.compiler.source>1.8</maven.compiler.source>
  26. <maven.compiler.target>1.8</maven.compiler.target>
  27. <pentaho-kettle.version>8.2.0.0-342</pentaho-kettle.version><!--5.4.1.8-209-->
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>junit</groupId>
  32. <artifactId>junit</artifactId>
  33. <version>4.9</version>
  34. </dependency>
  35. <!-- https://mvnrepository.com/artifact/org.hibernate/ejb3-persistence -->
  36. <dependency>
  37. <groupId>org.hibernate</groupId>
  38. <artifactId>ejb3-persistence</artifactId>
  39. <version>1.0.2.GA</version>
  40. <type>pom</type>
  41. </dependency>
  42. <!-- https://mvnrepository.com/artifact/org.apache.htrace/htrace-core4 -->
  43. <dependency>
  44. <groupId>org.apache.htrace</groupId>
  45. <artifactId>htrace-core4</artifactId>
  46. <version>4.1.0-incubating</version>
  47. </dependency>
  48. <!-- https://mvnrepository.com/artifact/org.apache.sqoop/sqoop 1.4.7-->
  49. <dependency>
  50. <groupId>org.apache.sqoop</groupId>
  51. <artifactId>sqoop</artifactId>
  52. <version>1.4.7</version>
  53. <classifier>hadoop260</classifier>
  54. </dependency>
  55. <!-- pentaho kettle
  56. <dependency>
  57. <groupId>commons-vfs</groupId>
  58. <artifactId>commons-vfs</artifactId>
  59. <version>1.0</version>
  60. </dependency>-->
  61. <dependency>
  62. <groupId>pentaho-kettle</groupId>
  63. <artifactId>kettle-core</artifactId>
  64. <version>${pentaho-kettle.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>pentaho-kettle</groupId>
  68. <artifactId>kettle-engine</artifactId>
  69. <version>${pentaho-kettle.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>pentaho-kettle</groupId>
  73. <artifactId>kettle-ui-swt</artifactId>
  74. <version>${pentaho-kettle.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>pentaho-kettle</groupId>
  78. <artifactId>kettle-log4j-core</artifactId>
  79. <version>${pentaho-kettle.version}</version>
  80. </dependency>
  81. <!--<dependency>
  82. <groupId>pentaho</groupId>
  83. <artifactId>metastore</artifactId>
  84. <version>${pentaho-kettle.version}</version>
  85. </dependency>-->
  86. <dependency>
  87. <groupId>com.wcohen</groupId>
  88. <artifactId>com.wcohen.secondstring</artifactId>
  89. <version>0.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>pentaho-library</groupId>
  93. <artifactId>libformula</artifactId>
  94. <version>${pentaho-kettle.version}</version>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>commons-logging</groupId>
  98. <artifactId>commons-logging-api</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.codehaus.janino</groupId>
  104. <artifactId>janino</artifactId>
  105. <version>2.5.16</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.mozilla</groupId>
  109. <artifactId>rhino</artifactId>
  110. <version>1.7R5</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>javax.mail</groupId>
  114. <artifactId>javax.mail-api</artifactId>
  115. <version>1.4.7</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>mysql</groupId>
  119. <artifactId>mysql-connector-java</artifactId>
  120. <version>5.1.35</version>
  121. <scope>runtime</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.microsoft.sqlserver</groupId>
  125. <artifactId>sqljdbc42</artifactId>
  126. <version>6.0</version>
  127. </dependency>
  128. <dependency>
  129. <groupId> javax.persistence</groupId>
  130. <artifactId> persistence-api</artifactId>
  131. <version> 1.0.2</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.eclipse.persistence</groupId>
  135. <artifactId>javax.persistence</artifactId>
  136. <version>2.0.0</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.commons</groupId>
  140. <artifactId>commons-vfs2</artifactId>
  141. <version>2.2</version>
  142. </dependency>
  143. </dependencies>
  144. <build>
  145. <finalName>hadoop_dw</finalName>
  146. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  147. <plugins>
  148. <plugin>
  149. <artifactId>maven-clean-plugin</artifactId>
  150. <version>3.1.0</version>
  151. </plugin>
  152. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  153. <plugin>
  154. <artifactId>maven-resources-plugin</artifactId>
  155. <version>3.0.2</version>
  156. </plugin>
  157. <plugin>
  158. <artifactId>maven-compiler-plugin</artifactId>
  159. <version>3.8.0</version>
  160. </plugin>
  161. <plugin>
  162. <artifactId>maven-surefire-plugin</artifactId>
  163. <version>2.22.1</version>
  164. </plugin>
  165. <plugin>
  166. <artifactId>maven-war-plugin</artifactId>
  167. <version>3.2.2</version>
  168. </plugin>
  169. <plugin>
  170. <artifactId>maven-install-plugin</artifactId>
  171. <version>2.5.2</version>
  172. </plugin>
  173. <plugin>
  174. <artifactId>maven-deploy-plugin</artifactId>
  175. <version>2.8.2</version>
  176. </plugin>
  177. <plugin>
  178. <artifactId>maven-dependency-plugin</artifactId>
  179. <executions>
  180. <execution>
  181. <id>copy-dependencies</id>
  182. <phase>prepare-package</phase>
  183. <goals>
  184. <goal>copy-dependencies</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. <configuration>
  189. <includeTypes>jar</includeTypes>
  190. <overWriteSnapshots>true</overWriteSnapshots>
  191. <type>jar</type>
  192. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-compiler-plugin</artifactId>
  198. <version>3.3</version>
  199. <configuration>
  200. <source>${maven.compiler.source}</source>
  201. <target>${maven.compiler.target}</target>
  202. <encoding>UTF-8</encoding>
  203. <compilerArguments>
  204. <extdirs>src\main\webapp\WEB-INF\lib</extdirs>
  205. </compilerArguments>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-war-plugin</artifactId>
  211. <configuration>
  212. <webResources>
  213. <resource>
  214. <directory>libs</directory>
  215. <targetPath>WEB-INF/lib/</targetPath>
  216. <includes>
  217. <include>**/*.jar</include>
  218. </includes>
  219. </resource>
  220. </webResources>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.tomcat.maven</groupId>
  225. <artifactId>tomcat7-maven-plugin</artifactId>
  226. <version>2.1</version>
  227. <configuration>
  228. <port>9090</port>
  229. <path>/mgr</path>
  230. <uriEncoding>UTF-8</uriEncoding>
  231. <finalName>mgr</finalName>
  232. <server>tomcat7</server>
  233. </configuration>
  234. </plugin>
  235. </plugins>
  236. </pluginManagement>
  237. <resources>
  238. <resource>
  239. <directory>src/main/java</directory>
  240. <includes>
  241. <include>**/*.properties</include>
  242. <include>**/*.xml</include>
  243. </includes>
  244. <filtering>false</filtering>
  245. </resource>
  246. <resource>
  247. <targetPath>${project.build.directory}/classes</targetPath>
  248. <directory>src/main/resources</directory>
  249. <filtering>true</filtering>
  250. <includes>
  251. <include>**/*.xml</include>
  252. <include>**/*.properties</include>
  253. </includes>
  254. </resource>
  255. </resources>
  256. </build>
  257. </project>