public class RegistryResourceProcessMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
RegistryResourceProcessMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
File |
getArtifactLocation() |
protected String |
getArtifactType() |
File |
getOutputLocation() |
org.apache.maven.project.MavenProject |
getProject() |
protected void |
processArtifacts(List<Artifact> artifacts) |
protected File |
processTokenReplacement(File file)
Filter and replace maven placeholders in artifacts with respective property values
|
String |
replaceTokens(String content,
Properties mavenProperties)
Replace artifact tokens with maven properties.
|
public File getArtifactLocation()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic org.apache.maven.project.MavenProject getProject()
protected String getArtifactType()
protected void processArtifacts(List<Artifact> artifacts) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File processTokenReplacement(File file) throws IOException
file - IOExceptionpublic String replaceTokens(String content, Properties mavenProperties)
content - mavenProperties - public File getOutputLocation()
Copyright © 2024 WSO2. All rights reserved.