Skip to content

Commit d01b294

Browse files
authored
Merge pull request #147 from cherylking/updateSnapshotConfiguration
Updates to config for new Maven Central portal
2 parents 6507e07 + a8a6c8b commit d01b294

5 files changed

Lines changed: 120 additions & 20 deletions

File tree

.github/workflows/maven.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
os: [ubuntu-latest, windows-latest]
1616
java: [11, 17, 21]
1717
runtime: [ol, wlp-ee9, wlp-ee10]
18-
runtime_version: [24.0.0.9]
18+
runtime_version: [25.0.0.9]
19+
exclude:
20+
- java: 21
21+
runtime: wlp-ee9
1922

2023
steps:
2124
- uses: actions/checkout@v3

liberty-managed/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<artifactId>arquillian-liberty-managed-jakarta</artifactId>
1717
<name>Arquillian Container Liberty Jakarta Managed</name>
1818
<description>Jakarta Liberty Managed Container integration for the Arquillian Project</description>
19+
<url>https://github.com/OpenLiberty/liberty-arquillian</url>
1920

2021
<properties>
2122
<skipTests>false</skipTests>
@@ -75,7 +76,7 @@
7576
<plugin>
7677
<groupId>io.openliberty.tools</groupId>
7778
<artifactId>liberty-maven-plugin</artifactId>
78-
<version>3.7.1</version>
79+
<version>3.11.5</version>
7980
<configuration>
8081
<skip>${skipTests}</skip>
8182
<serverName>defaultServer</serverName>
@@ -163,7 +164,7 @@
163164
<plugin>
164165
<groupId>org.apache.maven.plugins</groupId>
165166
<artifactId>maven-dependency-plugin</artifactId>
166-
<version>3.1.1</version>
167+
<version>3.8.1</version>
167168
<executions>
168169
<execution>
169170
<id>extract-support-feature</id>
@@ -387,7 +388,7 @@
387388
<dependency>
388389
<groupId>commons-io</groupId>
389390
<artifactId>commons-io</artifactId>
390-
<version>2.14.0</version>
391+
<version>2.20.0</version>
391392
</dependency>
392393

393394
<!-- Jakarta EE Spec APIs -->

liberty-remote/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
<!-- Artifact Configuration -->
1212
<name>Arquillian Container Liberty Jakarta Remote</name>
1313
<description>Jakarta Liberty Remote Container integration for the Arquillian Project</description>
14+
<url>https://github.com/OpenLiberty/liberty-arquillian</url>
1415

1516
<properties>
1617
<skipTests>false</skipTests>
17-
<version.jackson>2.13.4.2</version.jackson>
18-
<version.apache.fluent.hc>4.5.6</version.apache.fluent.hc>
18+
<version.jackson>2.20.0</version.jackson>
19+
<version.apache.fluent.hc>4.5.14</version.apache.fluent.hc>
1920
<loggingPropertiesFile>${basedir}/src/test/resources/logging.properties</loggingPropertiesFile>
2021
</properties>
2122

@@ -102,7 +103,7 @@
102103
<plugin>
103104
<groupId>io.openliberty.tools</groupId>
104105
<artifactId>liberty-maven-plugin</artifactId>
105-
<version>3.7.1</version>
106+
<version>3.11.5</version>
106107
<executions>
107108
<execution>
108109
<id>start-server</id>

liberty-support-feature/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@
1616
<artifactId>arquillian-liberty-support-jakarta</artifactId>
1717
<name>Arquillian Container Liberty Support Jakarta Feature</name>
1818
<description>Jakarta Liberty Feature to support integration for the Arquillian Project</description>
19+
<url>https://github.com/OpenLiberty/liberty-arquillian</url>
1920

2021
<build>
2122
<plugins>
2223
<plugin>
2324
<groupId>org.codehaus.mojo</groupId>
2425
<artifactId>build-helper-maven-plugin</artifactId>
25-
<version>3.0.0</version>
26+
<version>3.6.1</version>
2627
<executions>
2728
<execution>
2829
<id>parse-version</id>
@@ -49,7 +50,7 @@
4950
<plugin>
5051
<groupId>org.apache.maven.plugins</groupId>
5152
<artifactId>maven-jar-plugin</artifactId>
52-
<version>3.2.2</version>
53+
<version>3.4.2</version>
5354
<configuration>
5455
<archive>
5556
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
@@ -78,7 +79,7 @@
7879

7980
<plugin>
8081
<artifactId>maven-resources-plugin</artifactId>
81-
<version>2.4.3</version>
82+
<version>3.3.1</version>
8283
<executions>
8384
<execution>
8485
<id>copy-resources</id>

pom.xml

Lines changed: 104 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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/maven-v4_0_0.xsd">
33

4-
<!-- Parent -->
5-
<parent>
6-
<groupId>net.wasdev.maven.parent</groupId>
7-
<artifactId>parent</artifactId>
8-
<version>1.4</version>
9-
<relativePath />
10-
</parent>
11-
124
<!-- Model Version -->
135
<modelVersion>4.0.0</modelVersion>
146

