cogMaven plugin to build XFF packages
Developed by

XWiki Development Team

Active Installs0
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


Maven plugin to build XFF packages


With the Maven Plugin for XFF, you'll be able to build your XFF packages with Maven.  Better have an example than long description.



This is what your pom.xml should look like.

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
 <name>My Application</name>
 <description>My simple application</description>
   <!-- Needed to add support for the XFF packaging -->

The files

Once you have your pom.xml, you can put files in your folder src/main/resources.  For example, imagine you want something very simple, only the description of a page (with some specific configurations for the space and the wiki), then your folder would look like the following.

└── main/
    └── resources/
        └── wikis/
            └── xwiki/
                ├── wiki.xml
                └── spaces/
                    └── Space/
                        ├── space.xml
                        └── pages/
                            └── Page/
                                └── page.xml

You'll find more information about XFF format in the page XFF filter.

Build it

It's Maven, so may just run

mvn package

Then you'll find your XFF package in the target directory.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.contrib:xff-maven-plugin 0.4.0):

Created by Jean SIMARD on 2015/11/30 17:36

Get Connected