This closes #144 - another change for the source distro

This commit is contained in:
Clebert Suconic 2015-03-04 14:25:41 -05:00
commit 8455ea1aef
1 changed files with 47 additions and 43 deletions

90
pom.xml
View File

@ -495,49 +495,7 @@
<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>
@ -641,6 +599,52 @@
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>apache-release</id>
<activation>
<property>
<name>apache-release</name>
</property>
</activation>
<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>
</plugins>
</build>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
</profiles>
<build>