@Mojo(name="package", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, requiresProject=true, threadSafe=true) public class PackageMojo extends AbstractOldCoreMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Local repository to be used by the plugin to resolve dependencies.
|
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepositories
List of remote repositories to be used by the plugin to resolve dependencies.
|
protected org.apache.maven.repository.RepositorySystem |
repositorySystem
* Used to look up Artifacts in the remote repository.
|
hibernateConfig, oldCoreHelper, wiki
Constructor and Description |
---|
PackageMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
before() |
void |
executeInternal() |
protected void |
installJAR(org.apache.maven.artifact.Artifact artifact,
File libDirectory) |
protected boolean |
isSkipExecution() |
protected String |
replaceProperty(String content,
org.apache.velocity.VelocityContext velocityContext) |
after
execute, initializeExtensionMojoHelper
@Component protected org.apache.maven.repository.RepositorySystem repositorySystem
@Parameter(property="localRepository") protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
@Parameter(property="project.remoteArtifactRepositories") protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
protected void before() throws org.apache.maven.plugin.MojoExecutionException
before
in class AbstractOldCoreMojo
org.apache.maven.plugin.MojoExecutionException
public void executeInternal() throws org.apache.maven.plugin.MojoExecutionException
executeInternal
in class org.xwiki.tool.extension.util.AbstractExtensionMojo
org.apache.maven.plugin.MojoExecutionException
protected void installJAR(org.apache.maven.artifact.Artifact artifact, File libDirectory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected boolean isSkipExecution()
isSkipExecution
in class org.xwiki.tool.extension.util.AbstractExtensionMojo
Copyright © 2004–2021 XWiki. All rights reserved.