[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
This commit is contained in:
Tamas Cservenak 2023-01-31 13:22:31 +01:00
parent dfb406c5b3
commit 489e4e6526
1 changed files with 4 additions and 15 deletions

View File

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