@Mojo(name="assembly",
defaultPhase=PROCESS_RESOURCES,
requiresDependencyResolution=RUNTIME)
public class AssemblyMojo
extends MojoSupport
| Modifier and Type | Field and Description |
|---|---|
protected int |
defaultStartLevel
default start level for bundles in features that don't specify it.
|
protected List<String> |
featureRepositories
Additional feature repositories
|
protected File |
featuresCfgFile
Features configuration file (etc/org.apache.karaf.features.cfg).
|
protected boolean |
ignoreDependencyFlag
Ignore the dependency attribute (dependency="[true|false]") on bundle
|
protected boolean |
includeBuildOutputDirectory
Include project build output directory in the assembly
|
protected boolean |
installAllFeaturesByDefault |
protected org.apache.karaf.profile.assembly.Builder.KarafVersion |
karafVersion |
protected List<String> |
libraries |
protected File |
startupPropertiesFile
startup.properties file.
|
protected File |
systemDirectory
Directory used during build to construction the Karaf system repository.
|
protected boolean |
useReferenceUrls
Use reference: style urls in startup.properties
|
protected File |
workDirectory
Base directory used to copy the resources during the build (working directory).
|
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos| Constructor and Description |
|---|
AssemblyMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute() |
void |
execute() |
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, translateFromMaven@Parameter(defaultValue="${project.build.directory}/assembly")
protected File workDirectory
@Parameter(defaultValue="${project.build.directory}/assembly/etc/org.apache.karaf.features.cfg")
protected File featuresCfgFile
@Parameter(defaultValue="${project.build.directory}/assembly/etc/startup.properties")
protected File startupPropertiesFile
@Parameter(defaultValue="${project.build.directory}/assembly/system")
protected File systemDirectory
@Parameter protected int defaultStartLevel
@Parameter(defaultValue="false") protected boolean ignoreDependencyFlag
@Parameter protected List<String> featureRepositories
@Parameter(defaultValue="false") protected boolean useReferenceUrls
@Parameter(defaultValue="true") protected boolean includeBuildOutputDirectory
@Parameter protected boolean installAllFeaturesByDefault
@Parameter protected org.apache.karaf.profile.assembly.Builder.KarafVersion karafVersion
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.