@Mojo(name="features-add-to-repository",
defaultPhase=COMPILE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class AddToRepositoryMojo
extends AbstractFeatureMojo
| Modifier and Type | Field and Description |
|---|---|
protected List<CopyFileBasedDescriptor> |
copyFileBasedDescriptors |
protected File |
repository |
addTransitiveFeatures, descriptorArtifacts, descriptors, features, ignoreDependencyFlag, skipNonMavenProtocolsartifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory| Constructor and Description |
|---|
AddToRepositoryMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy(org.apache.maven.artifact.Artifact artifact,
File destRepository) |
void |
execute() |
addFeatureRepo, addFeatures, addFeaturesDependencies, checkDoGarbageCollect, resolveArtifact, resolveFeatures, retrieveDescriptorsRecursivelycopy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMaven@Parameter(defaultValue="${project.build.directory}/features-repo")
protected File repository
@Parameter protected List<CopyFileBasedDescriptor> copyFileBasedDescriptors
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void copy(org.apache.maven.artifact.Artifact artifact,
File destRepository)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.