Skip to content

Commit 07c38c1

Browse files
committed
Release repository and profile to sign artifacts
1 parent 0890bd6 commit 07c38c1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
</build>
8282

8383
<distributionManagement>
84+
<repository>
85+
<id>gate-oss</id>
86+
<name>Sonatype OSS staging</name>
87+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
88+
<layout>default</layout>
89+
</repository>
8490
<snapshotRepository>
8591
<id>gate.snapshots</id>
8692
<name>GATE Snapshots Repository</name>
@@ -89,4 +95,27 @@
8995
</snapshotRepository>
9096
</distributionManagement>
9197

98+
<profiles>
99+
<profile>
100+
<id>gpg-sign</id>
101+
<build>
102+
<plugins>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-gpg-plugin</artifactId>
106+
<version>1.6</version>
107+
<executions>
108+
<execution>
109+
<id>sign-artifacts</id>
110+
<phase>verify</phase>
111+
<goals>
112+
<goal>sign</goal>
113+
</goals>
114+
</execution>
115+
</executions>
116+
</plugin>
117+
</plugins>
118+
</build>
119+
</profile>
120+
</profiles>
92121
</project>

0 commit comments

Comments
 (0)