Class UpdateTargetMojo

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

    @Mojo(name="update-target")
    public class UpdateTargetMojo
    extends AbstractUpdateMojo
    Quick&dirty way to update .target file to use latest versions of IUs available from specified metadata repositories.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doUpdate()  
      protected java.io.File getFileToBeUpdated()  
      • 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

      • project

        @Parameter(property="project")
        private org.apache.maven.project.MavenProject project
      • targetFile

        @Parameter(property="target")
        private java.io.File targetFile
    • Constructor Detail

      • UpdateTargetMojo

        public UpdateTargetMojo()
    • Method Detail

      • doUpdate

        protected void doUpdate()
                         throws java.io.IOException,
                                java.net.URISyntaxException
        Specified by:
        doUpdate in class AbstractUpdateMojo
        Throws:
        java.io.IOException
        java.net.URISyntaxException