Skip to content

Commit 035707b

Browse files
committed
Update pom for maven central release
1 parent 1082f6f commit 035707b

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

pom.xml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,113 @@
100100
</argLine>
101101
</configuration>
102102
</plugin>
103+
<plugin>
104+
<artifactId>maven-deploy-plugin</artifactId>
105+
<version>2.8.2</version>
106+
<executions>
107+
<execution>
108+
<id>default-deploy</id>
109+
<phase>deploy</phase>
110+
<goals>
111+
<goal>deploy</goal>
112+
</goals>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-release-plugin</artifactId>
119+
<version>2.5.3</version>
120+
<configuration>
121+
<localCheckout>true</localCheckout>
122+
<pushChanges>false</pushChanges>
123+
<mavenExecutorId>forked-path</mavenExecutorId>
124+
</configuration>
125+
<dependencies>
126+
<dependency>
127+
<groupId>org.apache.maven.scm</groupId>
128+
<artifactId>maven-scm-provider-gitexe</artifactId>
129+
<version>1.9.5</version>
130+
</dependency>
131+
</dependencies>
132+
</plugin>
133+
<plugin>
134+
<groupId>org.sonatype.plugins</groupId>
135+
<artifactId>nexus-staging-maven-plugin</artifactId>
136+
<version>1.6.7</version>
137+
<extensions>true</extensions>
138+
<configuration>
139+
<serverId>ossrh</serverId>
140+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
141+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
142+
</configuration>
143+
</plugin>
144+
<plugin>
145+
<groupId>org.apache.maven.plugins</groupId>
146+
<artifactId>maven-source-plugin</artifactId>
147+
<version>3.0.1</version>
148+
<executions>
149+
<execution>
150+
<id>attach-sources</id>
151+
<goals>
152+
<goal>jar</goal>
153+
</goals>
154+
</execution>
155+
<execution>
156+
<id>attach-javadoc</id>
157+
<goals>
158+
<goal>jar</goal>
159+
</goals>
160+
</execution>
161+
</executions>
162+
</plugin>
103163
</plugins>
104164
</build>
165+
166+
<distributionManagement>
167+
<snapshotRepository>
168+
<id>ossrh</id>
169+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
170+
</snapshotRepository>
171+
<repository>
172+
<id>ossrh</id>
173+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/
174+
</url>
175+
</repository>
176+
</distributionManagement>
177+
178+
<scm>
179+
<url>https://github.com/exceptionless/Exceptionless.Java</url>
180+
<tag>HEAD</tag>
181+
</scm>
182+
183+
<profiles>
184+
<profile>
185+
<id>release-sign-artifacts</id>
186+
<activation>
187+
<property>
188+
<name>performRelease</name>
189+
<value>true</value>
190+
</property>
191+
</activation>
192+
<build>
193+
<plugins>
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-gpg-plugin</artifactId>
197+
<version>1.6</version>
198+
<executions>
199+
<execution>
200+
<id>sign-artifacts</id>
201+
<phase>verify</phase>
202+
<goals>
203+
<goal>sign</goal>
204+
</goals>
205+
</execution>
206+
</executions>
207+
</plugin>
208+
</plugins>
209+
</build>
210+
</profile>
211+
</profiles>
105212
</project>

0 commit comments

Comments
 (0)