summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2014-08-08 18:46:10 +0000
committerRobert Gemmell <robbie@apache.org>2014-08-08 18:46:10 +0000
commit72f660a03f80a05b45ff461245e5f6cd347b5d2e (patch)
tree2770fffedd8f6dfb45da190b0054e493df057841
parentdc79a675ce77efeab6c242caf463058883af8d9f (diff)
downloadqpid-python-72f660a03f80a05b45ff461245e5f6cd347b5d2e.tar.gz
QPID-5610: add a profile override to the QMF build to disable the apache-release source assembly creation, ported from trunk to 0.30
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.30@1616852 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/tools/src/java/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/qpid/tools/src/java/pom.xml b/qpid/tools/src/java/pom.xml
index 5176aeafd4..52d5714f04 100644
--- a/qpid/tools/src/java/pom.xml
+++ b/qpid/tools/src/java/pom.xml
@@ -41,4 +41,30 @@
<build>
</build>
+ <profiles>
+ <!-- Profile to update the Apache parent pom profile of the same name to prevent source assembly at java build level.-->
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <skipAssembly>true</skipAssembly>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>