Skip to content

Commit c824bde

Browse files
authored
Merge pull request #483 from cherylking/updatePom
Update pom for new maven central portal
2 parents 6b6af4b + 27bcae5 commit c824bde

File tree

1 file changed

+125
-13
lines changed

1 file changed

+125
-13
lines changed

pom.xml

Lines changed: 125 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,67 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33

4-
<parent>
5-
<groupId>net.wasdev.maven.parent</groupId>
6-
<artifactId>parent</artifactId>
7-
<version>1.4</version>
8-
<relativePath />
9-
</parent>
10-
114
<groupId>io.openliberty.tools</groupId>
125
<artifactId>ci.common</artifactId>
136
<version>1.8.39-SNAPSHOT</version>
147
<packaging>jar</packaging>
158

169
<name>ci.common</name>
10+
<description>Common library for Open Liberty and WebSphere Liberty Maven and Gradle plugins.</description>
11+
<url>https://github.com/openliberty/ci.common</url>
1712

1813
<licenses>
1914
<license>
20-
<name>The Apache Software License, Version 2.0</name>
21-
<url>https://raw.github.com/openliberty/ci.common/main/LICENSE</url>
22-
<distribution>repo</distribution>
15+
<name>The Apache Software License, Version 2.0</name>
16+
<url>https://raw.github.com/openliberty/ci.common/main/LICENSE</url>
17+
<distribution>repo</distribution>
2318
</license>
2419
</licenses>
2520

21+
<developers>
22+
<developer>
23+
<name>Cheryl King</name>
24+
<email>developers@openliberty.io</email>
25+
<organization>Open Liberty</organization>
26+
<url>https://github.com/OpenLiberty</url>
27+
</developer>
28+
</developers>
29+
2630
<scm>
2731
<connection>scm:git:git@github.com:openliberty/ci.maven.git</connection>
2832
<developerConnection>scm:git:git@github.com:openliberty/ci.common.git</developerConnection>
2933
<url>git@github.com:openliberty/ci.common.git</url>
3034
<tag>HEAD</tag>
3135
</scm>
3236

37+
<distributionManagement>
38+
<snapshotRepository>
39+
<id>maven-central-snapshots</id>
40+
<name>Maven Central Snapshot Repository</name>
41+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
42+
</snapshotRepository>
43+
<repository>
44+
<id>maven-central-releases</id>
45+
<name>Maven Central Release Repository</name>
46+
<url>https://central.sonatype.com/api/v1/publisher</url>
47+
</repository>
48+
</distributionManagement>
49+
50+
<repositories>
51+
<!-- Configure Sonatype OSS Maven snapshots repository -->
52+
<repository>
53+
<id>sonatype-nexus-snapshots</id>
54+
<name>Sonatype Nexus Snapshots</name>
55+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
56+
<snapshots>
57+
<enabled>true</enabled>
58+
</snapshots>
59+
<releases>
60+
<enabled>false</enabled>
61+
</releases>
62+
</repository>
63+
</repositories>
64+
3365
<properties>
3466
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3567
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -48,7 +80,7 @@
4880
<dependency>
4981
<groupId>commons-io</groupId>
5082
<artifactId>commons-io</artifactId>
51-
<version>2.14.0</version>
83+
<version>2.20.0</version>
5284
</dependency>
5385
<dependency>
5486
<groupId>javax.xml.bind</groupId>
@@ -59,12 +91,92 @@
5991
<dependency>
6092
<groupId>io.openliberty.tools</groupId>
6193
<artifactId>liberty-ant-tasks</artifactId>
62-
<version>1.9.16</version>
94+
<version>1.9.17-SNAPSHOT</version>
6395
</dependency>
6496
<dependency>
6597
<groupId>com.fasterxml.jackson.core</groupId>
6698
<artifactId>jackson-core</artifactId>
67-
<version>2.15.2</version>
99+
<version>2.19.2</version>
68100
</dependency>
69101
</dependencies>
102+
103+
<build>
104+
<plugins>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-release-plugin</artifactId>
108+
<version>3.1.1</version>
109+
<configuration>
110+
<autoVersionSubmodules>true</autoVersionSubmodules>
111+
<useReleaseProfile>false</useReleaseProfile>
112+
<releaseProfiles>sonatype-oss-release</releaseProfiles>
113+
<goals>deploy</goals>
114+
</configuration>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
119+
<profiles>
120+
<profile>
121+
<id>sonatype-oss-release</id>
122+
<build>
123+
<plugins>
124+
<plugin>
125+
<groupId>org.sonatype.central</groupId>
126+
<artifactId>central-publishing-maven-plugin</artifactId>
127+
<version>0.8.0</version>
128+
<extensions>true</extensions>
129+
<configuration>
130+
<publishingServerId>maven-central-releases</publishingServerId>
131+
<deploymentName>${project.artifactId}</deploymentName>
132+
</configuration>
133+
</plugin>
134+
<plugin>
135+
<groupId>org.apache.maven.plugins</groupId>
136+
<artifactId>maven-source-plugin</artifactId>
137+
<version>3.3.1</version>
138+
<executions>
139+
<execution>
140+
<id>attach-sources</id>
141+
<goals>
142+
<goal>jar-no-fork</goal>
143+
</goals>
144+
</execution>
145+
</executions>
146+
</plugin>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-javadoc-plugin</artifactId>
150+
<version>3.11.2</version>
151+
<configuration>
152+
<bottom><![CDATA[Copyright &#169; {currentYear} the original author or authors.]]></bottom>
153+
<failOnError>false</failOnError>
154+
</configuration>
155+
<executions>
156+
<execution>
157+
<id>attach-javadocs</id>
158+
<goals>
159+
<goal>jar</goal>
160+
</goals>
161+
</execution>
162+
</executions>
163+
</plugin>
164+
<plugin>
165+
<groupId>org.apache.maven.plugins</groupId>
166+
<artifactId>maven-gpg-plugin</artifactId>
167+
<version>3.2.8</version>
168+
<executions>
169+
<execution>
170+
<id>sign-artifacts</id>
171+
<phase>verify</phase>
172+
<goals>
173+
<goal>sign</goal>
174+
</goals>
175+
</execution>
176+
</executions>
177+
</plugin>
178+
</plugins>
179+
</build>
180+
</profile>
181+
</profiles>
70182
</project>

0 commit comments

Comments
 (0)