@Mojo(name="attach-artifacts") 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.
Modifier and Type | Field and Description |
---|---|
private EquinoxServiceFactory |
osgiServices |
private org.apache.maven.project.MavenProjectHelper |
projectHelper |
Constructor and Description |
---|
AttachPublishedArtifactsMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private static java.lang.String |
getExtension(java.io.File file) |
getBuildContext, getBuildDirectory, getEclipseRepositoryProject, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
@Component private org.apache.maven.project.MavenProjectHelper projectHelper
@Component private EquinoxServiceFactory osgiServices
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
private static java.lang.String getExtension(java.io.File file)