RevGen Archetype Plugin

Bootstraps RevGen projects with a single line command.

Requirements

The only requirements are a current version of Java (JDK 5.0 or better) and the latest version of Maven 2.

Usage

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=myapp

This 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

This tool generates:

/pom.xml
File containing the RevGen plugin and Hibernate/EJB3 dependencies needed to generate and test RevGen code.
/build.xml
Ant build file that has targets for starting and managing the Hypersonic SQL database.
/src/revgen/revgen.properties
Property file for simple configuration of RevGen.
/src/revgen/RevGenSpringConfig.xml
Spring IoC context file for extensive RevGen configuration.
/src/revgen/revgen-metadata.xml
Stub file for customizing model instance properties.