Skip to content

sireeshal/RestExpress-Archetype

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestExpress Archetypes

  • minimal - a minimal RestExpress server
  • mongodb - a mongodb-backed service suite.

Usage

To create a new RestExpress project using one of these archetypes, use the Maven archetype plugin with the 'generate' goal. To create a mongodb-based project interactively:

mvn archetype:generate -DarchetypeGroupId=com.strategicgains.archetype -DarchetypeArtifactId=restexpress-scaffold-mongodb -DarchetypeVersion=1.5

For a minimal skeleton interactively, use the following:

mvn archetype:generate -DarchetypeGroupId=com.strategicgains.archetype -DarchetypeArtifactId=restexpress-scaffold-minimal -DarchetypeVersion=1.5

Scripts

Alternatively, there are corresponding scripts with each of these archetypes to simplify their usage. These are found in the scripts/ directory:

Running the scripts has the same effect as copying the above maven commands and pasting them into your console window. But is, arguably, easier to use if you happen to create a number of new projects.

Release

To release a new version of these archetypes to the central Maven repository, perform the following:

mvn release:clean
mvn release:prepare
mvn release:perform

About

Maven artifact to create RestExpress projects quickly.

Resources

Stars

Watchers

Forks

Packages

No packages published