Skip to content

Commit

Permalink
docs: remove unnecessary versions (#544)
Browse files Browse the repository at this point in the history
* docs: remove unnecessary versions

* docs: remove unnecessary versions
  • Loading branch information
wetted authored Aug 8, 2023
1 parent ca3b510 commit 31c6b6c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/main/docs/guide/jsonbAnnotations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Note that only the annotations are supported and the runtime APIs are not, hence
.`jakarta.json.bind-api` as `compileOnly` scope
[source,groovy]
----
compileOnly("jakarta.json.bind:jakarta.json.bind-api:2.0.0")
compileOnly("jakarta.json.bind:jakarta.json.bind-api")
----

or Maven:
Expand All @@ -16,7 +16,6 @@ or Maven:
<dependency>
<groupId>jakarta.json.bind</groupId>
<artifactId>jakarta.json.bind-api</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>
----
Expand Down
2 changes: 1 addition & 1 deletion src/main/docs/guide/quickStart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ There are a number of ways to use Micronaut Serialization including a choice of

The first step however is configure the necessary annotation processor dependency:

dependency:micronaut-serde-processor[groupId="io.micronaut.serde",scope="annotationProcessor", version="{version}"]
dependency:micronaut-serde-processor[groupId="io.micronaut.serde",scope="annotationProcessor"]

You should then choose a combination of Annotation-based programming model and runtime implementation that you desire.

2 changes: 1 addition & 1 deletion src/main/docs/guide/quickStart/bsonQuick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ To completely remove all dependencies on Jackson and use https://mongodb.github.

Add the following artifact to the `dependencies` block:

dependency:micronaut-serde-bson[groupId="io.micronaut.serde",scope="implementation", version="{version}"]
dependency:micronaut-serde-bson[groupId="io.micronaut.serde",scope="implementation"]

WARNING: If your third-party dependencies have direct dependencies on Jackson Databind it may not be an option to omit it.

Expand Down
2 changes: 1 addition & 1 deletion src/main/docs/guide/quickStart/jacksonQuick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ To replace Jackson Databind, but continue using https://fasterxml.github.io/jack

Add the following artifact to the `dependencies` block:

dependency:micronaut-serde-jackson[groupId="io.micronaut.serde",scope="implementation", version="{version}"]
dependency:micronaut-serde-jackson[groupId="io.micronaut.serde",scope="implementation"]

With the correct dependencies in place you can now define an object to be serialized:

Expand Down
2 changes: 1 addition & 1 deletion src/main/docs/guide/quickStart/jsonpQuick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ To completely remove all dependencies on Jackson and use JSON-B annotations in y

Add the following artifact to the `dependencies` block:

dependency:micronaut-serde-jsonp[groupId="io.micronaut.serde",scope="implementation", version="{version}"]
dependency:micronaut-serde-jsonp[groupId="io.micronaut.serde",scope="implementation"]

WARNING: If your third-party dependencies have direct dependencies on Jackson Databind it may not be an option to omit it.

Expand Down

0 comments on commit 31c6b6c

Please sign in to comment.