@@ -19,6 +11,7 @@
1911
<packaging>pom</packaging>
2012
<name>Arquillian Container Liberty Jakarta Parent</name>
2113
<description>Jakarta Liberty Container integrations for the Arquillian Project</description>
14+
<url>https://github.com/OpenLiberty/liberty-arquillian</url>
2215

2316
<licenses>
2417
<license>
@@ -28,24 +21,48 @@
2821
</license>
2922
</licenses>
3023

24+
<developers>
25+
<developer>
26+
<name>Cheryl King</name>
27+
<id>developers</id>
28+
<email>[email protected]</email>
29+
<organization>Open Liberty</organization>
30+
<url>https://github.com/OpenLiberty</url>
31+
</developer>
32+
</developers>
33+
3134
<scm>
3235
<connection>scm:git:[email protected]:OpenLiberty/liberty-arquillian.git</connection>
3336
<developerConnection>scm:git:[email protected]:OpenLiberty/liberty-arquillian.git</developerConnection>
3437
<url>[email protected]:OpenLiberty/liberty-arquillian.git</url>
3538
<tag>HEAD</tag>
3639
</scm>
3740

41+
<distributionManagement>
42+
<snapshotRepository>
43+
<id>maven-central-snapshots</id>
44+
<name>Maven Central Snapshot Repository</name>
45+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
46+
</snapshotRepository>
47+
<repository>
48+
<id>maven-central-releases</id>
49+
<name>Maven Central Release Repository</name>
50+
<url>https://central.sonatype.com/api/v1/publisher</url>
51+
</repository>
52+
</distributionManagement>
53+
3854
<!-- Properties -->
3955
<properties>
4056
<!-- Versioning -->
4157
<version.arquillian_core>1.9.1.Final</version.arquillian_core>
4258
<version.arquillian_jakarta>10.0.0.Final</version.arquillian_jakarta>
43-
<version.surefire.plugin>3.2.5</version.surefire.plugin>
59+
<version.surefire.plugin>3.5.4</version.surefire.plugin>
4460

4561
<!-- override from parent -->
4662
<maven.compiler.release>11</maven.compiler.release>
4763
<maven.compiler.target>11</maven.compiler.target>
4864
<maven.compiler.source>11</maven.compiler.source>
65+
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
4966

5067
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5168
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -83,6 +100,22 @@
83100
<module>liberty-support-feature</module>
84101
</modules>
85102

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+
86119
<!-- Profiles for WLP vs OL -->
87120
<profiles>
88121
<profile>
@@ -160,9 +193,70 @@
160193
<runtime>ol</runtime>
161194
<runtimeGroupId>io.openliberty</runtimeGroupId>
162195
<runtimeArtifactId>openliberty-runtime</runtimeArtifactId>
163-
<libertyVersion>23.0.0.3</libertyVersion>
196+
<libertyVersion>25.0.0.9</libertyVersion>
164197
</properties>
165198
</profile>
199+
<profile>
200+
<id>sonatype-oss-release</id>
201+
<build>
202+
<plugins>
203+
<plugin>
204+
<groupId>org.sonatype.central</groupId>
205+
<artifactId>central-publishing-maven-plugin</artifactId>
206+
<version>0.8.0</version>
207+
<extensions>true</extensions>
208+
<configuration>
209+
<publishingServerId>maven-central-releases</publishingServerId>
210+
<deploymentName>${project.artifactId}</deploymentName>
211+
</configuration>
212+
</plugin>
213+
<plugin>
214+
<groupId>org.apache.maven.plugins</groupId>
215+
<artifactId>maven-source-plugin</artifactId>
216+
<version>3.3.1</version>
217+
<executions>
218+
<execution>
219+
<id>attach-sources</id>
220+
<goals>
221+
<goal>jar-no-fork</goal>
222+
</goals>
223+
</execution>
224+
</executions>
225+
</plugin>
226+
<plugin>
227+
<groupId>org.apache.maven.plugins</groupId>
228+
<artifactId>maven-javadoc-plugin</artifactId>
229+
<version>3.11.2</version>
230+
<configuration>
231+
<bottom><![CDATA[Copyright &#169; {currentYear} the original author or authors.]]></bottom>
232+
<failOnError>false</failOnError>
233+
</configuration>
234+
<executions>
235+
<execution>
236+
<id>attach-javadocs</id>
237+
<goals>
238+
<goal>jar</goal>
239+
</goals>
240+
</execution>
241+
</executions>
242+
</plugin>
243+
<plugin>
244+
<groupId>org.apache.maven.plugins</groupId>
245+
<artifactId>maven-gpg-plugin</artifactId>
246+
<version>3.2.8</version>
247+
<executions>
248+
<execution>
249+
<id>sign-artifacts</id>
250+
<phase>verify</phase>
251+
<goals>
252+
<goal>sign</goal>
253+
</goals>
254+
</execution>
255+
</executions>
256+
</plugin>
257+
</plugins>
258+
</build>
259+
</profile>
166260
</profiles>
167261

168262
</project>

0 commit comments

Comments
 (0)