Author: sboscarine
Date: 2010-06-15 23:25:29 -0400 (Tue, 15 Jun 2010)
New Revision: 6437
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
Log:
first round of archetypes revamp
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2010-06-16
02:34:46 UTC (rev 6436)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml 2010-06-16
03:25:29 UTC (rev 6437)
@@ -14,12 +14,13 @@
<properties>
<!--
- Explicitly declaring the source encoding eliminates the following message:
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
+ Explicitly declaring the source encoding eliminates the following message:
[WARNING] Using platform encoding
+ (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--
- Timestamp format for the maven.build.timestamp property; you can reference
property in pom.xml or filtered resources (must enable third-party plugin if using Maven
< 2.1)
+ Timestamp format for the maven.build.timestamp property; you can reference
property in pom.xml or filtered
+ resources (must enable third-party plugin if using Maven < 2.1)
-->
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
<!--
@@ -29,16 +30,25 @@
<jboss.home>${expr_start}env.JBOSS_HOME${expr_end}</jboss.home>
<jboss.domain>default</jboss.domain>
</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
-->
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <
url>http://repository.jboss.org/maven2</url>
- </repository>
+ <!-- Optional Repository. -->
+ <!-- Soon all required dependencies will be pushed to maven central. -->
+ <!-- In the mean time, we need to point this archetype to the JBoss Maven
Repository -->
+ <repository>
+ <id>jboss-public-repository</id>
+ <name>JBoss Repository</name>
+ <
url>https://repository.jboss.org/nexus/content/groups/public</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
+ </snapshots>
+ </repository>
</repositories>
-
<pluginRepositories>
<!-- GlassFish repository required for embedded-glassfish plugin -->
<pluginRepository>
@@ -51,7 +61,7 @@
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
- <version>1.0.0.Beta4</version>
+ <version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
<type>pom</type>
</dependency>
@@ -69,7 +79,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <version>5.10</version>
+ <version>5.11</version>
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
@@ -106,7 +116,7 @@
<serverName>${expr_start}jboss.domain${expr_end}</serverName>
<fileNames>
<fileName>${expr_start}project.build.directory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
- </fileNames>
+ </fileNames>
</configuration>
</plugin>
</plugins>