Skip to content

Commit 230dfc4

Browse files
authored
chore: fix pom for release (#710)
1 parent c655b12 commit 230dfc4

File tree

1 file changed

+9
-33
lines changed

1 file changed

+9
-33
lines changed

pom.xml

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -29,38 +29,6 @@
2929
<tag>4.8.0</tag>
3030
</scm>
3131
<profiles>
32-
<profile>
33-
<id>gpg</id>
34-
<activation>
35-
<activeByDefault>false</activeByDefault>
36-
</activation>
37-
<build>
38-
<plugins>
39-
<plugin>
40-
<groupId>org.apache.maven.plugins</groupId>
41-
<artifactId>maven-gpg-plugin</artifactId>
42-
<version>1.6</version>
43-
<executions>
44-
<execution>
45-
<id>sign-artifacts</id>
46-
<phase>verify</phase>
47-
<goals>
48-
<goal>sign</goal>
49-
</goals>
50-
</execution>
51-
</executions>
52-
<configuration>
53-
<keyname>${gpg.keyname}</keyname>
54-
<passphrase>${gpg.passphrase}</passphrase>
55-
<gpgArguments>
56-
<arg>--pinentry-mode</arg>
57-
<arg>loopback</arg>
58-
</gpgArguments>
59-
</configuration>
60-
</plugin>
61-
</plugins>
62-
</build>
63-
</profile>
6432
<profile>
6533
<id>release</id>
6634
<activation>
@@ -118,6 +86,14 @@
11886
<goals>
11987
<goal>sign</goal>
12088
</goals>
89+
<configuration>
90+
<keyname>${gpg.keyname}</keyname>
91+
<passphrase>${gpg.passphrase}</passphrase>
92+
<gpgArguments>
93+
<arg>--pinentry-mode</arg>
94+
<arg>loopback</arg>
95+
</gpgArguments>
96+
</configuration>
12197
</execution>
12298
</executions>
12399
</plugin>
@@ -330,4 +306,4 @@
330306
</plugin>
331307
</plugins>
332308
</reporting>
333-
</project>
309+
</project>

0 commit comments

Comments
 (0)