Skip to content

Commit

Permalink
Jakarta - Remove remaining javax instances in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Feb 2, 2023
1 parent fcb7e7b commit 376827b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/main/asciidoc/resteasy-reactive.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ include::_attributes.adoc[]
:mutinyapi: https://javadoc.io/doc/io.smallrye.reactive/mutiny/1.6.0
:httpspec: https://tools.ietf.org/html/rfc7231
:jsonpapi: https://javadoc.io/doc/javax.json/javax.json-api/1.1.4
:injectapi: https://javadoc.io/static/jakarta.inject/jakarta.inject/1
:vertxapi: https://javadoc.io/doc/io.vertx/vertx-core/latest/index.html
:resteasy-reactive-api: https://javadoc.io/doc/io.quarkus.resteasy.reactive/resteasy-reactive/{quarkus-version}
:resteasy-reactive-common-api: https://javadoc.io/doc/io.quarkus.resteasy.reactive/resteasy-reactive-common/{quarkus-version}
Expand Down Expand Up @@ -1068,7 +1069,7 @@ public class Endpoint {
----

You can also inject those context objects using
https://javadoc.io/static/javax.inject/javax.inject/1/javax/inject/Inject.html[`@Inject`] on fields of the same
{injectapi}/javax/inject/Inject.html[`@Inject`] on fields of the same
type:

[source,java]
Expand Down
5 changes: 5 additions & 0 deletions jakarta/transform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,12 @@ find integration-tests/gradle -name build.gradle | xargs sed -i 's/javax.ws.rs.P

transform_documentation
sed -i 's@javax/ws/rs@jakarta/ws/rs@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@javax/json@jakarta/json@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@javax/inject@jakarta/inject@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@https://javadoc.io/doc/jakarta.ws.rs/jakarta.ws.rs-api/2.1.1@https://javadoc.io/doc/jakarta.ws.rs/jakarta.ws.rs-api/3.1.0@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@https://javadoc.io/doc/io.smallrye.reactive/mutiny/1.6.0@https://javadoc.io/doc/io.smallrye.reactive/mutiny/2.1.0@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@https://javadoc.io/doc/javax.json/javax.json-api/1.1.4@https://javadoc.io/doc/jakarta.json/jakarta.json-api/2.1.1@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@https://javadoc.io/static/jakarta.inject/jakarta.inject/1@https://javadoc.io/static/jakarta.inject/jakarta.inject-api/2.0.1@g' docs/src/main/asciidoc/resteasy-reactive.adoc
sed -i 's@/specs/jaxrs/2.1/index.html@https://jakarta.ee/specifications/restful-ws/3.1/jakarta-restful-ws-spec-3.1.html@g' docs/src/main/asciidoc/resteasy-reactive.adoc

# Clean some Transformer issues
Expand Down

0 comments on commit 376827b

Please sign in to comment.