Author: dblevins
Date: Sat Dec 29 18:51:33 2012
New Revision: 1426804
URL: http://svn.apache.org/viewvc?rev=1426804&view=rev
Log:
Anonymous patch to fix minor typo
Modified:
openejb/site/trunk/content/tomee-mp-getting-started.mdtext
Modified: openejb/site/trunk/content/tomee-mp-getting-started.mdtext
URL:
http://svn.apache.org/viewvc/openejb/site/trunk/content/tomee-mp-getting-started.mdtext?rev=1426804&r1=1426803&r2=1426804&view=diff
==============================================================================
--- openejb/site/trunk/content/tomee-mp-getting-started.mdtext (original)
+++ openejb/site/trunk/content/tomee-mp-getting-started.mdtext Sat Dec 29
18:51:33 2012
@@ -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: