Skip to content

Commit 0667a5b

Browse files
committed
Don't use Jakarta Staging repository
since we now have all the dependencies we needed at Maven Central
1 parent 9ea963f commit 0667a5b

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

pom.xml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@
295295
<mavencentral.repo.url>https://repo.maven.apache.org/maven2/</mavencentral.repo.url>
296296

297297
<!-- Jakarta Staging repository -->
298-
<!-- Can be used for versions of Validation TCK/API -->
298+
<!-- Can be used for versions of Validation TCK/API that are not yet available at Maven Central -->
299+
<!-- This repository is currently not activated -->
299300
<jakarta.staging.repo.id>jakarta-staging</jakarta.staging.repo.id>
300301
<jakarta.staging.repo.url>https://jakarta.oss.sonatype.org/content/repositories/staging/</jakarta.staging.repo.url>
301302

@@ -1620,14 +1621,6 @@
16201621
<tag>HEAD</tag>
16211622
</scm>
16221623

1623-
<repositories>
1624-
<repository>
1625-
<id>${jakarta.staging.repo.id}</id>
1626-
<name>Jakarta OSS Staging Repository</name>
1627-
<url>${jakarta.staging.repo.url}</url>
1628-
</repository>
1629-
</repositories>
1630-
16311624
<distributionManagement>
16321625
<repository>
16331626
<id>${ossrh.releases.repo.id}</id>
@@ -1921,6 +1914,19 @@
19211914
</pluginManagement>
19221915
</build>
19231916
</profile>
1917+
<profile>
1918+
<id>jakarta-staging</id>
1919+
<!-- Use something like: -->
1920+
<!-- <activation><jdk>[17,)</jdk></activation> -->
1921+
<!-- When needing to use this staging repository by default and hence activate the profile. -->
1922+
<repositories>
1923+
<repository>
1924+
<id>${jakarta.staging.repo.id}</id>
1925+
<name>Jakarta OSS Staging Repository</name>
1926+
<url>${jakarta.staging.repo.url}</url>
1927+
</repository>
1928+
</repositories>
1929+
</profile>
19241930

19251931
<profile>
19261932
<id>coverage</id>

0 commit comments

Comments
 (0)