PageRenderTime 45ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/jboss-as-7.1.1.Final/weld/pom.xml

#
XML | 205 lines | 148 code | 31 blank | 26 comment | 0 complexity | 7aeb950490cac9697cdd461d4e003248 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2010, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <project xmlns="http://maven.apache.org/POM/4.0.0"
  24. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  25. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  26. <modelVersion>4.0.0</modelVersion>
  27. <parent>
  28. <groupId>org.jboss.as</groupId>
  29. <artifactId>jboss-as-parent</artifactId>
  30. <version>7.1.1.Final</version>
  31. </parent>
  32. <groupId>org.jboss.as</groupId>
  33. <artifactId>jboss-as-weld</artifactId>
  34. <version>7.1.1.Final</version>
  35. <name>JBoss Application Server: Weld Integration</name>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-surefire-plugin</artifactId>
  41. <configuration>
  42. <enableAssertions>true</enableAssertions>
  43. </configuration>
  44. </plugin>
  45. <!-- Big complex hack just to get @Resource(lookup="foo") -->
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-dependency-plugin</artifactId>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>copy</goal>
  53. </goals>
  54. <configuration>
  55. <artifactItems>
  56. <artifactItem>
  57. <groupId>org.jboss.spec.javax.annotation</groupId>
  58. <artifactId>jboss-annotations-api_1.1_spec</artifactId>
  59. </artifactItem>
  60. </artifactItems>
  61. <outputDirectory>${project.build.directory}/endorsed</outputDirectory>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <configuration>
  70. <!-- Seems like a hacky way to pass multiple arguments, but it's the only way it worked. -->
  71. <fork>true</fork>
  72. <compilerArgument>-Djava.endorsed.dirs=${project.build.directory}/endorsed" "-AgeneratedTranslationFilesPath=${project.build.directory}/generated-translation-files</compilerArgument>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. <dependencies>
  78. <dependency>
  79. <groupId>javax.validation</groupId>
  80. <artifactId>validation-api</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.hibernate.javax.persistence</groupId>
  84. <artifactId>hibernate-jpa-2.0-api</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.jboss.as</groupId>
  88. <artifactId>jboss-as-ee</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.jboss.as</groupId>
  92. <artifactId>jboss-as-ejb3</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.jboss.as</groupId>
  96. <artifactId>jboss-as-jpa</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.jboss.as</groupId>
  100. <artifactId>jboss-as-naming</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.jboss.as</groupId>
  104. <artifactId>jboss-as-server</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.jboss.as</groupId>
  108. <artifactId>jboss-as-transactions</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.jboss.as</groupId>
  112. <artifactId>jboss-as-web</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.jboss.metadata</groupId>
  116. <artifactId>jboss-metadata-web</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.jboss.logging</groupId>
  120. <artifactId>jboss-logging</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.jboss.logging</groupId>
  124. <artifactId>jboss-logging-processor</artifactId>
  125. <!-- This is a compile-time dependency of this project, but is not needed at compile or runtime by other
  126. projects that depend on this project.-->
  127. <scope>provided</scope>
  128. <optional>true</optional>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.jboss.msc</groupId>
  132. <artifactId>jboss-msc</artifactId>
  133. </dependency>
  134. <!-- Needed for @Resource(lookup=) -->
  135. <dependency>
  136. <groupId>org.jboss.spec.javax.annotation</groupId>
  137. <artifactId>jboss-annotations-api_1.1_spec</artifactId>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.jboss.spec.javax.faces</groupId>
  141. <artifactId>jboss-jsf-api_2.1_spec</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.jboss.spec.javax.servlet.jsp</groupId>
  145. <artifactId>jboss-jsp-api_2.2_spec</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.jboss.spec.javax.transaction</groupId>
  149. <artifactId>jboss-transaction-api_1.1_spec</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.jboss.weld</groupId>
  153. <artifactId>weld-api</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.jboss.weld</groupId>
  157. <artifactId>weld-core</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.jboss.weld</groupId>
  161. <artifactId>weld-spi</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>junit</groupId>
  165. <artifactId>junit</artifactId>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.jboss.as</groupId>
  170. <artifactId>jboss-as-subsystem-test</artifactId>
  171. <scope>test</scope>
  172. </dependency>
  173. </dependencies>
  174. </project>