Package org.eclipse.tycho.plugins.p2
Class P2MetadataDefaultMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.plugins.p2.P2MetadataMojo
-
- org.eclipse.tycho.plugins.p2.P2MetadataDefaultMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="p2-metadata-default") public class P2MetadataDefaultMojo extends P2MetadataMojo
P2 metadata generation goal bound to default artifact build lifecycle. For explicit binding use p2-metadata goal. The idea is to avoid double p2 metadata generation for projects that generate additional artifacts or post process standard artifacts using custom goals bound to package phase.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
defaultP2Metadata
-
Fields inherited from class org.eclipse.tycho.plugins.p2.P2MetadataMojo
attachP2Metadata, execution, project, projectHelper
-
-
Constructor Summary
Constructors Constructor Description P2MetadataDefaultMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.eclipse.tycho.plugins.p2.P2MetadataMojo
attachP2Metadata, writeArtifactLocations
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classP2MetadataMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-