Hi,
I saw some discussion on the Jakarta Platform mailing list [1][2] asking
about this topic and wanted to make sure that all WildFly developers are
aware of how to access Jakarta EE 10 SPEC APIs that are staged but not
yet released to Maven Central (or whatever public repo).
The Jakarta EE staging repo [3] is specifically for Eclipse projects to
stage artifacts for development of an EE release. Once the SPEC API
artifact is officially released, it should be removed from [3]. The
contract is that staged artifacts can be deleted and or updated.
To get access to the staged artifacts, we can either update our
~/.m2/settings.xml [4] or add [3] to our project poms.
So that explains how we can access staged SPEC APIs. There are also
some implementation artifacts staged on [3] like EclipseLink, Yasson,
others.
Scott
[1]
https://www.eclipse.org/lists/jakartaee-platform-dev/msg03135.html
[2]
https://www.eclipse.org/lists/jakartaee-platform-dev/threads.html#03135
[3]
https://jakarta.oss.sonatype.org/content/repositories/staging
[4] settings.xml:
<profile>
<id>jakartastaging</id>
<repositories>
<repository>
<id>jakarta-staging</id>
<name>Jakarta Staging</name>
<
url>https://jakarta.oss.sonatype.org/content/repositories/staging/<...
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jakartastaging</activeProfile>
.
.
.
</activeProfiles>
</settings>