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:23:07 UTC
[maven] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 489e4e652 [MNG-7676] Fix checksum plugin configuration (#977)
489e4e652 is described below
commit 489e4e6526ba0012113642252cc6c16e423720dc
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue Jan 31 13:22:31 2023 +0100
[MNG-7676] Fix checksum plugin configuration (#977)
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 690a23277..59f03e67b 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -283,26 +283,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>