You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/08/07 20:00:33 UTC

[maven-apache-parent] branch MPOM-205 updated: [MPOM-205] calculate checksums only for source release

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

hboutemy pushed a commit to branch MPOM-205
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git


The following commit(s) were added to refs/heads/MPOM-205 by this push:
     new 804605d  [MPOM-205] calculate checksums only for source release
804605d is described below

commit 804605dd657104a5ccd90144b99b973cf4d9214e
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Aug 7 21:58:32 2018 +0200

    [MPOM-205] calculate checksums only for source release
---
 pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index db39521..129054d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -422,6 +422,7 @@ under the License.
               </execution>
             </executions>
           </plugin>
+          <!-- calculate checksums of source release for Apache dist area -->
           <plugin>
             <groupId>net.nicoulaj.maven.plugins</groupId>
             <artifactId>checksum-maven-plugin</artifactId>
@@ -429,7 +430,7 @@ under the License.
             <executions>
               <execution>
                 <goals>
-                  <goal>artifacts</goal>
+                  <goal>files</goal>
                 </goals>
               </execution>
             </executions>
@@ -438,6 +439,14 @@ under the License.
                 <algorithm>SHA-1</algorithm>
                 <algorithm>SHA-256</algorithm>
               </algorithms>
+              <fileSets>
+                <fileSet>
+                  <directory>${project.build.directory}</directory>
+                  <includes>
+                    <include>${project.artifactId}-${project.version}-source-release.zip</include>
+                  </includes>
+                </fileSet>
+              </fileSets>
             </configuration>
           </plugin>
         </plugins>