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

valdar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 94246b414e755925086141e3743170b37123b7f3
Author: Andrea Tarocchi <andrea.taroc...@gmail.com>
AuthorDate: Tue Apr 28 22:31:54 2020 +0200

    Resolved a maven warning and added SHA512 checksum generation.
---
 parent/pom.xml |  7 ++++---
 pom.xml        | 31 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index f5e1e29..c930377 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2,9 +2,10 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache</groupId>
-        <artifactId>apache</artifactId>
-        <version>21</version>
+        <groupId>org.apache.camel.kafkaconnector</groupId>
+        <artifactId>camel-kafka-connector-aggregator</artifactId>
+        <version>0.2.0-SNAPSHOT</version>
+        <relativePath>..</relativePath>
     </parent>
 
     <groupId>org.apache.camel.kafkaconnector</groupId>
diff --git a/pom.xml b/pom.xml
index 6376b52..37402be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,7 @@
         <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
         <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
         <maven-source-plugin.version>3.1.0</maven-source-plugin.version>
+        
<maven-checksum-maven-plugin.version>1.7</maven-checksum-maven-plugin.version>
     </properties>
 
     <modules>
@@ -303,6 +304,36 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>net.nicoulaj.maven.plugins</groupId>
+                        <artifactId>checksum-maven-plugin</artifactId>
+                        
<version>${maven-checksum-maven-plugin.version}</version>
+                        <executions>
+                            <execution>
+                                <id>source-release-checksum</id>
+                                <goals>
+                                    <goal>files</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <algorithms>
+                                <algorithm>SHA-512</algorithm>
+                            </algorithms>
+                            <csvSummary>false</csvSummary>
+                            <fileSets>
+                                <fileSet>
+                                    
<directory>${project.build.directory}</directory>
+                                    <includes>
+                                        
<include>${project.artifactId}-${project.version}.jar</include>
+                                        
<include>${project.artifactId}-${project.version}-package.zip</include>
+                                        
<include>${project.artifactId}-${project.version}-package.tar*</include>
+                                    </includes>
+                                </fileSet>
+                            </fileSets>
+                            <failIfNoFiles>false</failIfNoFiles><!-- usually, 
no file to do checksum: don't consider error -->
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

Reply via email to