@Mojo(name="branding", requiresProject=true, threadSafe=true, defaultPhase=PACKAGE) public class BrandingMojo extends AbstractNbmMojo
src/main/nbm-branding
folder of the project is assumed to
contain the branding content. Within the directory, the following folder structure is assumed:
AbstractNbmMojo.ArtifactResult
Modifier and Type | Field and Description |
---|---|
protected String |
cluster
cluster of the branding.
|
protected File |
nbmBuildDir
directory where the the binary content is created.
|
protected File |
outputDirectory
output directory.
|
Constructor and Description |
---|
BrandingMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
createDefaultDescriptor, createDependencyTree, readModuleDescriptor, turnJarToNbmFile
antProject, registerNbmAntTasks
@Parameter(required=true, defaultValue="${project.build.directory}/nbm") protected File nbmBuildDir
@Parameter(defaultValue="${project.build.directory}", required=true) protected File outputDirectory
@Parameter(required=true, defaultValue="extra") protected String cluster
Copyright © 2005-2015 Codehaus. All Rights Reserved.