Author: wsmoak
Date: Sun Jul  2 05:55:41 2006
New Revision: 418589

URL: http://svn.apache.org/viewvc?rev=418589&view=rev
Log:
Changed the groupId back to 'org.apache.struts'. (See: r418556)
Updated the instructions after publishing a snapshot of the archetype.

Modified:
    struts/struts2/trunk/archetype/README.txt
    struts/struts2/trunk/archetype/pom.xml
    
struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml

Modified: struts/struts2/trunk/archetype/README.txt
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/README.txt?rev=418589&r1=418588&r2=418589&view=diff
==============================================================================
--- struts/struts2/trunk/archetype/README.txt (original)
+++ struts/struts2/trunk/archetype/README.txt Sun Jul  2 05:55:41 2006
@@ -13,27 +13,28 @@
 
 USAGE
 =====
-- change directory to SAF2's maven archetype directory eg. from SAF2's root 
directory
-  cd ./archetype   <press enter>
-
-- run the following command to install SAF2 maven archetype into the local 
repository
-  mvn install 
-
-- change directory to where the web app template is to be created eg. assuming 
the directory to be myWebApp.
-  mkdir /home/tmjee/myWebApp
-  cd /home/tmjee/myWebApp
 
+- change directory to where the web app template is to be created,
+  for example, a 'projects' directory (which you may need to create):
+  
+     cd /home/tmjee/projects
+  
 - run the following command to generate the sample web app templatem, assuming 
:-
     - root java package -> com.myCompany.mySystem
-
+
     - the webapp war name   ->  myWebApp
-
 
-  mvn archetype:create -DgroupId=com.myCompany.mySystem -DartifactId=myWebApp 
-DarchetypeGroupId=org.apache.struts2 
-DarchetypeArtifactId=struts2-archetype-quickstart
+
+  mvn archetype:create -DgroupId=com.myCompany.mySystem \
+                       -DartifactId=myWebApp \
+                       -DarchetypeGroupId=org.apache.struts \
+                       -DarchetypeArtifactId=struts2-archetype-quickstart \
+                       -DarchetypeVersion=1.0-SNAPSHOT \
+                       
-DremoteRepositories=http://people.apache.org/maven-snapshot-repository
 
 THis will create the sample Web app template
 
-- to complile execute
+- to compile, execute
   mvn compile
 
 - to run test cases execute

Modified: struts/struts2/trunk/archetype/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/pom.xml?rev=418589&r1=418588&r2=418589&view=diff
==============================================================================
--- struts/struts2/trunk/archetype/pom.xml (original)
+++ struts/struts2/trunk/archetype/pom.xml Sun Jul  2 05:55:41 2006
@@ -1,8 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <project>
+  <parent>
+    <groupId>org.apache.struts</groupId>
+    <artifactId>struts-master</artifactId>
+    <version>3-SNAPSHOT</version>
+  </parent>
+
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.apache.struts2</groupId>
   <artifactId>struts2-archetype-quickstart</artifactId>
   <version>1.0-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>

Modified: 
struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml?rev=418589&r1=418588&r2=418589&view=diff
==============================================================================
--- 
struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml 
(original)
+++ 
struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml 
Sun Jul  2 05:55:41 2006
@@ -167,6 +167,7 @@
     </repositories>
     
     <build>
+      <finalName>${artifactId}</finalName>
        <plugins>
                <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>


Reply via email to