public abstract class ArtemisAbstractPlugin
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected List<org.eclipse.aether.repository.RemoteRepository> |
remoteRepos |
protected org.eclipse.aether.RepositorySystemSession |
repoSession |
protected org.eclipse.aether.RepositorySystem |
repositorySystem |
Constructor and Description |
---|
ArtemisAbstractPlugin() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doExecute() |
void |
execute() |
protected List<org.eclipse.aether.artifact.Artifact> |
explodeDependencies(org.eclipse.aether.artifact.Artifact artifact) |
protected abstract boolean |
isIgnore() |
protected org.eclipse.aether.artifact.Artifact |
newArtifact(String artifactID) |
protected File |
resolveArtifact(org.eclipse.aether.artifact.Artifact artifact) |
protected Set<File> |
resolveDependencies(String[] dependencyListParameter,
String[] individualListParameter) |
@Component protected org.eclipse.aether.RepositorySystem repositorySystem
@Parameter(defaultValue="${repositorySystemSession}") protected org.eclipse.aether.RepositorySystemSession repoSession
@Parameter(defaultValue="${project.remoteProjectRepositories}") protected List<org.eclipse.aether.repository.RemoteRepository> remoteRepos
@Parameter(defaultValue="${localRepository}") protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
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 abstract boolean isIgnore()
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected org.eclipse.aether.artifact.Artifact newArtifact(String artifactID) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
protected File resolveArtifact(org.eclipse.aether.artifact.Artifact artifact) throws org.apache.maven.plugin.MojoExecutionException, org.eclipse.aether.collection.DependencyCollectionException
org.apache.maven.plugin.MojoExecutionException
org.eclipse.aether.collection.DependencyCollectionException
protected List<org.eclipse.aether.artifact.Artifact> explodeDependencies(org.eclipse.aether.artifact.Artifact artifact) throws org.eclipse.aether.collection.DependencyCollectionException
org.eclipse.aether.collection.DependencyCollectionException
protected Set<File> resolveDependencies(String[] dependencyListParameter, String[] individualListParameter) throws org.eclipse.aether.collection.DependencyCollectionException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.eclipse.aether.collection.DependencyCollectionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2016 The Apache Software Foundation. All rights reserved.