summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/sca/distribution/all/src/main/assembly/src.xml8
-rw-r--r--java/sca/distribution/all/src/main/components/src-samples.xml41
2 files changed, 46 insertions, 3 deletions
diff --git a/java/sca/distribution/all/src/main/assembly/src.xml b/java/sca/distribution/all/src/main/assembly/src.xml
index d603fb54a9..936cb2f28f 100644
--- a/java/sca/distribution/all/src/main/assembly/src.xml
+++ b/java/sca/distribution/all/src/main/assembly/src.xml
@@ -27,15 +27,17 @@
<format>zip</format>
</formats>
- <componentDescriptors>
+ <componentDescriptors>
+ <componentDescriptor>../all/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../all/src/main/components/src-samples.xml</componentDescriptor>
<componentDescriptor>../core/src/main/components/src-common.xml</componentDescriptor>
<componentDescriptor>../core/src/main/components/src-modules.xml</componentDescriptor>
- <componentDescriptor>../ejava/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../ejava/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../webservice/src/main/components/src-modules.xml</componentDescriptor>
<!--
<componentDescriptor>../manager/src/main/components/src-modules.xml</componentDescriptor>
<componentDescriptor>../process/src/main/components/src-modules.xml</componentDescriptor>
<componentDescriptor>../web20/src/main/components/src-modules.xml</componentDescriptor>
- <componentDescriptor>../webservice/src/main/components/src-modules.xml</componentDescriptor>
-->
</componentDescriptors>
</assembly>
diff --git a/java/sca/distribution/all/src/main/components/src-samples.xml b/java/sca/distribution/all/src/main/components/src-samples.xml
new file mode 100644
index 0000000000..9154a080f8
--- /dev/null
+++ b/java/sca/distribution/all/src/main/components/src-samples.xml
@@ -0,0 +1,41 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<component>
+ <fileSets>
+ <!-- Add module sources to the modules directory -->
+ <fileSet>
+ <directory>../../samples</directory>
+ <outputDirectory>samples</outputDirectory>
+ <includes>
+ </includes>
+ <excludes>
+ <!-- General file/folders to exclude -->
+ <exclude>**/.*</exclude>
+ <exclude>**/.*/**</exclude>
+ <exclude>**/*.log</exclude>
+
+ <!-- Specific files/folders to exclude -->
+ <exclude>pom.xml</exclude>
+ <exclude>**/target</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </fileSet>
+
+ </fileSets>
+</component>