Class CategoryP2MetadataMojo

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

    @Mojo(name="category-p2-metadata",
          threadSafe=true)
    public class CategoryP2MetadataMojo
    extends AbstractP2MetadataMojo
    Adds category IUs to existing metadata repository. https://help.eclipse.org/galileo/index.jsp?topic =/org.eclipse.platform.doc.isv/guide/p2_publisher.html
    • Field Detail

      • LOCK

        private static final java.lang.Object LOCK
      • categoryDefinition

        @Parameter(defaultValue="${project.basedir}/category.xml")
        private java.io.File categoryDefinition
    • Constructor Detail

      • CategoryP2MetadataMojo

        public CategoryP2MetadataMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractP2MetadataMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException