Package org.codehaus.mojo.rpm
Class RPMMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.rpm.AbstractRPMMojo
-
- org.codehaus.mojo.rpm.RPMMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="rpm", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, threadSafe=true) public class RPMMojo extends AbstractRPMMojo
Construct the RPM file.
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.rpm.AbstractRPMMojo
project
-
-
Constructor Summary
Constructors Constructor Description RPMMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterExecution()
If thepackaging
is rpm, sets the rpm as the primary artifact.-
Methods inherited from class org.codehaus.mojo.rpm.AbstractRPMMojo
execute, getBuildTimestamp, getRelease, getRPMFile, getVersion
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
afterExecution
protected void afterExecution()
If thepackaging
is rpm, sets the rpm as the primary artifact.- Overrides:
afterExecution
in classAbstractRPMMojo
-
-