Skip to content

Commit

Permalink
Ajout checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
noemienicolas committed Oct 8, 2017
1 parent 482c487 commit 1263398
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
<maven-war-plugin.version>3.1.0</maven-war-plugin.version>
<maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
<checksum-maven-plugin.version>1.4</checksum-maven-plugin.version>
</properties>

<prerequisites>
Expand Down Expand Up @@ -95,6 +96,33 @@
<build>
<finalName>ROOT##${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>${checksum-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>files</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
</algorithms>
<attachChecksums>true</attachChecksums>
<fileSets>
<fileSet>
<directory>target</directory>
<includes>
<include>ROOT##${project.artifactId}-${project.version}.war</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</plugin>
<plugin>
<groupId>com.versioneye</groupId>
<artifactId>versioneye-maven-plugin</artifactId>
Expand Down

0 comments on commit 1263398

Please sign in to comment.