summaryrefslogtreecommitdiff
path: root/qpid/tools/src/java
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
commit2e021bbe597b033841f0e1a351a996c2d2328e36 (patch)
treea45a9fefadc2be0ba2dc6e8ed9b5aef53b0e6723 /qpid/tools/src/java
parentc266c38b2c2c27a6a0b5ec4fad5e4d8277f03ba0 (diff)
downloadqpid-python-2e021bbe597b033841f0e1a351a996c2d2328e36.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@1616851 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tools/src/java')
-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 f0fa528d00..5d8fcbb0ad 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>