Class AttachedRPMMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="attached-rpm",
          defaultPhase=PACKAGE,
          requiresDependencyResolution=RUNTIME,
          threadSafe=true)
    public class AttachedRPMMojo
    extends AbstractRPMMojo
    Construct the RPM file and attaches it as a secondary artifact.
    Since:
    2.0-beta-2
    Author:
    Brett Okken, Cerner Corp.
    • Constructor Detail

      • AttachedRPMMojo

        public AttachedRPMMojo()
    • Method Detail

      • afterExecution

        protected void afterExecution()
        Attach the rpm as a secondary artifact.
        Overrides:
        afterExecution in class AbstractRPMMojo
        See Also:
        MavenProjectHelper.attachArtifact(org.apache.maven.project.MavenProject, String, String, java.io.File)
      • getClassifier

        protected String getClassifier()
        Returns the classifier for the secondary artifact.
        Returns:
        The classifier.