@Mojo(name="build-repository",
defaultPhase=PREPARE_PACKAGE)
public class RepositoryBuilderMojo
extends AbstractFractionsMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
analyzeRuntimeDependencies |
protected String |
generateZip |
static String |
M2REPO |
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepositories |
protected org.eclipse.aether.DefaultRepositorySystemSession |
session |
protected File |
userSettings |
mavenSession, project, projectBuilder, repositorySystemSession| Constructor and Description |
|---|
RepositoryBuilderMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
File |
getPom(String gavString) |
protected boolean |
isAnalyzeRuntimeDependencies() |
protected static boolean |
isProductizedArtifact(Path file) |
protected static boolean |
isProductizedArtifact(String name) |
protected boolean |
isRemoveCommunity() |
protected boolean |
shouldGenerateZip() |
arquillianFraction, findRoot, fractions, isNotArquillianArtifact, isSwarmProject@Parameter protected File userSettings
@Parameter(defaultValue="false") protected String analyzeRuntimeDependencies
@Parameter protected String generateZip
@Parameter(alias="remoteRepositories",
defaultValue="${project.remoteArtifactRepositories}",
readonly=true)
protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
@Parameter(defaultValue="${repositorySystemSession}",
readonly=true)
protected org.eclipse.aether.DefaultRepositorySystemSession session
public static final String M2REPO
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean shouldGenerateZip()
public File getPom(String gavString) throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionprotected boolean isRemoveCommunity()
protected boolean isAnalyzeRuntimeDependencies()
protected static boolean isProductizedArtifact(Path file)
protected static boolean isProductizedArtifact(String name)
Copyright © 2018 JBoss by Red Hat. All rights reserved.