Advertisement
Guest User

Untitled

a guest
May 26th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>agh.edu.pl</groupId>
  8. <artifactId>lab-rest-api</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <url>http://wildfly.org</url>
  11. <licenses>
  12. <license>
  13. <name>Apache License, Version 2.0</name>
  14. <distribution>repo</distribution>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  16. </license>
  17. </licenses>
  18.  
  19.  
  20. <properties>
  21. <!-- Explicitly declaring the source encoding eliminates the following message: -->
  22. <!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
  23. resources, i.e. build is platform dependent! -->
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25.  
  26. <!-- JBoss dependency versions -->
  27.  
  28. <version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin>
  29.  
  30. <version.jboss.spec.javaee.7.0>1.0.3.Final</version.jboss.spec.javaee.7.0>
  31.  
  32. <!-- other plug-in versions -->
  33. <version.war.plugin>3.0.0</version.war.plugin>
  34.  
  35. <!-- maven-compiler-plugin -->
  36. <maven.compiler.target>1.8</maven.compiler.target>
  37. <maven.compiler.source>1.8</maven.compiler.source>
  38. </properties>
  39.  
  40.  
  41. <dependencies>
  42.  
  43. <dependency>
  44. <groupId>com.sun.jersey</groupId>
  45. <artifactId>jersey-json</artifactId>
  46. <version>1.19.4</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.fasterxml.jackson.core</groupId>
  50. <artifactId>jackson-databind</artifactId>
  51. <version>2.9.8</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.fasterxml.jackson.core</groupId>
  55. <artifactId>jackson-core</artifactId>
  56. <version>2.9.8</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.fasterxml.jackson.core</groupId>
  60. <artifactId>jackson-annotations</artifactId>
  61. <version>2.9.8</version>
  62. </dependency>
  63.  
  64.  
  65. <dependency>
  66. <groupId>javax.validation</groupId>
  67. <artifactId>validation-api</artifactId>
  68. <version>2.0.1.Final</version>
  69. <scope>compile</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>javax.validation</groupId>
  73. <artifactId>validation-api</artifactId>
  74. <version>2.0.1.Final</version>
  75. <scope>compile</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.jboss.resteasy</groupId>
  79. <artifactId>jaxrs-api</artifactId>
  80. <version>3.0.12.Final</version>
  81. <scope>compile</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.jboss.resteasy</groupId>
  85. <artifactId>resteasy-jaxrs</artifactId>
  86. <version>2.2.1.GA</version>
  87. </dependency>
  88. </dependencies>
  89.  
  90. <dependencyManagement>
  91. <dependencies>
  92. <dependency>
  93. <groupId>org.jboss.resteasy</groupId>
  94. <artifactId>resteasy-jaxrs</artifactId>
  95. <version>3.6.3.Final</version>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.jboss.resteasy</groupId>
  100. <artifactId>resteasy-client</artifactId>
  101. <version>3.6.3.Final</version>
  102. <scope>provided</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.jboss.resteasy</groupId>
  106. <artifactId>resteasy-jaxb-provider</artifactId>
  107. <version>3.6.3.Final</version>
  108. <scope>provided</scope>
  109. </dependency>
  110. </dependencies>
  111. </dependencyManagement>
  112.  
  113. <build>
  114. <pluginManagement>
  115. <plugins>
  116. <!-- The WildFly plugin deploys your ear to a local JBoss
  117. AS container -->
  118. <!-- Due to Maven's lack of intelligence with EARs we need
  119. to configure the wildfly maven plugin to skip deployment for all modules.
  120. We then enable it specifically in the ear module. -->
  121. <plugin>
  122. <groupId>org.wildfly.plugins</groupId>
  123. <artifactId>wildfly-maven-plugin</artifactId>
  124. <version>${version.wildfly.maven.plugin}</version>
  125. <inherited>true</inherited>
  126. <configuration>
  127. <skip>true</skip>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <configuration>
  134. <source>8</source>
  135. <target>8</target>
  136. </configuration>
  137. </plugin>
  138. </plugins>
  139. </pluginManagement>
  140. </build>
  141. <profiles>
  142. <profile>
  143. <!-- An optional Arquillian testing profile that executes tests
  144. in your WildFly instance -->
  145. <!-- This profile will start a new WildFly instance, and execute
  146. the test, shutting it down when done -->
  147. <!-- Run with: mvn clean test -Parq-wildfly-managed -->
  148. <id>arq-wildfly-managed</id>
  149. <dependencies>
  150. <dependency>
  151. <groupId>org.wildfly</groupId>
  152. <artifactId>wildfly-arquillian-container-managed</artifactId>
  153. <scope>test</scope>
  154. </dependency>
  155. </dependencies>
  156. </profile>
  157.  
  158. <profile>
  159. <!-- An optional Arquillian testing profile that executes tests
  160. in a remote WildFly instance -->
  161. <!-- Run with: mvn clean test -Parq-wildfly-remote -->
  162. <id>arq-wildfly-remote</id>
  163. <dependencies>
  164. <dependency>
  165. <groupId>org.wildfly</groupId>
  166. <artifactId>wildfly-arquillian-container-remote</artifactId>
  167. <scope>test</scope>
  168. </dependency>
  169. </dependencies>
  170. </profile>
  171.  
  172. </profiles>
  173.  
  174. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement