Changes for page Creating XWiki Components

Last modified by Simon Urli on 2023/10/10

From version 37.1
edited by Vincent Massol
on 2010/11/15
Change comment: Deletion of attachment xwiki-archetype-velocity-component-1.0-SNAPSHOT.jar
To version 37.2
edited by Sergiu Dumitriu
on 2010/11/18
Change comment: Typos

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.Sergiu
Content
... ... @@ -16,12 +16,14 @@
16 16  
17 17  As you've read in the [[XWiki Component Reference>>code:Modules.ComponentModule]] writing a component is a three-streps process (component interface, component implementation, registration of component). To make it easier for you to get started, we have created a maven archetype to help create a simple component module with a single command.
18 18  
19 -After you've [installed Maven>http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven], open a shell prompt an type:
19 +After you've [[installed Maven>>dev:Community.Building#HInstallingMaven]], open a shell prompt an type:
20 +
20 20  {{code language="none"}}
21 21   mvn archetype:generate -DarchetypeCatalog=http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xwiki-archetypes/xwiki-archetype-component/archetype-catalog.xml
22 22  {{/code}}
23 23  
24 24  Then follow the instructions. For example:
26 +
25 25  {{code language="none"}}
26 26  vmassol@target $ mvn archetype:generate -DarchetypeCatalog=http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xwiki-archetypes/xwiki-archetype-component/archetype-catalog.xml
27 27  [INFO] Scanning for projects...

Get Connected