Skip to content

Latest commit

 

History

History

maven-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Furnace Maven Plugin project

Summary

The Furnace Maven Plugin provides a clean Maven integration with Furnace.

Note
due to https://issues.jboss.org/browse/FORGE-1034, this plugin only runs in Maven 3.1.0

Features

Deploy addons to a specific repository

You can install addons into a specific repository during build time, thus avoiding the need to store addons JARs in your SCM.

Add the following to your pom.xml:

<plugin>
   <groupId>org.jboss.furnace</groupId>
   <artifactId>furnace-maven-plugin</artifactId>
   <version>${furnace.version}</version>
   <executions>
      <execution>
         <id>deploy-addons</id>
         <phase>prepare-package</phase>
         <goals>
            <goal>addon-install</goal>
         </goals>
         <configuration>
            <addonRepository>${basedir}/addon-repository</addonRepository>
            <addonIds>
               <addonId>org.jboss.forge:addon-manager,${version.forge}</addonId>
               <addonId>org.jboss.forge:maven,${version.forge}</addonId>
               <addonId>org.jboss.forge:projects,${version.forge}</addonId>
            </addonIds>
         </configuration>
      </execution>
   </executions>
</plugin>
Generate DOT file

Allows generation of a DOT (graph description language) from the addon dependencies. This goal also allows attaching of the DOT file as a new artifact to the build reactor.

Add the following to your pom.xml:

<plugin>
   <groupId>org.jboss.furnace</groupId>
   <artifactId>furnace-maven-plugin</artifactId>
   <version>${furnace.version}</version>
   <executions>
      <execution>
         <id>generate-dot</id>
         <phase>prepare-package</phase>
         <goals>
            <goal>generate-dot</goal>
         </goals>
         <configuration>
            <attach>true</attach>
         </configuration>
      </execution>
   </executions>
</plugin>