Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/tomee-mp-getting-started.mdtext
Index: trunk/content/tomee-mp-getting-started.mdtext =================================================================== --- trunk/content/tomee-mp-getting-started.mdtext (revision 1486495) +++ trunk/content/tomee-mp-getting-started.mdtext (working copy) @@ -4,9 +4,9 @@ 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: +The current version of the archetype is '1.5.2'. So the needed command to generate an application is: - mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.0.1 + mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.5.2 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:
