Author: wsmoak
Date: Wed May 31 18:53:27 2006
New Revision: 410713

URL: http://svn.apache.org/viewvc?rev=410713&view=rev
Log:
Update the Struts Action Blank archetype version and dependencies.

Modified:
    struts/sandbox/trunk/archetypes/action-blank/README.txt
    struts/sandbox/trunk/archetypes/action-blank/pom.xml
    
struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml

Modified: struts/sandbox/trunk/archetypes/action-blank/README.txt
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/README.txt?rev=410713&r1=410712&r2=410713&view=diff
==============================================================================
--- struts/sandbox/trunk/archetypes/action-blank/README.txt (original)
+++ struts/sandbox/trunk/archetypes/action-blank/README.txt Wed May 31 18:53:27 
2006
@@ -4,22 +4,17 @@
 
 This directory contains the Struts Action Blank Archetype for Maven 2.
 
-To build and install the archetype in your local repository:
-
-   $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes
-   $ cd archetypes/action-blank
-   $ mvn install
-   
 To use the archetype to create a blank project:
 
    $ cd ~/projects
    $ mvn archetype:create 
          -DarchetypeGroupId=org.apache.struts.action
          -DarchetypeArtifactId=struts-archetype-action-blank 
-         -DarchetypeVersion=1.3.2-SNAPSHOT
+         -DarchetypeVersion=1.0-SNAPSHOT
          -DgroupId=com.example
          -DpackageName=com.example.projectname
          -DartifactId=my-webapp
+         
-DremoteRepositories=http://people.apache.org/maven-snapshot-repository
          
 To build your new webapp:
 
@@ -33,6 +28,13 @@
          <groupId>org.codehaus.cargo</groupId>
          <artifactId>cargo-maven2-plugin</artifactId>
          ...
-               <home>c:/java/apache-tomcat-5.5.15</home>
+               <home>c:/java/apache-tomcat-5.5.17</home>
 
   $ mvn package cargo:start
+  
+To build and install the archetype in your local repository:
+
+   $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes
+   $ cd archetypes/action-blank
+   $ mvn install
+

Modified: struts/sandbox/trunk/archetypes/action-blank/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/pom.xml?rev=410713&r1=410712&r2=410713&view=diff
==============================================================================
--- struts/sandbox/trunk/archetypes/action-blank/pom.xml (original)
+++ struts/sandbox/trunk/archetypes/action-blank/pom.xml Wed May 31 18:53:27 
2006
@@ -3,9 +3,14 @@
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 
    <modelVersion>4.0.0</modelVersion>
+   <parent>
+      <groupId>org.apache.struts</groupId>
+      <artifactId>struts-parent</artifactId>
+      <version>2</version>
+   </parent>
    <groupId>org.apache.struts.action</groupId>
    <artifactId>struts-archetype-action-blank</artifactId>
-   <version>1.3.3-SNAPSHOT</version>
+   <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <name>Struts Archetypes - Action Blank</name>
 

Modified: 
struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml?rev=410713&r1=410712&r2=410713&view=diff
==============================================================================
--- 
struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml
 Wed May 31 18:53:27 2006
@@ -8,7 +8,7 @@
    <packaging>war</packaging>
    <version>${version}</version>
    <name>Struts Action Blank Archetype</name>
-   <url>http://struts.apache.org</url>
+   <url>http://struts.apache.org/struts-action</url>
    <dependencies>
       <dependency>
          <groupId>junit</groupId>
@@ -19,17 +19,22 @@
       <dependency>
          <groupId>org.apache.struts.action</groupId>
          <artifactId>struts-core</artifactId>
-         <version>1.3.3-SNAPSHOT</version>
+         <version>1.3.5-SNAPSHOT</version>
       </dependency>
       <dependency>
          <groupId>org.apache.struts.action</groupId>
          <artifactId>struts-taglib</artifactId>
-         <version>1.3.3-SNAPSHOT</version>
+         <version>1.3.5-SNAPSHOT</version>
       </dependency>
       <!--dependency>
          <groupId>struts</groupId>
          <artifactId>struts-tiles</artifactId>
-         <version>1.3.0-SNAPSHOT</version>
+         <version>1.3.5-SNAPSHOT</version>
+      </dependency-->
+      <!--dependency>
+         <groupId>struts</groupId>
+         <artifactId>struts-extras</artifactId>
+         <version>1.3.5-SNAPSHOT</version>
       </dependency-->
    </dependencies>
    <build>
@@ -41,7 +46,7 @@
              <configuration>
                 <container>
                    <containerId>tomcat5x</containerId>
-                   <home>c:/java/apache-tomcat-5.5.15</home>
+                   <home>c:/java/apache-tomcat-5.5.17</home>
                    <log>target/tomcat5x.log</log>
                    <output>target/tomcat5x.out</output>
                 </container>
@@ -52,5 +57,18 @@
           </plugin>
       </plugins>
    </build>
+   
+   <!-- Remove this section before releasing the archetype.
+        It is only required when using snapshots that can't be retrieved
+        from the default central Maven repository. -->
+   <repositories>
+      <repository>
+         <id>apache.snapshots</id>
+         <name>Apache Maven Repository (Snapshots and Test Builds)</name>
+         <url>http://cvs.apache.org/maven-snapshot-repository</url>
+         <releases><enabled>true</enabled></releases>
+         <snapshots><enabled>true</enabled></snapshots>
+      </repository>
+   </repositories>
 
 </project>


Reply via email to