Create Java project with Maven archetype sakai-wicket-maven-archetype

The Sakai Wicket Maven Archetype allows you to generate a sample Sakai app via a single Maven command. The app is based on Apache Wicket which integrates nicely with Sakai. The app demonstrates how to get a Sakai tool styled, internationalised and registered, setup your own APIs, wire them up with Spring and inject them via annotations. The 1.1 and up releases also include multi database support via Spring JDBC. It could easily be used as a base for a real tool.

Create a Java Project by archetype sakai-wicket-maven-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="org.sakaiproject.maven-archetype"   -DarchetypeArtifactId="sakai-wicket-maven-archetype"   -DarchetypeVersion="1.5.0-rc1"   -DinteractiveMode=false 

Generated Project modules

  • ${rootArtifactId}-tool
  • ${rootArtifactId}-api
  • ${rootArtifactId}-impl
  • ${rootArtifactId}-pack

Details about maven archetype sakai-wicket-maven-archetype

GroupId

GroupId

org.sakaiproject.maven-archetype
ArtifactId

ArtifactId

sakai-wicket-maven-archetype
Version

Version

1.5.0-rc1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-wicket-maven-archetype -DarchetypeVersion=1.5.0-rc1 -DinteractiveMode=false