com.github.goldin.plugins.copy
Class CopyMojoHelper
java.lang.Object
com.github.goldin.plugins.copy.CopyMojoHelper
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public final class CopyMojoHelper
- extends Object
- implements groovy.lang.GroovyObject
|
Constructor Summary |
CopyMojoHelper(com.github.goldin.plugins.common.BaseGroovyMojo mojo)
|
|
Method Summary |
String |
artifactFileName(org.apache.maven.artifact.Artifact artifact,
boolean removeVersion)
|
Collection<org.apache.maven.artifact.Artifact> |
collectDependencies(org.apache.maven.artifact.Artifact artifact,
List<String> includeScopes,
List<String> excludeScopes,
boolean includeTransitive,
boolean includeOptional,
boolean verbose,
boolean failOnError)
|
Collection<org.apache.maven.artifact.Artifact> |
collectDependencies(org.apache.maven.artifact.Artifact artifact,
List<String> includeScopes,
List<String> excludeScopes,
boolean includeTransitive,
boolean includeOptional,
boolean verbose,
boolean failOnError,
Set<org.apache.maven.artifact.Artifact> artifactsAggregator)
|
void |
deploy(File f,
String url,
String groupId,
String artifactId,
String version,
String classifier)
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String method,
Object arguments)
|
File |
prepareManifest(CopyManifest manifest)
|
protected List<CopyDependency> |
resolveDependencies(CopyDependency dependency,
boolean verbose,
boolean failIfNotFound)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
protected List<String> |
updatePatterns(String directory,
List<String> patterns,
String encoding)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyMojoHelper
public CopyMojoHelper(com.github.goldin.plugins.common.BaseGroovyMojo mojo)
collectDependencies
public final Collection<org.apache.maven.artifact.Artifact> collectDependencies(org.apache.maven.artifact.Artifact artifact,
List<String> includeScopes,
List<String> excludeScopes,
boolean includeTransitive,
boolean includeOptional,
boolean verbose,
boolean failOnError)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
updatePatterns
protected List<String> updatePatterns(String directory,
List<String> patterns,
String encoding)
resolveDependencies
protected List<CopyDependency> resolveDependencies(CopyDependency dependency,
boolean verbose,
boolean failIfNotFound)
collectDependencies
public final Collection<org.apache.maven.artifact.Artifact> collectDependencies(org.apache.maven.artifact.Artifact artifact,
List<String> includeScopes,
List<String> excludeScopes,
boolean includeTransitive,
boolean includeOptional,
boolean verbose,
boolean failOnError,
Set<org.apache.maven.artifact.Artifact> artifactsAggregator)
prepareManifest
public File prepareManifest(CopyManifest manifest)
artifactFileName
public String artifactFileName(org.apache.maven.artifact.Artifact artifact,
boolean removeVersion)
deploy
public void deploy(File f,
String url,
String groupId,
String artifactId,
String version,
String classifier)
Copyright © 2012. All Rights Reserved.