Skip to content

Commit ad3dfaa

Browse files
author
Damien Dallimore
committed
maven central publishing
1 parent 58fb5e9 commit ad3dfaa

File tree

1 file changed

+52
-6
lines changed

1 file changed

+52
-6
lines changed

pom.xml

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
<version>1.7.5</version>
4949
</dependency>
5050
<dependency>
51-
<groupId>org.apache.logging.log4j.adapters</groupId>
51+
<groupId>org.apache.logging.log4j</groupId>
5252
<artifactId>log4j-slf4j-impl</artifactId>
53-
<version>2.0-beta9</version>
53+
<version>2.0</version>
5454
</dependency>
5555
<dependency>
5656
<groupId>org.slf4j</groupId>
@@ -70,22 +70,22 @@
7070
<dependency>
7171
<groupId>ch.qos.logback</groupId>
7272
<artifactId>logback-classic</artifactId>
73-
<version>1.0.13</version>
73+
<version>1.1.3</version>
7474
</dependency>
7575
<dependency>
7676
<groupId>ch.qos.logback</groupId>
7777
<artifactId>logback-core</artifactId>
78-
<version>1.0.13</version>
78+
<version>1.1.3</version>
7979
</dependency>
8080
<dependency>
8181
<groupId>org.apache.logging.log4j</groupId>
8282
<artifactId>log4j-api</artifactId>
83-
<version>2.0-beta9</version>
83+
<version>2.3</version>
8484
</dependency>
8585
<dependency>
8686
<groupId>org.apache.logging.log4j</groupId>
8787
<artifactId>log4j-core</artifactId>
88-
<version>2.0-beta9</version>
88+
<version>2.3</version>
8989
</dependency>
9090
</dependencies>
9191
<repositories>
@@ -95,9 +95,55 @@
9595
</repository>
9696
</repositories>
9797
<url>https://github.com/damiendallimore/SplunkJavaLogging</url>
98+
<distributionManagement>
99+
<snapshotRepository>
100+
<id>ossrh</id>
101+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
102+
</snapshotRepository>
103+
<repository>
104+
<id>ossrh</id>
105+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
106+
</repository>
107+
</distributionManagement>
98108
<build>
99109
<pluginManagement>
100110
<plugins>
111+
<plugin>
112+
<groupId>org.sonatype.plugins</groupId>
113+
<artifactId>nexus-staging-maven-plugin</artifactId>
114+
<version>1.6.3</version>
115+
<extensions>true</extensions>
116+
<configuration>
117+
<serverId>ossrh</serverId>
118+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
119+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
120+
</configuration>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-gpg-plugin</artifactId>
125+
<version>1.5</version>
126+
<executions>
127+
<execution>
128+
<id>sign-artifacts</id>
129+
<phase>verify</phase>
130+
<goals>
131+
<goal>sign</goal>
132+
</goals>
133+
</execution>
134+
</executions>
135+
</plugin>
136+
<plugin>
137+
<groupId>org.sonatype.plugins</groupId>
138+
<artifactId>nexus-staging-maven-plugin</artifactId>
139+
<version>1.6.3</version>
140+
<extensions>true</extensions>
141+
<configuration>
142+
<serverId>ossrh</serverId>
143+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
144+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
145+
</configuration>
146+
</plugin>
101147
<plugin>
102148
<groupId>com.google.code.sortpom</groupId>
103149
<artifactId>maven-sortpom-plugin</artifactId>

0 commit comments

Comments
 (0)