From version 1.1 >
edited by Vincent Massol
on 2013/10/28 11:42
To version < 3.1 >
edited by Vincent Massol
on 2013/10/28 11:47
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  A new archetype is now available to easily create your own product based on XWiki Enterprise. To use:
2 2  
3 -{{code}}
3 +{{code language="none"}}
4 4  mvn archetype:generate \
5 5   -DarchetypeArtifactId=xwiki-enterprise-archetype \
6 6   -DarchetypeGroupId=org.xwiki.enterprise \
... ... @@ -9,7 +9,7 @@
9 9  
10 10  You'll get asked several questions. For example:
11 11  
12 -{{code}}
12 +{{code language="none"}}
13 13  ...
14 14  Define value for property 'groupId': : com.acme
15 15  Define value for property 'artifactId': : myproject
... ... @@ -42,3 +42,14 @@
42 42   |---myproject-web
43 43  {{/code}}
44 44  
45 +{{todo}}
46 +Modify the archetype to also generate a ##myproject-ui-wiki-all## module that will have the following in its ##pom.xml##:
47 +
48 +{{code language="xml"}}
49 +<xwiki.extension.features>
50 + ${xe.ui.wiki.all.features},
51 + com.acme:myproject-ui-wiki,
52 + com.acme:myproject-ui-common
53 +</xwiki.extension.features>
54 +{{/code}}
55 +{{/todo}}

Get Connected