TAMAYA-408 Added sha1/md5 checksum generation to dist projects.
diff --git a/distribution/pom.xml b/distribution/pom.xml
index a64121a..6a977a6 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -169,4 +169,41 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.8</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>artifacts</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <individualFiles>true</individualFiles>
+ <attachChecksums>true</attachChecksums>
+ <failOnError>false</failOnError>
+ <algorithms>
+ <algorithm>MD5</algorithm>
+ <algorithm>SHA-1</algorithm>
+ </algorithms>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>