Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3.  
  4. <groupId>br.com.caelum</groupId>
  5. <artifactId>vraptor-blank-project</artifactId>
  6. <version>4.3.0-beta-3-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8.  
  9. <description>A blank project to start using VRaptor 4</description>
  10.  
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <weld.version>3.0.4.Final</weld.version>
  14. </properties>
  15.  
  16. <dependencies>
  17. <!-- https://mvnrepository.com/artifact/br.com.caelum/vraptor -->
  18. <dependency>
  19. <groupId>br.com.caelum</groupId>
  20. <artifactId>vraptor</artifactId>
  21. <version>4.1.4</version>
  22. </dependency>
  23.  
  24. <dependency>
  25. <groupId>org.jboss.weld.servlet</groupId>
  26. <artifactId>weld-servlet-core</artifactId>
  27. <version>${weld.version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <artifactId>weld-jsf</artifactId>
  31. <groupId>org.jboss.weld.module</groupId>
  32. </exclusion>
  33. <exclusion>
  34. <artifactId>weld-probe-core</artifactId>
  35. <groupId>org.jboss.weld.probe</groupId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39.  
  40. <dependency>
  41. <groupId>org.jboss.weld</groupId>
  42. <artifactId>weld-core-impl</artifactId>
  43. <version>${weld.version}</version>
  44. </dependency>
  45.  
  46. <dependency>
  47. <groupId>javax.el</groupId>
  48. <artifactId>el-api</artifactId>
  49. <version>2.2</version>
  50. <scope>provided</scope>
  51. </dependency>
  52.  
  53. <dependency>
  54. <groupId>org.hibernate</groupId>
  55. <artifactId>hibernate-validator-cdi</artifactId>
  56. <version>5.1.1.Final</version>
  57. </dependency>
  58.  
  59. <dependency>
  60. <groupId>javax.servlet</groupId>
  61. <artifactId>jstl</artifactId>
  62. <version>1.2</version>
  63. </dependency>
  64.  
  65. <dependency>
  66. <groupId>javax.servlet</groupId>
  67. <artifactId>javax.servlet-api</artifactId>
  68. <version>3.1.0</version>
  69. <scope>provided</scope>
  70. </dependency>
  71.  
  72. <dependency>
  73. <groupId>org.slf4j</groupId>
  74. <artifactId>slf4j-log4j12</artifactId>
  75. <version>1.7.5</version>
  76. </dependency>
  77.  
  78. </dependencies>
  79.  
  80. <build>
  81. <finalName>vraptor-blank-project</finalName>
  82. <outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-compiler-plugin</artifactId>
  87. <version>3.1</version>
  88. <configuration>
  89. <source>1.7</source>
  90. <target>1.7</target>
  91. </configuration>
  92. </plugin>
  93.  
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-war-plugin</artifactId>
  97. <version>2.4</version>
  98. </plugin>
  99.  
  100. <plugin>
  101. <groupId>org.apache.tomcat.maven</groupId>
  102. <artifactId>tomcat7-maven-plugin</artifactId>
  103. <version>2.1</version>
  104. </plugin>
  105.  
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-deploy-plugin</artifactId>
  109. <version>2.8</version>
  110. <configuration>
  111. <skip>true</skip>
  112. </configuration>
  113. </plugin>
  114.  
  115. <plugin>
  116. <artifactId>maven-eclipse-plugin</artifactId>
  117. <version>2.9</version>
  118. <configuration>
  119. <downloadSources>true</downloadSources>
  120. <downloadJavadocs>true</downloadJavadocs>
  121. <wtpversion>2.0</wtpversion>
  122. <ajdtVersion>none</ajdtVersion>
  123. </configuration>
  124. </plugin>
  125.  
  126. <plugin>
  127. <artifactId>maven-antrun-plugin</artifactId>
  128. <version>1.7</version>
  129. <executions>
  130. <execution>
  131. <phase>prepare-package</phase>
  132. <configuration>
  133. <target>
  134. <copy file="${basedir}/pom-dist.xml" todir="${project.build.directory}" />
  135. <replace file="${project.build.directory}/pom-dist.xml" token="VRAPTOR_VERSION_HERE" value="${project.version}" />
  136. </target>
  137. </configuration>
  138. <goals>
  139. <goal>run</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144.  
  145. <plugin>
  146. <artifactId>maven-assembly-plugin</artifactId>
  147. <version>2.3</version>
  148. <executions>
  149. <execution>
  150. <id>distribution</id>
  151. <phase>package</phase>
  152. <configuration>
  153. <descriptors>
  154. <descriptor>assembly.xml</descriptor>
  155. </descriptors>
  156. </configuration>
  157. <goals>
  158. <goal>assembly</goal>
  159. </goals>
  160. </execution>
  161. <execution>
  162. <id>distribution-eclipse</id>
  163. <phase>package</phase>
  164. <configuration>
  165. <descriptors>
  166. <descriptor>assembly-eclipse.xml</descriptor>
  167. </descriptors>
  168. </configuration>
  169. <goals>
  170. <goal>assembly</goal>
  171. </goals>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. </plugins>
  176. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement