[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
This commit is contained in:
Tamas Cservenak 2023-01-31 13:19:23 +01:00 committed by GitHub
parent ad29c3c548
commit d7e655348a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 15 deletions

View File

@ -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>