<
From version < 27.66 >
edited by Admin
on 2019/11/13 13:01
To version < 28.1 >
edited by Vincent Massol
on 2019/11/28 16:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Admin
1 +xwiki:XWiki.VincentMassol
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -29,7 +29,6 @@
29 29   </properties>
30 30  {{/code}}
31 31  
32 -
33 33  === Known invalid flavors
34 34  
35 35  Since 9.5 it's possible for a distribution to indicate known invalid flavors, which means flavors id known to be invalid with this distribution (a good example is XWiki Enterprise which are invalid in 9.5+).
... ... @@ -126,3 +126,21 @@
126 126   </build>
127 127  </project>
128 128  {{/code}}
128 +
129 +=== Testing ===
130 +
131 +To test a flavor you're developing follow these steps:
132 +* Build the flavor: ##mvn clean install##
133 +* Edit the ##META-INF/extension.xed## file inside the XWiki WAR you're testing with and add your flavor id and version to the list
134 + of known flavors. Note that this is a hack since normally the canonical way would be to deploy the flavor in a
135 + searchable XWiki Extensions Repository but that's a lot more complex and time-consuming.
136 + * Modify the `<xwiki.extension.knownFlavors>` tag to add the flavor id and version. For example if you wish to test the ##org.xwiki.contrib:flavor-demo/1.1-SNAPSHOT## flavor:(((
137 +{{code language='xml'}}
138 + <xwiki.extension.knownFlavors>
139 + org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki/11.10,
140 + org.xwiki.platform:xwiki-platform-distribution-flavor-wiki/11.10,
141 + org.xwiki.contrib:flavor-demo/1.1-SNAPSHOT</xwiki.extension.knownFlavors>
142 +{{/code}}
143 +* Add your local Maven repository as an Extension repository in the XWiki instance.
144 +* Start or restart XWiki.
145 +
Last version
... ... @@ -1,1 +1,1 @@
1 -11.9
1 +11.10
Properties
... ... @@ -1,5 +1,5 @@
1 -maven.groupid=org.xwiki.platform maven.artifactid=xwiki-platform-flavor-api maven.Model=org.xwiki.platform:xwiki-platform-flavor-api:jar:11.9 xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[11.9] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[11.9],
2 - org.xwiki.rendering:.*/[11.9],
3 - org.xwiki.platform:.*/[11.9] xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[11.9],
4 - org.xwiki.rendering:.*/[11.9],
5 - org.xwiki.platform:.*/[11.9]
1 +maven.groupid=org.xwiki.platform maven.artifactid=xwiki-platform-flavor-api maven.Model=org.xwiki.platform:xwiki-platform-flavor-api:jar:11.10 xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[11.10] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[11.10],
2 + org.xwiki.rendering:.*/[11.10],
3 + org.xwiki.platform:.*/[11.10] xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[11.10],
4 + org.xwiki.rendering:.*/[11.10],
5 + org.xwiki.platform:.*/[11.10]
ExtensionCode.ExtensionDependencyClass[296]
Dependency version constraint
... ... @@ -1,0 +1,1 @@
1 +11.10
Extension version
... ... @@ -1,0 +1,1 @@
1 +11.10
Dependency id
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.commons:xwiki-commons-extension-api
Repositories
... ... @@ -1,0 +1,1 @@
1 +maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
ExtensionCode.ExtensionDependencyClass[297]
Dependency version constraint
... ... @@ -1,0 +1,1 @@
1 +11.10
Extension version
... ... @@ -1,0 +1,1 @@
1 +11.10
Dependency id
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.platform:xwiki-platform-extension-script
Repositories
... ... @@ -1,0 +1,1 @@
1 +maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
ExtensionCode.ExtensionDependencyClass[298]
Dependency version constraint
... ... @@ -1,0 +1,1 @@
1 +11.10
Extension version
... ... @@ -1,0 +1,1 @@
1 +11.10
Dependency id
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.platform:xwiki-platform-rest-api
Repositories
... ... @@ -1,0 +1,1 @@
1 +maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
ExtensionCode.ExtensionVersionClass[104]
Download URL
... ... @@ -1,0 +1,1 @@
1 +extension:org.xwiki.platform%3Axwiki-platform-flavor-api/11.10?rid=maven-xwiki
id
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.platform:xwiki-platform-flavor-api
Repositories
... ... @@ -1,0 +1,1 @@
1 +maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
Version
... ... @@ -1,0 +1,1 @@
1 +11.10

Get Connected