Class AttachPublishedArtifactsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.core.maven.AbstractP2Mojo
-
- org.eclipse.tycho.plugins.p2.publisher.persistence.AttachPublishedArtifactsMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="attach-artifacts", threadSafe=true) public class AttachPublishedArtifactsMojo extends AbstractP2Mojo
Attaches p2 metadata and extra artifacts produced by the publishers to the project. In this way, the full build results are available in the local Maven repository, e.g. for builds of parts of a reactor.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Object
LOCK
private EquinoxServiceFactory
osgiServices
private org.apache.maven.project.MavenProjectHelper
projectHelper
-
Constructor Summary
Constructors Constructor Description AttachPublishedArtifactsMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
private static java.lang.String
getExtension(java.io.File file)
-
Methods inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
getBuildContext, getBuildDirectory, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
-
-
-
-
Field Detail
-
LOCK
private static final java.lang.Object LOCK
-
projectHelper
@Component private org.apache.maven.project.MavenProjectHelper projectHelper
-
osgiServices
@Component private EquinoxServiceFactory osgiServices
-
-
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
-
getExtension
private static java.lang.String getExtension(java.io.File file)
-
-