Class AbstractVersionMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    BuildQualifierMojo, ValidateIdMojo, ValidateVersionMojo

    public abstract class AbstractVersionMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String packaging  
      protected org.apache.maven.project.MavenProject project  
      protected java.util.Map<java.lang.String,​TychoProject> projectTypes  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private ArtifactKey getOSGiArtifact()  
      protected java.lang.String getOSGiId()  
      protected java.lang.String getOSGiVersion()  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.plugin.Mojo

        execute
    • Field Detail

      • project

        @Parameter(property="project",
                   required=true,
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
      • packaging

        @Parameter(property="project.packaging",
                   required=true,
                   readonly=true)
        protected java.lang.String packaging
    • Constructor Detail

      • AbstractVersionMojo

        public AbstractVersionMojo()
    • Method Detail

      • getOSGiVersion

        protected java.lang.String getOSGiVersion()
      • getOSGiId

        protected java.lang.String getOSGiId()
      • getOSGiArtifact

        private ArtifactKey getOSGiArtifact()