This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch maven-3.8.x
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 7959f0df07fa94788b7d3d838033d44c754ea4e4
Author: Tamas Cservenak <[email protected]>
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 12a61a8356..6b9bb21cd1 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -290,24 +290,13 @@ under the License.
               <execution>
                 <id>source-release-checksum</id>
                 <goals>
-                  <goal>files</goal>
+                  <goal>artifacts</goal>
                 </goals>
+                <configuration>
+                  <includeClassifiers>src</includeClassifiers>
+                </configuration>
               </execution>
             </executions>
-            <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>
           </plugin>
         </plugins>
       </build>

Reply via email to