ARTEMIS-3328: only build the source-release assembly during the release process, or upon request

This commit is contained in:
Robbie Gemmell 2021-06-03 11:41:14 +01:00
parent 5bf3228259
commit c05c5955f3
1 changed files with 27 additions and 13 deletions

View File

@ -264,19 +264,6 @@
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>source</id>
<configuration>
<descriptors>
<descriptor>src/main/assembly/source-assembly.xml</descriptor>
</descriptors>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
<execution>
<id>bin</id>
<configuration>
@ -329,4 +316,31 @@
</plugins>
</build>
<profiles>
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>source</id>
<configuration>
<descriptors>
<descriptor>src/main/assembly/source-assembly.xml</descriptor>
</descriptors>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>