Package org.eclipse.tycho.pomgenerator
Class GeneratePomsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.pomgenerator.GeneratePomsMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-poms", requiresProject=false) public class GeneratePomsMojo extends org.apache.maven.plugin.AbstractMojo
Traverse the current directory to find eclipse-plugin/bundle, feature, update site (site.xml) or p2 repository (category.xml) projects and generate corresponding pom.xml's. This goal is intended to be used by existing projects for generating quick-start pom.xml's when converting their build to Tycho. The generated pom.xml's are only intended as a starting point and will most probably require manual refinement. Note that this goal is not intended for automatic pom.xml generation during build.
-
-
Constructor Summary
Constructors Constructor Description GeneratePomsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected ArtifactDescriptor
getArtifact(File basedir)
-
-
-
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
-
getArtifact
protected ArtifactDescriptor getArtifact(File basedir)
-
-