Changes for page Creating XWiki Components

Last modified by Simon Urli on 2023/10/10

<
From version < 64.1 >
edited by Vincent Massol
on 2015/10/17
To version < 64.2 >
edited by Vincent Massol
on 2015/10/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -425,9 +425,11 @@
425 425  The advantage over the Manual way is that you don't need to regularly start/stop your XWiki instance and thus you don't occur the start wait times.
426 426  
427 427  * Have a running XWiki instance configured with a local Extension Repository pointing to your Maven local Repository. Edit ##xwiki.properties## and make sure you have the following set:(((
428 +{{code language="none"}}
428 428  extension.repositories=local:maven:file://${sys:user.home}/.m2/repository
429 429  extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
430 430  extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
432 +{{/code}}
431 431  )))
432 432  * Build your component and deploy it in your local Maven repository with ##mvn install##
433 433  * Inside your running XWiki instance, go to the Extension Manager in the Admin UI (e.g. ##{{{http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=XWiki.AddExtensions}}}##) and click on Advanced Search and enter your extension's id and version and follow the instructions

Get Connected