- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="attach-modules",
defaultPhase=PACKAGE,
requiresDependencyCollection=COMPILE)
public class AttachModulesMojo
extends org.apache.maven.plugin.AbstractMojo
This mojo creates a .zip
file containing the .jar
file of the project and the module.xml
files available in the src/main/modules
directory. This .zip
file is then attached to the project
using zip
as the type and a classifier composed by the optional category
parameter and the
modules
word.