@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 |
---|---|
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 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_MODULE
RepositoryReferences
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–2023 Eclipse Foundation. All rights reserved.