The archetype moved to https://github.com/xwiki-contrib/xwiki-enterprise-archetype after 9.1 and is not sync with XE versions anymore.

A new archetype is now available to easily create your own product based on XWiki Enterprise. To use:

mvn archetype:generate \
  -DarchetypeArtifactId=xwiki-enterprise-archetype \
  -DarchetypeGroupId=org.xwiki.enterprise \
  -DarchetypeVersion=5.3-milestone-1

You'll get asked several questions. For example:

...
Define value for property 'groupId': : com.acme
Define value for property 'artifactId': : myproject
Define value for property 'version':  1.0-SNAPSHOT: :
Define value for property 'package':  com.acme: :
Define value for property 'projectName': : My Extra Project
Define value for property 'xwikiVersion': : 5.2
...

Note that the xwikiVersion is the version of XE you wish to depend on.

This generates a project with the following structure:

   |-myproject
   |---myproject-data
   |-----myproject-data-hsqldb
   |-------src
   |---------assemble
   |---myproject-distribution
   |-----myproject-jetty
   |-------myproject-jetty-hsqldb
   |---------src
   |-----------assemble
   |---myproject-ui
   |-----myproject-ui-common
   |-----myproject-ui-mainwiki
   |-----myproject-ui-wiki
   |---myproject-web
Unknown macro: todo.
Tags:
   

Get Connected