Author: wsmoak
Date: Sun Jul 2 06:43:34 2006
New Revision: 418593
URL: http://svn.apache.org/viewvc?rev=418593&view=rev
Log:
Rename Struts Action to Struts, change groupId to org.apache.struts.
STR-2898
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=418593&r1=418592&r2=418593&view=diff
==============================================================================
--- struts/sandbox/trunk/archetypes/action-blank/README.txt (original)
+++ struts/sandbox/trunk/archetypes/action-blank/README.txt Sun Jul 2 06:43:34
2006
@@ -1,19 +1,19 @@
-Struts Archetypes - Action Blank
+Struts Archetypes - Blank
================================
-This directory contains the Struts Action Blank Archetype for Maven 2.
+This directory contains the Struts Blank Archetype for Maven 2.
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.0-SNAPSHOT
- -DgroupId=com.example
- -DpackageName=com.example.projectname
- -DartifactId=my-webapp
+ $ mvn archetype:create \
+ -DarchetypeGroupId=org.apache.struts \
+ -DarchetypeArtifactId=struts-archetype-blank \
+ -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:
@@ -31,10 +31,10 @@
<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
+(Optional) To build and install the archetype in your local repository:
+
+ $ svn co
http://svn.apache.org/repos/asf/struts/maven/trunk/struts-archetype-blank
+ $ cd struts-archetype-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=418593&r1=418592&r2=418593&view=diff
==============================================================================
--- struts/sandbox/trunk/archetypes/action-blank/pom.xml (original)
+++ struts/sandbox/trunk/archetypes/action-blank/pom.xml Sun Jul 2 06:43:34
2006
@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.struts</groupId>
- <artifactId>struts-parent</artifactId>
- <version>2</version>
+ <artifactId>struts-master</artifactId>
+ <version>3-SNAPSHOT</version>
</parent>
- <groupId>org.apache.struts.action</groupId>
- <artifactId>struts-archetype-action-blank</artifactId>
+ <groupId>org.apache.struts</groupId>
+ <artifactId>struts-archetype-blank</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>Struts Archetypes - Action Blank</name>
+ <name>Struts Archetypes - Blank</name>
</project>
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=418593&r1=418592&r2=418593&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
Sun Jul 2 06:43:34 2006
@@ -7,9 +7,15 @@
<artifactId>${artifactId}</artifactId>
<packaging>war</packaging>
<version>${version}</version>
- <name>Struts Action Blank Archetype</name>
- <url>http://struts.apache.org/struts-action</url>
+ <name>Struts Blank Archetype</name>
+ <url>http://struts.apache.org/1.x</url>
<dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.3</version>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -17,25 +23,42 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.struts.action</groupId>
+ <groupId>org.apache.struts</groupId>
<artifactId>struts-core</artifactId>
<version>1.3.5-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.apache.struts.action</groupId>
+ <groupId>org.apache.struts</groupId>
<artifactId>struts-taglib</artifactId>
<version>1.3.5-SNAPSHOT</version>
</dependency>
<!--dependency>
- <groupId>struts</groupId>
+ <groupId>org.apache.struts</groupId>
<artifactId>struts-tiles</artifactId>
<version>1.3.5-SNAPSHOT</version>
</dependency-->
<!--dependency>
- <groupId>struts</groupId>
+ <groupId>org.apache.struts</groupId>
<artifactId>struts-extras</artifactId>
<version>1.3.5-SNAPSHOT</version>
</dependency-->
+
+ <!--dependency>
+ <groupId>org.apache.struts</groupId>
+ <artifactId>struts-el</artifactId>
+ <version>1.3.5-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.0.4</version>
+ </dependency-->
+
</dependencies>
<build>
<finalName>${artifactId}</finalName>