Skip to content

Commit fab823c

Browse files
committed
fix: setting version in pom
1 parent 19b6e7f commit fab823c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

pom.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>se.bjurr.violations</groupId>
44
<artifactId>violations-maven-plugin</artifactId>
5-
<version>2.2.1</version>
5+
<version>2.2.2-SNAPSHOT</version>
66
<packaging>maven-plugin</packaging>
77
<name>violations-maven-plugin</name>
88
<description>Maven plugin that will find report files from static code analysis, present and optionally fail the
@@ -17,13 +17,6 @@
1717
<tag>violations-maven-plugin-2.2.1</tag>
1818
</scm>
1919

20-
<distributionManagement>
21-
<repository>
22-
<id>ossrh</id>
23-
<url>https://ossrh-staging-api.central.sonatype.com/service/local/</url>
24-
</repository>
25-
</distributionManagement>
26-
2720
<licenses>
2821
<license>
2922
<name>Apache License, Version 2.0</name>
@@ -124,6 +117,16 @@
124117
</checkModificationExcludes>
125118
</configuration>
126119
</plugin>
120+
<plugin>
121+
<groupId>org.sonatype.central</groupId>
122+
<artifactId>central-publishing-maven-plugin</artifactId>
123+
<version>0.7.0</version>
124+
<extensions>true</extensions>
125+
<configuration>
126+
<publishingServerId>central</publishingServerId>
127+
<autoPublish>true</autoPublish>
128+
</configuration>
129+
</plugin>
127130
<plugin>
128131
<groupId>se.bjurr.gitchangelog</groupId>
129132
<artifactId>git-changelog-maven-plugin</artifactId>

0 commit comments

Comments
 (0)