You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2015/03/04 16:02:11 UTC

[07/11] activemq-6 git commit: Add source build to release profile

Add source build to release profile


Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/b7caa5d8
Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/b7caa5d8
Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/b7caa5d8

Branch: refs/heads/master
Commit: b7caa5d8e67504c08148d140a1cf39c2fb0fd897
Parents: 8041f1f
Author: Martyn Taylor <mt...@redhat.com>
Authored: Wed Mar 4 14:41:52 2015 +0000
Committer: Martyn Taylor <mt...@redhat.com>
Committed: Wed Mar 4 14:41:52 2015 +0000

----------------------------------------------------------------------
 pom.xml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/b7caa5d8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c54af26..7798394 100644
--- a/pom.xml
+++ b/pom.xml
@@ -494,6 +494,49 @@
             <module>examples</module>
             <module>distribution</module>
          </modules>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                        <phase>package</phase>
+                        <configuration>
+                           <finalName>apache-activemq-${project.version}</finalName>
+                           <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                           <descriptorRefs>
+                              <descriptorRef>
+                                 source-release
+                              </descriptorRef>
+                           </descriptorRefs>
+                        </configuration>
+                     </execution>
+                  </executions>
+                  <dependencies>
+                     <dependency>
+                        <!-- apache version not yet released -->
+                        <!--<groupId>org.apache</groupId>-->
+                        <groupId>org.apache.geronimo.genesis</groupId>
+                        <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                        <!-- apache version not yet known -->
+                        <version>2.0</version>
+                     </dependency>
+                  </dependencies>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-surefire-plugin</artifactId>
+                  <version>2.14.1</version>
+                  <configuration>
+                     <test>false</test>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
       </profile>
       <profile>
          <id>hudson-tests</id>