Skip to content

Commit 7471bab

Browse files
imetaxasimetaxas
imetaxas
authored and
imetaxas
committed
update pom
1 parent 98e74a3 commit 7471bab

File tree

1 file changed

+43
-3
lines changed

1 file changed

+43
-3
lines changed

pom.xml

+43-3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@
6464
<arguments>-e</arguments>
6565
</properties>
6666

67+
<distributionManagement>
68+
<repository>
69+
<id>oss.sonatype.org</id>
70+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
71+
</repository>
72+
<snapshotRepository>
73+
<id>oss.sonatype.org</id>
74+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
75+
</snapshotRepository>
76+
</distributionManagement>
77+
6778
<build>
6879
<pluginManagement>
6980
<plugins>
@@ -82,7 +93,39 @@
8293
<groupId>org.apache.maven.plugins</groupId>
8394
<artifactId>maven-gpg-plugin</artifactId>
8495
<version>1.6</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
85105
</plugin>
106+
107+
<plugin>
108+
<groupId>org.sonatype.plugins</groupId>
109+
<artifactId>nexus-staging-maven-plugin</artifactId>
110+
<version>1.6</version>
111+
<extensions>true</extensions>
112+
<configuration>
113+
<serverId>oss.sonatype.org</serverId>
114+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
115+
<description>${project.version}</description>
116+
</configuration>
117+
<executions>
118+
<execution>
119+
<id>deploy-to-sonatype</id>
120+
<phase>deploy</phase>
121+
<goals>
122+
<goal>deploy</goal>
123+
<goal>release</goal>
124+
</goals>
125+
</execution>
126+
</executions>
127+
</plugin>
128+
86129
<plugin>
87130
<groupId>org.apache.maven.plugins</groupId>
88131
<artifactId>maven-release-plugin</artifactId>
@@ -115,19 +158,16 @@
115158
</build>
116159

117160
<dependencies>
118-
119161
<dependency>
120162
<groupId>org.apache.commons</groupId>
121163
<artifactId>commons-io</artifactId>
122164
<version>1.3.2</version>
123165
</dependency>
124-
125166
<dependency>
126167
<groupId>junit</groupId>
127168
<artifactId>junit</artifactId>
128169
<version>4.12</version>
129170
<scope>test</scope>
130171
</dependency>
131-
132172
</dependencies>
133173
</project>

0 commit comments

Comments
 (0)