Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.86 KB | None | 0 0
  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" 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.  
  5. <groupId>my.project</groupId>
  6. <artifactId>project</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9.  
  10. <name>my-project</name>
  11.  
  12. <properties>
  13. <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <deltaspike.version>1.9.1</deltaspike.version>
  16. <tomee.version>8.0.0</tomee.version>
  17. <tomee.classifier>plus</tomee.classifier>
  18. </properties>
  19.  
  20. <dependencyManagement>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.apache.deltaspike.distribution</groupId>
  24. <artifactId>distributions-bom</artifactId>
  25. <version>${deltaspike.version}</version>
  26. <type>pom</type>
  27. <scope>import</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.jboss.arquillian</groupId>
  31. <artifactId>arquillian-bom</artifactId>
  32. <version>1.5.0.Final</version>
  33. <scope>import</scope>
  34. <type>pom</type>
  35. </dependency>
  36. </dependencies>
  37. </dependencyManagement>
  38.  
  39. <dependencies>
  40. <dependency>
  41. <groupId>redis.clients</groupId>
  42. <artifactId>jedis</artifactId>
  43. <version>3.1.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>commons-codec</groupId>
  47. <artifactId>commons-codec</artifactId>
  48. <version>1.13</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-lang3</artifactId>
  53. <version>3.9</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.httpcomponents</groupId>
  57. <artifactId>httpclient</artifactId>
  58. <version>4.5.10</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.postgresql</groupId>
  62. <artifactId>postgresql</artifactId>
  63. <version>42.2.8</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>javax</groupId>
  67. <artifactId>javaee-api</artifactId>
  68. <version>8.0</version>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.deltaspike.core</groupId>
  73. <artifactId>deltaspike-core-api</artifactId>
  74. <scope>compile</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.deltaspike.core</groupId>
  78. <artifactId>deltaspike-core-impl</artifactId>
  79. <scope>runtime</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.deltaspike.modules</groupId>
  83. <artifactId>deltaspike-security-module-api</artifactId>
  84. <scope>compile</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.deltaspike.modules</groupId>
  88. <artifactId>deltaspike-security-module-impl</artifactId>
  89. <scope>runtime</scope>
  90. </dependency>
  91. <!-- Hibernate -->
  92. <dependency>
  93. <groupId>org.hibernate</groupId>
  94. <artifactId>hibernate-entitymanager</artifactId>
  95. <version>5.3.13.Final</version>
  96. </dependency>
  97.  
  98. <dependency>
  99. <groupId>com.vladmihalcea</groupId>
  100. <artifactId>hibernate-types-52</artifactId>
  101. <version>2.7.1</version>
  102. </dependency>
  103. <!-- unit testing -->
  104. <dependency>
  105. <groupId>org.junit.jupiter</groupId>
  106. <artifactId>junit-jupiter-engine</artifactId>
  107. <version>5.5.2</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.jboss.weld</groupId>
  112. <artifactId>weld-junit5</artifactId>
  113. <version>2.0.1.Final</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.mockito</groupId>
  118. <artifactId>mockito-core</artifactId>
  119. <version>3.1.0</version>
  120. <scope>test</scope>
  121. </dependency>
  122.  
  123. <!-- integration testing -->
  124. <dependency>
  125. <groupId>junit</groupId>
  126. <artifactId>junit</artifactId>
  127. <version>4.12</version>
  128. <scope>test</scope>
  129. </dependency>
  130.  
  131. <dependency>
  132. <groupId>org.jboss.arquillian.junit</groupId>
  133. <artifactId>arquillian-junit-container</artifactId>
  134. <scope>test</scope>
  135. </dependency>
  136.  
  137. <dependency>
  138. <groupId>org.apache.tomee</groupId>
  139. <artifactId>arquillian-tomee-remote</artifactId>
  140. <version>${tomee.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143.  
  144. <dependency>
  145. <groupId>org.jboss.shrinkwrap.resolver</groupId>
  146. <artifactId>shrinkwrap-resolver-depchain</artifactId>
  147. <scope>test</scope>
  148. <type>pom</type>
  149. </dependency>
  150.  
  151. </dependencies>
  152.  
  153. <build>
  154. <plugins>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-compiler-plugin</artifactId>
  158. <version>3.1</version>
  159. <configuration>
  160. <source>1.8</source>
  161. <target>1.8</target>
  162. <compilerArguments>
  163. <endorseddirs>${endorsed.dir}</endorseddirs>
  164. </compilerArguments>
  165. <showDeprecation>true</showDeprecation>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-war-plugin</artifactId>
  171. <version>2.3</version>
  172. <configuration>
  173. <failOnMissingWebXml>false</failOnMissingWebXml>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-dependency-plugin</artifactId>
  179. <version>2.6</version>
  180. <executions>
  181. <execution>
  182. <phase>validate</phase>
  183. <goals>
  184. <goal>copy</goal>
  185. </goals>
  186. <configuration>
  187. <outputDirectory>${endorsed.dir}</outputDirectory>
  188. <silent>true</silent>
  189. <artifactItems>
  190. <artifactItem>
  191. <groupId>javax</groupId>
  192. <artifactId>javaee-endorsed-api</artifactId>
  193. <version>7.0</version>
  194. <type>jar</type>
  195. </artifactItem>
  196. </artifactItems>
  197. </configuration>
  198. </execution>
  199. <execution>
  200. <id>unpack</id>
  201. <phase>process-test-classes</phase>
  202. <goals>
  203. <goal>unpack</goal>
  204. </goals>
  205. <configuration>
  206. <artifactItems>
  207. <artifactItem>
  208. <groupId>org.apache.tomee</groupId>
  209. <artifactId>apache-tomee</artifactId>
  210. <version>${tomee.version}</version>
  211. <classifier>plus</classifier>
  212. <type>zip</type>
  213. <overWrite>false</overWrite>
  214. <outputDirectory>target</outputDirectory>
  215. </artifactItem>
  216. </artifactItems>
  217. </configuration>
  218. </execution>
  219. <execution>
  220. <id>copy-db-driver</id>
  221. <phase>process-test-classes</phase>
  222. <goals>
  223. <goal>copy</goal>
  224. </goals>
  225. <configuration>
  226. <artifactItems>
  227. <artifactItem>
  228. <groupId>org.postgresql</groupId>
  229. <artifactId>postgresql</artifactId>
  230. <version>42.2.8</version>
  231. <outputDirectory>target/apache-tomee-plus-8.0.0/lib</outputDirectory>
  232. </artifactItem>
  233. </artifactItems>
  234. </configuration>
  235. </execution>
  236. </executions>
  237. </plugin>
  238.  
  239. <plugin>
  240. <groupId>org.apache.tomee.maven</groupId>
  241. <artifactId>tomee-maven-plugin</artifactId>
  242. <version>${tomee.version}</version>
  243. <configuration>
  244. <tomeeVersion>${tomee.version}</tomeeVersion>
  245. <tomeeClassifier>${tomee.classifier}</tomeeClassifier>
  246. </configuration>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement