Skip to content

Commit

Permalink
Merge pull request #25 from jglick/flatten-JENKINS-51247-source-fork
Browse files Browse the repository at this point in the history
[JENKINS-51247] Always use source:jar-no-fork, not source:jar
  • Loading branch information
jglick committed May 15, 2018
2 parents 4268dbd + 2ad60fb commit c58c0c2
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 c58c0c2

Please sign in to comment.