Committed.
On Dec 28, 2012, at 7:19 AM, Anonymous CMS User <anonym...@apache.org> wrote: > Clone URL (Committers only): > https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://openejb.apache.org/tomee-mp-getting-started.mdtext > > > > Index: trunk/content/tomee-mp-getting-started.mdtext > =================================================================== > --- trunk/content/tomee-mp-getting-started.mdtext (revision 1426368) > +++ trunk/content/tomee-mp-getting-started.mdtext (working copy) > @@ -1,11 +1,12 @@ > Title: TomEE Maven Plugin > + > # Generating a TomEE-Project with Maven > > TomEE provides a maven-archetype for generating a maven based project. This > template-project is preconfigured with `javaee-api` (scope provided) and with > the `tomee-maven-plugin` for starting the application with TomEE. > > The current version of the archetype is '1.0.1'. So the needed command to > generate an application is: > > - mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven > -DarchetypeArtifactId=tomee-wapp-archetype -DarchetypeVersion=1.0.1 > + mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven > -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.0.1 > > The first time you run this command maven downloads the archetype and some > parts related to it. Afterwards you see a prompt which allows you to specify > the groupId, artifactId, version and package of your application. > If you are using 'tomee' as groupId, 'tomee-demo' as artifactId, '1.0' as > version and 'myapp' as package, your console should show something like: >