Class 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.
    • Constructor Detail

      • RPMMojo

        public RPMMojo()
    • Method Detail

      • afterExecution

        protected void afterExecution()
        If the packaging is rpm, sets the rpm as the primary artifact.
        Overrides:
        afterExecution in class AbstractRPMMojo