@Mojo(name="assemble-repository", defaultPhase=PACKAGE) public class AssembleRepositoryMojo extends AbstractRepositoryMojo
Aggregates content into a p2 repository.
The aggregation runs recursively: it starts with the content published in the current module, and traverses all artifacts that are marked as included in already aggregated artifacts. (The following artifacts can include other artifacts: categories, products, and features. Note: Dependencies with a strict version range, i.e. a range which only matches exactly one version of an artifact, are also considered as inclusions.)
Constructor and Description |
---|
AssembleRepositoryMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected RepositoryReferences |
getVisibleRepositories() |
getAssemblyRepositoryLocation, getBuildContext, getBuildDirectory, getProject, getProjectIdentities, getSession
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected RepositoryReferences getVisibleRepositories() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2008–2017 Eclipse Foundation. All rights reserved.