Skip Source Assembly Unless -Prelease
Change-Id: I8098448b43115d5b03982c87e8bf2e49fcf6de2c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1766
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@apache.org>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 0ab040b..df1415a 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -441,12 +441,18 @@
</properties>
</profile>
<profile>
- <id>source-assembly</id>
+ <id>skip-assembly</id>
<activation>
<file>
- <exists>src/main/assembly/source.xml</exists>
+ <missing>src/main/assembly/source.xml</missing>
</file>
</activation>
+ <properties>
+ <skip.assembly>true</skip.assembly>
+ </properties>
+ </profile>
+ <profile>
+ <id>release</id>
<build>
<plugins>
<plugin>
@@ -469,17 +475,11 @@
<descriptors>
<descriptor>src/main/assembly/source.xml</descriptor>
</descriptors>
+ <skipAssembly>${skip.assembly}</skipAssembly>
</configuration>
</execution>
</executions>
</plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>release</id>
- <build>
- <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>