Skip to content

Commit

Permalink
Always build source jar (#1037)
Browse files Browse the repository at this point in the history
There was a regression introduced when building the source jar during releases when the maven-release-plugin was upgraded.

To simplify things, and avoid that in the future, I changed the build to alwas package the source jar.

Fixes #1036
  • Loading branch information
philsttr authored Aug 4, 2024
1 parent 5cd053f commit a8e6b81
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,27 @@
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down Expand Up @@ -721,6 +735,7 @@
<id>fast</id>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
<license.skip>true</license.skip>
<checkstyle.skip>true</checkstyle.skip>
</properties>
Expand Down

0 comments on commit a8e6b81

Please # to comment.