public abstract class AbstractTychoPackagingMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.plexus.PlexusContainer |
plexus |
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected String |
qualifier
Build qualifier.
|
protected org.apache.maven.execution.MavenSession |
session |
protected boolean |
strictBinIncludes
If set to
true (the default), missing build.properties bin.includes will cause
build failure. |
protected boolean |
useDefaultExcludes |
Constructor and Description |
---|
AbstractTychoPackagingMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBinIncludesExist(BuildProperties buildProperties,
String... ignoredIncludes) |
protected void |
expandVersion() |
protected DependencyArtifacts |
getDependencyArtifacts() |
protected ArtifactDependencyWalker |
getDependencyWalker() |
protected org.codehaus.plexus.archiver.FileSet |
getFileSet(File basedir,
List<String> includes,
List<String> excludes) |
protected TychoProject |
getTychoProjectFacet() |
protected TychoProject |
getTychoProjectFacet(String packaging) |
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="session", readonly=true) protected org.apache.maven.execution.MavenSession session
@Parameter(property="project", readonly=true) protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="true") protected boolean useDefaultExcludes
@Parameter(property="buildQualifier") protected String qualifier
@Parameter(defaultValue="true") protected boolean strictBinIncludes
true
(the default), missing build.properties bin.includes will cause
build failure. If set to false
, missing build.properties bin.includes will be
reported as warnings but the build will not fail.@Component protected org.codehaus.plexus.PlexusContainer plexus
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
protected org.codehaus.plexus.archiver.FileSet getFileSet(File basedir, List<String> includes, List<String> excludes)
FileSet
with the given includes and excludes and the configured default
excludes. An empty list of includes leads to an empty file set.protected ArtifactDependencyWalker getDependencyWalker()
protected TychoProject getTychoProjectFacet()
protected TychoProject getTychoProjectFacet(String packaging)
protected DependencyArtifacts getDependencyArtifacts()
protected void expandVersion()
protected void checkBinIncludesExist(BuildProperties buildProperties, String... ignoredIncludes) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2008–2017 Eclipse Foundation. All rights reserved.