You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/01/31 12:19:33 UTC
[maven] branch maven-3.9.x updated: [MNG-7676] Fix checksum plugin configuration (#977)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.9.x by this push:
new d7e655348 [MNG-7676] Fix checksum plugin configuration (#977)
d7e655348 is described below
commit d7e655348a3d9e32835184d68791420b7f22b845
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue Jan 31 13:19:23 2023 +0100
[MNG-7676] Fix checksum plugin configuration (#977)
* [MNG-7676] Fix checksum plugin configuration
Wrong goal is being used that does not honor classifiers. Also,
have to reshuffle the config, move it inside execution otherwise
ASF parent pom execution is NOT overridden.
---
https://issues.apache.org/jira/browse/MNG-7676
---
apache-maven/pom.xml | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index 3a1427ac1..86d3cc2c4 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -274,26 +274,15 @@ under the License.
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
- <configuration>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}</directory>
- <includes>
- <include>${project.artifactId}-${project.version}-src.zip</include>
- <include>${project.artifactId}-${project.version}-src.tar.gz</include>
- <include>${project.artifactId}-${project.version}-bin.zip</include>
- <include>${project.artifactId}-${project.version}-bin.tar.gz</include>
- </includes>
- </fileSet>
- </fileSets>
- <failIfNoFiles>true</failIfNoFiles>
- </configuration>
<executions>
<execution>
<id>source-release-checksum</id>
<goals>
- <goal>files</goal>
+ <goal>artifacts</goal>
</goals>
+ <configuration>
+ <includeClassifiers>src</includeClassifiers>
+ </configuration>
</execution>
</executions>
</plugin>