Merge pull request #6 from kemitix/issue-5-javadoc-and-sources-bad-signatures

Fix bad javadoc and sources signatures during deploy [#5]
This commit is contained in:
Paul Campbell 2016-01-07 11:01:09 +00:00
commit bfee6786a7

27
pom.xml
View file

@ -61,23 +61,21 @@
</activation> </activation>
<build> <build>
<plugins> <plugins>
<!-- plugin sequence: javadoc, sources, gpg, deploy -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>1.6</version> <version>2.10.3</version>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>attach-javadocs</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>sign</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin><!-- maven-gpg-plugin --> </plugin><!-- maven-javadoc-plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -96,18 +94,21 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>2.10.3</version> <version>1.6</version>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>sign-artifacts</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>jar</goal> <goal>sign</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin><!-- maven-javadoc-plugin --> </plugin><!-- maven-gpg-plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>