Author: sboscarine
Date: 2010-05-23 22:16:36 -0400 (Sun, 23 May 2010)
New Revision: 6287
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
Log:
Updated to use spec poms
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2010-05-21
22:47:38 UTC (rev 6286)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2010-05-24
02:16:36 UTC (rev 6287)
@@ -28,10 +28,7 @@
-->
<jboss.home>${expr_start}env.JBOSS_HOME${expr_end}</jboss.home>
<jboss.domain>default</jboss.domain>
- <!-- The version of Weld extensions in use -->
- <weld.extensions.version>1.0.0-CR2</weld.extensions.version>
</properties>
-
<repositories>
<!-- Several key Java EE APIs and RIs are missing from the Maven Central
Repository -->
<!-- The goal is to eventually eliminate the reliance on the JBoss repository
-->
@@ -50,46 +47,14 @@
<
url>http://download.java.net/maven/glassfish</url>
</pluginRepository>
</pluginRepositories>
-
- <dependencyManagement>
- <dependencies>
- <!-- Import scope will provide versions for dependencies below. -->
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions-bom</artifactId>
-
<version>${expr_start}weld.extensions.version${expr_end}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
- <!-- CDI (JSR-299) -->
<dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee_6.0_spec</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
+ <type>pom</type>
</dependency>
- <!-- EJB -->
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <scope>provided</scope>
- <version>3.1.0</version>
- </dependency>
- <!-- Common annotations (e.g., @PostConstruct, @PreDestroy, @Generated,
@Resource) -->
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Bean Validation (JSR-303) -->
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <scope>provided</scope>
- </dependency>
<!-- Bean Validation Implementation -->
<!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
<!-- Hibernate Validator is the only JSR-303 implementation at the moment, so we
can assume it's provided -->
@@ -99,18 +64,6 @@
<version>4.0.0.GA</version>
<scope>provided</scope>
</dependency>
- <!-- JSF -->
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- JPA -->
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <scope>provided</scope>
- </dependency>
<!-- Optional, but highly recommended. -->
<dependency>
@@ -120,22 +73,6 @@
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
-
- <!-- Needed on JBoss AS as EL is out of date -->
- <dependency>
- <groupId>org.glassfish.web</groupId>
- <artifactId>el-impl</artifactId>
- <scope>runtime</scope>
- <!-- FIXME this version should be in the Weld API BOM -->
- <version>2.1.2-b04</version>
- <exclusions>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
</dependencies>
<build>
<finalName>${expr_start}artifactId${expr_end}</finalName>
@@ -155,11 +92,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
- <wtpversion>2.0</wtpversion>
- <!--
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
- -->
</configuration>
</plugin>
@@ -175,7 +109,6 @@
</fileNames>
</configuration>
</plugin>
-
</plugins>
</build>
</project>