Skip to content

Commit 7440af8

Browse files
committed
pom.xml
1 parent ac601c7 commit 7440af8

File tree

1 file changed

+111
-14
lines changed

1 file changed

+111
-14
lines changed

Diff for: pom.xml

+111-14
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99

1010
<name>hamcrest-more-matchers</name>
1111
<description>Additional matchers for Hamcrest Library</description>
12+
<url>https://github.com/seregamorph/hamcrest-more-matchers</url>
13+
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<maven.compiler.source>1.8</maven.compiler.source>
17+
<maven.compiler.target>1.8</maven.compiler.target>
18+
19+
<lombok.version>1.18.12</lombok.version>
20+
<hamcrest.version>1.3</hamcrest.version>
21+
<findbugs.version>3.0.0</findbugs.version>
22+
<javassist.version>3.24.0-GA</javassist.version>
23+
<junit.version>4.12</junit.version>
24+
25+
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
26+
</properties>
1227

1328
<developers>
1429
<developer>
@@ -24,19 +39,13 @@
2439
<developerConnection>scm:git:[email protected]:seregamorph/hamcrest-more-matchers.git</developerConnection>
2540
</scm>
2641

27-
<properties>
28-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29-
<maven.compiler.source>1.8</maven.compiler.source>
30-
<maven.compiler.target>1.8</maven.compiler.target>
31-
32-
<lombok.version>1.18.12</lombok.version>
33-
<hamcrest.version>1.3</hamcrest.version>
34-
<findbugs.version>3.0.0</findbugs.version>
35-
<javassist.version>3.24.0-GA</javassist.version>
36-
<junit.version>4.12</junit.version>
37-
38-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
39-
</properties>
42+
<licenses>
43+
<license>
44+
<name>Apache License, Version 2.0</name>
45+
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
46+
<distribution>repo</distribution>
47+
</license>
48+
</licenses>
4049

4150
<dependencies>
4251
<dependency>
@@ -88,7 +97,6 @@
8897
<version>3.6.2</version>
8998
</plugin>
9099
<plugin>
91-
<groupId>org.apache.maven.plugins</groupId>
92100
<artifactId>maven-source-plugin</artifactId>
93101
<version>3.2.0</version>
94102
<executions>
@@ -130,7 +138,96 @@
130138
</execution>
131139
</executions>
132140
</plugin>
141+
<plugin>
142+
<artifactId>maven-deploy-plugin</artifactId>
143+
<version>2.8.2</version>
144+
<executions>
145+
<execution>
146+
<id>default-deploy</id>
147+
<phase>deploy</phase>
148+
<goals>
149+
<goal>deploy</goal>
150+
</goals>
151+
</execution>
152+
</executions>
153+
</plugin>
154+
<plugin>
155+
<groupId>org.sonatype.plugins</groupId>
156+
<artifactId>nexus-staging-maven-plugin</artifactId>
157+
<version>1.6.7</version>
158+
<extensions>true</extensions>
159+
<configuration>
160+
<serverId>ossrh</serverId>
161+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
162+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
163+
</configuration>
164+
</plugin>
165+
<plugin>
166+
<groupId>org.codehaus.mojo</groupId>
167+
<artifactId>versions-maven-plugin</artifactId>
168+
<version>2.7</version>
169+
</plugin>
170+
<plugin>
171+
<groupId>org.apache.maven.plugins</groupId>
172+
<artifactId>maven-release-plugin</artifactId>
173+
<version>2.5.3</version>
174+
<configuration>
175+
<localCheckout>true</localCheckout>
176+
<pushChanges>false</pushChanges>
177+
<mavenExecutorId>forked-path</mavenExecutorId>
178+
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
179+
</configuration>
180+
<dependencies>
181+
<dependency>
182+
<groupId>org.apache.maven.scm</groupId>
183+
<artifactId>maven-scm-provider-gitexe</artifactId>
184+
<version>1.9.5</version>
185+
</dependency>
186+
</dependencies>
187+
</plugin>
133188
</plugins>
134189
</build>
135190

191+
<profiles>
192+
<profile>
193+
<id>release-sign-artifacts</id>
194+
<activation>
195+
<property>
196+
<name>performRelease</name>
197+
<value>true</value>
198+
</property>
199+
</activation>
200+
<build>
201+
<plugins>
202+
<plugin>
203+
<groupId>org.apache.maven.plugins</groupId>
204+
<artifactId>maven-gpg-plugin</artifactId>
205+
<version>1.6</version>
206+
<executions>
207+
<execution>
208+
<id>sign-artifacts</id>
209+
<phase>verify</phase>
210+
<goals>
211+
<goal>sign</goal>
212+
</goals>
213+
</execution>
214+
</executions>
215+
</plugin>
216+
</plugins>
217+
</build>
218+
</profile>
219+
</profiles>
220+
221+
<distributionManagement>
222+
<snapshotRepository>
223+
<id>ossrh</id>
224+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
225+
</snapshotRepository>
226+
<repository>
227+
<id>ossrh</id>
228+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/
229+
</url>
230+
</repository>
231+
</distributionManagement>
232+
136233
</project>

0 commit comments

Comments
 (0)