use a moduleSet to include the examples in the main assembly

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/77bfaa22
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/77bfaa22
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/77bfaa22

Branch: refs/heads/master
Commit: 77bfaa2291b1fbc97fcf998d7412be644ecaefec
Parents: 5a592b0
Author: Robert Gemmell <[email protected]>
Authored: Thu Feb 5 12:55:56 2015 +0000
Committer: Robert Gemmell <[email protected]>
Committed: Thu Feb 5 12:55:56 2015 +0000

----------------------------------------------------------------------
 .../qpid-jms/src/main/assembly/qpid-jms-bin.xml | 28 ++++++++++++++++++++
 qpid-jms-examples/pom.xml                       |  2 ++
 2 files changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/77bfaa22/qpid-jms-assemblies/qpid-jms/src/main/assembly/qpid-jms-bin.xml
----------------------------------------------------------------------
diff --git a/qpid-jms-assemblies/qpid-jms/src/main/assembly/qpid-jms-bin.xml 
b/qpid-jms-assemblies/qpid-jms/src/main/assembly/qpid-jms-bin.xml
index 23382f0..046ac3d 100644
--- a/qpid-jms-assemblies/qpid-jms/src/main/assembly/qpid-jms-bin.xml
+++ b/qpid-jms-assemblies/qpid-jms/src/main/assembly/qpid-jms-bin.xml
@@ -46,5 +46,33 @@
       <useProjectArtifact>false</useProjectArtifact>
     </dependencySet>
   </dependencySets>
+  <moduleSets>
+    <moduleSet>
+      <useAllReactorProjects>true</useAllReactorProjects>
+      <includes>
+        <include>org.apache.qpid:qpid-jms-examples</include>
+      </includes>
+      <sources>
+        <includeModuleDirectory>false</includeModuleDirectory>
+        <fileSets>
+          <fileSet>
+            <directory>src</directory>
+            <outputDirectory>examples/src</outputDirectory>
+            <fileMode>0644</fileMode>
+            <directoryMode>0755</directoryMode>
+          </fileSet>
+          <fileSet>
+            <outputDirectory>examples/</outputDirectory>
+            <includes>
+              <include>pom.xml</include>
+              <include>README.txt</include>
+            </includes>
+            <fileMode>0644</fileMode>
+            <directoryMode>0755</directoryMode>
+          </fileSet>
+        </fileSets>
+      </sources>
+    </moduleSet>
+  </moduleSets>
 </assembly>
 

http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/77bfaa22/qpid-jms-examples/pom.xml
----------------------------------------------------------------------
diff --git a/qpid-jms-examples/pom.xml b/qpid-jms-examples/pom.xml
index b5c61a4..d517567 100644
--- a/qpid-jms-examples/pom.xml
+++ b/qpid-jms-examples/pom.xml
@@ -50,6 +50,7 @@
           <skip>true</skip>
         </configuration>
       </plugin>
+<!--
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
@@ -68,6 +69,7 @@
           </execution>
         </executions>
       </plugin>
+-->
     </plugins>
   </build>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to