ExtensionPlugin

Version 1.1 by Thomas Mortagne on 2016/11/10 11:11

Various extension oriented mojos for Maven build.

WAR Mojo

Generate a complete extension descriptor (.xed file) for all the jars packaged in a WAR (next to each one) as well as for the WAR itself (in /META-INF/).

To execute it:

      <plugin>
       <groupId>org.xwiki.commons</groupId>
       <artifactId>xwiki-commons-tool-extension-plugin</artifactId>
       <executions>
         <execution>
           <goals>
             <goal>war</goal>
           </goals>
         </execution>
       </executions>
     </plugin>

Register Mojo

Generate complete extension descriptor (.xed file) for the current artifact in /META-INF/.

      <plugin>
       <groupId>org.xwiki.commons</groupId>
       <artifactId>xwiki-commons-tool-extension-plugin</artifactId>
       <executions>
         <execution>
           <goals>
             <goal>register</goal>
           </goals>
         </execution>
       </executions>
     </plugin>
Tags:
   

Get Connected