Skip to content

Commit 39704df

Browse files
committed
update-fix: add SCM information and GPG signing configuration to pom.xml
1 parent 26ff7fa commit 39704df

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

pom.xml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,18 @@
2929
</license>
3030
</licenses>
3131

32+
<scm>
33+
<connection>scm:git:git://github.com/kinsleykajiva/janus-server-java-sdk.git</connection>
34+
<developerConnection>scm:git:ssh://github.com:kinsleykajiva/janus-server-java-sdk.git</developerConnection>
35+
<url>https://github.com/kinsleykajiva/janus-server-java-sdk/tree/main</url>
36+
</scm>
37+
3238
<properties>
3339
<maven.compiler.source>21</maven.compiler.source>
3440
<maven.compiler.target>21</maven.compiler.target>
3541
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3642
</properties>
43+
3744
<dependencies>
3845
<dependency>
3946
<groupId>org.slf4j</groupId>
@@ -56,6 +63,7 @@
5663
<version>1.0.0</version>
5764
</dependency>
5865
</dependencies>
66+
5967
<build>
6068
<plugins>
6169
<plugin>
@@ -84,7 +92,6 @@
8492
</execution>
8593
</executions>
8694
</plugin>
87-
8895
</plugins>
8996
</build>
9097

@@ -93,7 +100,36 @@
93100
<id>release</id>
94101
<build>
95102
<plugins>
96-
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-gpg-plugin</artifactId>
106+
<version>3.0.1</version>
107+
<executions>
108+
<execution>
109+
<id>sign-artifacts</id>
110+
<phase>verify</phase>
111+
<goals>
112+
<goal>sign</goal>
113+
</goals>
114+
<configuration>
115+
<gpgArguments>
116+
<arg>--pinentry-mode</arg>
117+
<arg>loopback</arg>
118+
</gpgArguments>
119+
</configuration>
120+
</execution>
121+
</executions>
122+
</plugin>
123+
<plugin>
124+
<groupId>org.sonatype.central</groupId>
125+
<artifactId>central-publishing-maven-plugin</artifactId>
126+
<version>0.6.0</version>
127+
<extensions>true</extensions>
128+
<configuration>
129+
<publishingServerId>central</publishingServerId>
130+
<autoPublish>true</autoPublish>
131+
</configuration>
132+
</plugin>
97133
</plugins>
98134
</build>
99135
</profile>

0 commit comments

Comments
 (0)