Class UpdatePomMojo

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

    @Mojo(name="update-pom",
          aggregator=true,
          requiresDirectInvocation=true,
          threadSafe=true)
    public class UpdatePomMojo
    extends org.apache.maven.plugin.AbstractMojo
    Update pom.xml version to match corresponding Eclipse/OSGi metadata.
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdatePomMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • 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
    • Field Detail

      • LOCK

        private static final java.lang.Object LOCK
      • session

        @Parameter(property="session",
                   readonly=true)
        protected org.apache.maven.execution.MavenSession session
    • Constructor Detail

      • UpdatePomMojo

        public UpdatePomMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException