Wednesday, 23 May 2007

Maven archetype for echo2 application

While testing echo2
I searched for a maven archetype which creates an initial echo2 application..,
and did not find one.

So I made one available at
http://maven-repository.banapple.de/de/banapple/maven/archetype/

If you are interested download the jar and install it in your local maven repository and then
create your echo2 app with

# mvn archetype:create \
-DarchetypeGroupId=de.banapple.maven.archetype \
-DarchetypeArtifactId=echo2 \
-DarchetypeVersion=1.0-SNAPSHOT \
-DgroupId=<your groupId here> \
-DartifactId=<your artifactId here>


Change to the newly created directy and test the application with

# mvn jetty:run


This starts a jetty server on port 8080 in which the application runs.

The archetype uses echo2 libraries which are deployed on
maven-repository.banapple.de, too.

1 comment:

Mikegr said...

For those who are not very familiar with installing archetypes (like me):

mvn install:install-file -DgroupId=de.banapple.maven.archetype -DartifactId=echo2
-Dversion=1.0-SNAPSHOT
-Dpackaging=jar -Dfile=echo2-1.0-20070523.214628-1.jar