summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2014-08-08 18:44:38 +0000
committerRobert Gemmell <robbie@apache.org>2014-08-08 18:44:38 +0000
commiteb8d74e3490519ae984b9c164c74c48d96989cf2 (patch)
tree328e91e18a032f6f6a6c8536ce54e16c8dbd8595 /tools
parent4f4ecbb6412d90b4cb11ba097f96e6c0c1dc93ae (diff)
downloadqpid-python-eb8d74e3490519ae984b9c164c74c48d96989cf2.tar.gz
QPID-5610: add a profile override to the QMF build to disable the apache-release source assembly creation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1616851 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
-rw-r--r--tools/src/java/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/src/java/pom.xml b/tools/src/java/pom.xml
index f0fa528d00..5d8fcbb0ad 100644
--- a/tools/src/java/pom.xml
+++ b/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>