Changes for page XWiki Contrib
Last modified by Vincent Massol on 2024/04/11 10:44
From version 52.2
edited by Vincent Massol
on 2014/07/18 11:23
on 2014/07/18 11:23
Change comment:
There is no comment for this version
To version 53.1
edited by Vincent Massol
on 2014/07/18 16:30
on 2014/07/18 16:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -300,6 +300,17 @@ 300 300 301 301 You'll also need to set the SCM information since using the Maven Release plugin will require those to be set. 302 302 303 +If you've modified the ##groupId## or ##artifactId## of the extension you need to tell it to the Extension Manager so that it can handle upgrades and understand it's the same extension being upgraded. For example if the extension previously had an extension id of ##tdelafosse:meeting-application## and you're now using another id, you need to add the following property to your ##pom.xml##: 304 + 305 +{{code language="xml"}} 306 +<properties> 307 +... 308 + <!-- Old names of this module used for retro compatibility when resolving dependencies of old extensions --> 309 + <xwiki.extension.features>tdelafosse:meeting-application</xwiki.extension.features> 310 +... 311 +</properties> 312 +{{/code}} 313 + 303 303 {{info}} 304 304 In addition you need to pay attention to the version of the dependencies you're going to use (for example the parent POM dependency to ##org.xwiki.commons:xwiki-commons-pom##). If you wish your extension to be used by the maximum number of XWiki users you need to use the oldest dependencies version for which you extension still works. This is because your extension will only be able to be installed in XWiki versions satisfying those dependencies you expressed. 305 305 {{/info}}