Issues using Extension Maven Plugin

I’ve followed this tutorial to create an XIP of jira to be able to be installed to a offline xwiki deployment. I was successful in getting maven to build the XIP for jira; however, when I try to recreate this process with another extension, in this case MediaWiki, I get an unknown packaging error.

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unknown packaging: xip @ line 30, column 14
[WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. @
[ERROR] The build could not read 1 project → [Help 1]
[ERROR] The project org.xwiki.contrib.mediawiki:mediawiki-xml-xip:1.13.5 (/home/administrator/mediawiki/mediawiki-xml-xip/pom.xml) has 1 error
[ERROR] Unknown packaging: xip @ line 30, column 14
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] ProjectBuildingException - Apache Maven - Apache Software Foundation

This error is thrown after this DEBUG line.

Looking up lifecycle mappings for packaging xip from ClassRealm[project>org.xwiki.contrib.mediawiki:mediawiki-xml-xip:1.13.5, parent: ClassRealm[maven.api, parent: null]]

My pom.xml for the mediawiki-xml extension, that I am trying to build to an XIP looks like this.

 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site:

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
  <name>MediaWiki - XIP</name>
  <description>XIP for offline installation of MediaWiki XML</description>
              <!-- We exclude what is already in the XWiki Standard WAR -->

I know that the Extension Maven Plugin has something to do with my issue, I’m not sure if I need to download something else or move the location of my pom. This pom worked perfectly fine with jira, no changes where made on the build portion of the pom when I copied it over.

Help is greatly appreciated as I am not well versed in Maven. Thanks again!

The problem is that the tutorial you followed assumes the pom you use as parent knows about the XIP package, but this is actually not the case of the MediaWiki project, which support a very old version of XWiki (which does not know about XIP).

I added an example which is more oriented for the use case of creating a XIP package for an already released extensions on

That did the trick, thank you for your help!