myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Trinidad Archetype" by GerhardPetracek
Date Thu, 03 Jan 2008 15:36:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by GerhardPetracek:
http://wiki.apache.org/myfaces/Trinidad_Archetype

------------------------------------------------------------------------------
  This archetype allows you to generate a template for a web application that uses !MyFaces
and Trinidad, based on the blank example application. So, creating the template of the application
is as easy as executing:
  
  {{{
- mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.trinidadbuild  \
+ mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools   \
-                      -DarchetypeArtifactId=myfaces-archetype-trinidad       \
+                      -DarchetypeArtifactId=myfaces-archetype-trinidad   \
-                      -DarchetypeVersion=1.0.2-SNAPSHOT                \
+                      -DarchetypeVersion=1.0-SNAPSHOT                    \
-                      -DgroupId=myAppId                               \
+                      -DgroupId=myAppId                                  \
                       -DartifactId=testApp
  }}}
  
@@ -30, +30 @@

  To be able to use the archetype the first thing you should do is to checkout the Trinidad
Archetype source from the svn, using the command:
  
  {{{
- svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/archetypes/myfaces-archetype-trinidad/
trinidad-archetype
+ svn co http://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-archetypes/myfaces-archetype-trinidad/
trinidad-archetype
  }}}
  
  Now, let's install the plugin locally (this supposes that you have maven 2.x already installed).
Navigate to the plugin root folder and use the mvn install command:
@@ -47, +47 @@

  Now, using maven (anywhere in your file system) you can create a template for an application
that uses !Trinidad using the command:
  
  {{{
- mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.trinidadbuild  \
+ mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools   \
-                      -DarchetypeArtifactId=myfaces-archetype-trinidad       \
+                      -DarchetypeArtifactId=myfaces-archetype-trinidad   \
-                      -DarchetypeVersion=incubator-m1-SNAPSHOT                 \
+                      -DarchetypeVersion=1.0-SNAPSHOT                    \
-                      -DgroupId=myAppId                               \
+                      -DgroupId=myAppId                                  \
                       -DartifactId=testApp
  }}}
  

Mime
View raw message