Bootstraps RevGen projects with a single line command.
The only requirements are a current version of Java (JDK 5.0 or better) and the latest version of Maven 2.
Copy the following command and paste it into your console:
mvn archetype:create -DarchetypeGroupId=org.javagen.revgen -DarchetypeArtifactId=maven-archetype-revgen -DarchetypeVersion=1.0-SNAPSHOT -DremoteRepositories=http://www.javagen.com/maven/ -DgroupId=org.javagen.revgen.examples -DartifactId=myapp
Here is the more readable version of the same command:
mvn archetype:create
-DarchetypeGroupId=org.javagen.revgen \
-DarchetypeArtifactId=maven-archetype-revgen \
-DarchetypeVersion=1.0-SNAPSHOT \
-DremoteRepositories=http://www.javagen.com/maven/
-DgroupId=org.javagen.revgen.examples \
-DartifactId=myappThis will generate the build for an application named myapp.
See the quick start documentation on the RevGen site for tips on getting started.
If you have a problem, update the archetype plugin and try again:
mvn -U archetype:create
Or use Ant to download RevGen dependencies:
ant getRevgen