Repository: karaf
Updated Branches:
  refs/heads/master 9ebb25a9d -> fce8292d5


KARAF-3982: a bit of doc.


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/0077f181
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0077f181
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0077f181

Branch: refs/heads/master
Commit: 0077f1813758c1ed5a3ba871d713b3c5322d4950
Parents: 42c424f
Author: Benson Margulies <[email protected]>
Authored: Wed Sep 9 07:24:32 2015 -0400
Committer: Benson Margulies <[email protected]>
Committed: Wed Sep 9 07:24:32 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/karaf/tooling/AssemblyMojo.java    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/0077f181/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/AssemblyMojo.java
----------------------------------------------------------------------
diff --git 
a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/AssemblyMojo.java
 
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/AssemblyMojo.java
index eb3381d..44ebcbe 100644
--- 
a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/AssemblyMojo.java
+++ 
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/AssemblyMojo.java
@@ -37,7 +37,14 @@ import java.util.ArrayList;
 import java.util.List;
 
 /**
- * Installs kar dependencies into a server-under-construction in 
target/assembly
+ * Creates a customized Karaf distribution by installing features and setting 
up
+ * configuration files. The plugin gets features from feature.xml files and KAR
+ * archives declared as dependencies or as files configured with the
+ * featureRespositories parameter. It picks up other files, such as config 
files,
+ * from ${project.build.directory}/classes. Thus, a file in 
src/main/resources/etc
+ * will be copied by the resource plugin to 
${project.build.directory}/classes/etc,
+ * and then added to the assembly by this goal.
+ * <br>
  */
 @Mojo(name = "assembly", defaultPhase = LifecyclePhase.PROCESS_RESOURCES, 
requiresDependencyResolution = ResolutionScope.RUNTIME)
 public class AssemblyMojo extends MojoSupport {

Reply via email to