This closes #142 - source release build

This commit is contained in:
Clebert Suconic 2015-03-04 10:01:42 -05:00
commit 6f2720703d
1 changed files with 43 additions and 0 deletions

43
pom.xml
View File

@ -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>