Skip to content

Commit

Permalink
[JENKINS-51247] Always use source:jar, not source:jar-no-fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed May 14, 2018
1 parent eb52e69 commit 2ad60fb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pom.xml
Expand Up @@ -733,6 +733,34 @@
<maven.repository.update.freqency>always</maven.repository.update.freqency>
</properties>
</profile>
<profile> <!-- JENKINS-51247: bypass MNG-6405 by avoiding use of forked executions incl. from source:jar -->
<id>fix-superpom-source-fork</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>DO-NOT-ACTUALLY-RUN</phase>
</execution>
<execution>
<id>attach-sources-no-fork</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile> <!-- see JEP-305 -->
<id>consume-incrementals</id>
<repositories>
Expand Down

0 comments on commit 2ad60fb

Please sign in to comment.