mirror of https://github.com/apache/maven.git
[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:
parent
dfb406c5b3
commit
489e4e6526
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue