@Component(role=RepositoryReferenceTool.class) public class RepositoryReferenceTool extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
REPOSITORIES_INCLUDE_CURRENT_MODULE
Option to indicate that the publisher results of the given module shall be included in the
list of repositories.
|
| Constructor and Description |
|---|
RepositoryReferenceTool() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.tycho.p2.tools.RepositoryReferences |
getVisibleRepositories(org.apache.maven.project.MavenProject module,
org.apache.maven.execution.MavenSession session,
int flags)
Returns the list of visible p2 repositories for the build of the current module.
|
public static int REPOSITORIES_INCLUDE_CURRENT_MODULE
public org.eclipse.tycho.p2.tools.RepositoryReferences getVisibleRepositories(org.apache.maven.project.MavenProject module,
org.apache.maven.execution.MavenSession session,
int flags)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
REPOSITORIES_INCLUDE_CURRENT_MODULE is set),
module - The current Maven projectsession - The current Maven sessionflags - Options flags; supported flags are REPOSITORIES_INCLUDE_CURRENT_MODULERepositoryReferences instance with the repositories.org.apache.maven.plugin.MojoExecutionException - in case of internal errorsorg.apache.maven.plugin.MojoFailureException - in case required artifacts are missingCopyright © 2008–2019 Eclipse Foundation. All rights reserved.