-
Notifications
You must be signed in to change notification settings - Fork 55
Description
The doc
https://openliberty.io/docs/latest/send-receive-multipart-jaxrs.html
has the following snippet:
<dependency>
<groupId>io.openliberty.api</groupId>
<artifactId>io.openliberty.jaxrs30</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
The value in the is incorrect as it doesn't map to any of the versions we actually provide:
https://repo1.maven.org/maven2/io/openliberty/api/io.openliberty.jaxrs30/
I believe the same is also true for the :1.0 portion of the build.gradle snippet that follow the above maven one.
However, this is a bit complicated as we ship a 'new' version with each release. For example, the latest 1.0.106 version maps to the latest Liberty release (25.0.0.10).
One solution would be to update (increment by one) the version in the doc with every Liberty release, but that seems like a bothersome task, unless it gets automated. Another option would be to use a placeholder in the version and explain this, though that seems like a worse user experience.
Since this is not the only maven/gradle dependency that relies on this pattern, I think the first choice (with automation) is the way to go as I could see the want/need to do this in other places in the documentation as well.