@Mojo(name="kar",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class KarMojo
extends MojoSupport
| Modifier and Type | Field and Description |
|---|---|
protected String |
classifier
Classifier to add to the artifact generated.
|
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory| Constructor and Description |
|---|
KarMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected static File |
getArchiveFile(File basedir,
String finalName,
String classifier) |
protected static boolean |
isMavenUrl(String name) |
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMaven@Parameter protected String classifier
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected static boolean isMavenUrl(String name)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.