Skip to content

Commit 0b0878c

Browse files
authored
Update pom.xml
1 parent 24a59d6 commit 0b0878c

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

innersource-maven-plugin/pom.xml

+34-1
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,38 @@
122122
</executions>
123123
</plugin>
124124
</plugins>
125-
</build>
125+
</build>
126+
127+
<profiles>
128+
<profile>
129+
<id>sign</id>
130+
<build>
131+
<plugins>
132+
<plugin>
133+
<groupId>org.apache.maven.plugins</groupId>
134+
<artifactId>maven-gpg-plugin</artifactId>
135+
<version>3.0.1</version>
136+
<executions>
137+
<execution>
138+
<id>sign-artifacts</id>
139+
<phase>verify</phase>
140+
<goals>
141+
<goal>sign</goal>
142+
</goals>
143+
<configuration>
144+
<keyname>${env.GPG_KEYID}</keyname>
145+
<passphraseServerId>${env.GPG_KEYID}</passphraseServerId>
146+
<gpgArguments>
147+
<arg>--pinentry-mode</arg>
148+
<arg>loopback</arg>
149+
</gpgArguments>
150+
</configuration>
151+
</execution>
152+
</executions>
153+
</plugin>
154+
</plugins>
155+
</build>
156+
</profile>
157+
</profiles>
158+
126159
</project>

0 commit comments

Comments
 (0)