Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
b56e85b
Merge branch '2.10'
cowtowncoder Sep 10, 2019
a4fb1ae
Merge branch '2.10'
cowtowncoder Sep 10, 2019
13aad57
Add Tidelift stuff
cowtowncoder Sep 12, 2019
ecef400
Add full ASL LICENSE instead of symlink
cowtowncoder Sep 12, 2019
a05e025
...
cowtowncoder Sep 12, 2019
b804f60
Merge branch 'master' of github.com:FasterXML/jackson-annotations
cowtowncoder Sep 12, 2019
db985e9
Update README, add Tidelift status marker
cowtowncoder Sep 12, 2019
a2cea32
...
cowtowncoder Sep 12, 2019
af0b790
try to fix link to Tidelift
cowtowncoder Sep 12, 2019
65bb503
Add 2.10 in travis as active
cowtowncoder Sep 12, 2019
b86f30a
add coverage status
cowtowncoder Sep 12, 2019
d2b7727
...
cowtowncoder Sep 12, 2019
1b6d5b6
Try to make coveralls work
cowtowncoder Sep 13, 2019
f99eb24
Remove coveralls
cowtowncoder Sep 13, 2019
7af956a
Merge branch '2.10'
cowtowncoder Sep 17, 2019
a226f35
Merge branch '2.10'
cowtowncoder Sep 26, 2019
de70d81
Merge branch '2.11'
cowtowncoder Oct 5, 2019
9ae6f7f
Merge branch '2.11'
cowtowncoder Oct 8, 2019
57ec12c
Add support section
phated Nov 1, 2019
38ac75a
Merge pull request #164 from phated/patch-1
cowtowncoder Nov 1, 2019
8d73979
Merge branch '2.11'
cowtowncoder Nov 9, 2019
c2789d4
Merge branch 'master' of github.com:FasterXML/jackson-annotations
cowtowncoder Nov 9, 2019
f0521be
manual pom.xml merge
cowtowncoder Nov 9, 2019
a991c43
Minor change to `@JsonInclude` defaults
cowtowncoder Dec 26, 2019
968acf2
Merge branch '2.11'
cowtowncoder Jan 5, 2020
c53f26a
JsonAnySetter: fix typo, improve grammar
perlun Jan 13, 2020
03db138
Merge pull request #166 from perlun/patch-1
cowtowncoder Jan 13, 2020
4a79b27
Merge branch '2.11'
cowtowncoder Jan 14, 2020
4fd204e
Merge branch 'master' of github.com:FasterXML/jackson-annotations
cowtowncoder Jan 14, 2020
9e221b3
Merge branch '2.11'
cowtowncoder Jan 29, 2020
d01aa49
...
cowtowncoder Jan 29, 2020
b71fbc2
Merge branch '2.11'
cowtowncoder Mar 3, 2020
72ad166
Merge branch '2.11'
cowtowncoder Mar 21, 2020
3953966
Merge branch '2.11'
cowtowncoder Mar 24, 2020
bc27124
Merge branch '2.11'
cowtowncoder Mar 24, 2020
8ea5a7d
Remove obsolete links from README as per #169
cowtowncoder Apr 24, 2020
965a336
Merge branch '2.11'
cowtowncoder Apr 25, 2020
c0d0065
Merge branch '2.12'
cowtowncoder Apr 27, 2020
1688302
Merge branch '2.12'
cowtowncoder May 2, 2020
6e30b18
implement 171
swayamraina Jun 11, 2020
2a93208
implement 171
swayamraina Jun 11, 2020
f269a9e
Merge branch 'issue-171' of github.com:swayamraina/jackson-annotation…
swayamraina Jun 11, 2020
0b94925
Merge branch '2.12'
cowtowncoder Jun 12, 2020
e22d46e
Change #172 for master (3.0-SNAPSHOT)
cowtowncoder Jun 12, 2020
3066ffb
Merge pull request #172 from swayamraina/issue-171
cowtowncoder Jul 11, 2020
cfee574
Merge branch '2.12'
cowtowncoder Jul 11, 2020
629886e
Fix travis publish settings for 3.0
cowtowncoder Jul 11, 2020
f38ed2c
Merge branch '2.12'
cowtowncoder Jul 24, 2020
da302fa
Try to fix 3.0 snapshot build
cowtowncoder Jul 24, 2020
8b8be41
snapshot deploy not yet working
cowtowncoder Jul 24, 2020
e1b8631
Merge branch '2.12'
cowtowncoder Aug 1, 2020
94deea4
Merge branch '2.12'
cowtowncoder Aug 14, 2020
d3f8026
Merge branch '2.12'
cowtowncoder Oct 12, 2020
5508d99
Merge branch '2.12'
cowtowncoder Oct 14, 2020
3453061
warnings removal
cowtowncoder Oct 15, 2020
7ddcf1a
Merge branch '2.12'
cowtowncoder Oct 20, 2020
a2d3a2b
Manual merge of #178 (change to adding LICENSE during build)
cowtowncoder Oct 20, 2020
e234614
Merge branch '2.12'
cowtowncoder Oct 24, 2020
8bd5b1e
Merge branch '2.12'
cowtowncoder Nov 2, 2020
3fdc3d3
Merge branch '2.12'
cowtowncoder Nov 12, 2020
c1fc291
minor cleanup wrt prev change
cowtowncoder Nov 12, 2020
7741cc2
Merge branch '2.12'
cowtowncoder Nov 12, 2020
c9c7d18
Merge branch '2.12'
cowtowncoder Nov 13, 2020
1b88d30
Merge branch '2.12'
cowtowncoder Nov 14, 2020
401445d
Merge branch '2.12'
cowtowncoder Nov 15, 2020
f983d5a
Merge branch '2.12'
cowtowncoder Nov 15, 2020
cfcc44d
Merge branch '2.12'
cowtowncoder Nov 29, 2020
20144af
Add 3.0 snapshot javadocs
cowtowncoder Jan 4, 2021
c605dc2
Merge branch '2.13'
cowtowncoder Jan 10, 2021
f1abb4b
Merge branch '2.13'
cowtowncoder Feb 5, 2021
0a58626
Merge branch '2.13'
cowtowncoder Mar 3, 2021
97bd38b
fix docs: com.foobar -> com.foo(wrong example) (#188)
iseki0 May 8, 2021
53b0e82
Merge branch '2.13'
cowtowncoder Jun 24, 2021
805ccb1
Merge branch 'master' of github.com:FasterXML/jackson-annotations
cowtowncoder Jun 24, 2021
c1875d1
Merge branch '2.13'
cowtowncoder Jun 27, 2021
6a0efea
Merge branch '2.13'
cowtowncoder Jul 2, 2021
9224eee
Add Java 14 build
cowtowncoder Jul 2, 2021
b552e26
Merge branch '2.13'
cowtowncoder Jul 14, 2021
98e7af0
Merge branch '2.13'
cowtowncoder Jul 14, 2021
0f4718c
Merge branch '2.13'
cowtowncoder Aug 26, 2021
fddc686
Merge branch '2.13'
cowtowncoder Aug 27, 2021
71923c6
Merge branch '2.13'
cowtowncoder Sep 17, 2021
608dd7e
Merge branch '2.13'
cowtowncoder Sep 30, 2021
66b3e5b
Merge branch '2.14'
cowtowncoder Oct 7, 2021
d002d26
Merge branch '2.14'
cowtowncoder Oct 21, 2021
a7bd384
Merge branch '2.14'
cowtowncoder Nov 23, 2021
cfb0432
Merge branch '2.14'
cowtowncoder Nov 24, 2021
5926ca9
Merge branch '2.14'
cowtowncoder Apr 18, 2022
7bcf32a
Merge branch '2.14'
cowtowncoder Apr 27, 2022
bbb3f46
Merge branch '2.14'
cowtowncoder Apr 27, 2022
f0364bb
Merge branch '2.14'
cowtowncoder Apr 27, 2022
10b20b5
...
cowtowncoder Apr 27, 2022
38b7e93
Merge branch '2.14'
cowtowncoder May 2, 2022
be23696
Remove duplicate "cache"
cowtowncoder May 2, 2022
602c013
Merge branch '2.14'
cowtowncoder May 7, 2022
09a8fd1
Merge branch '2.14'
cowtowncoder May 9, 2022
045d718
Merge branch '2.14'
cowtowncoder May 14, 2022
dd72e17
Merge branch '2.14'
cowtowncoder May 26, 2022
cec4ba4
Merge branch '2.14'
cowtowncoder Jun 20, 2022
00b260f
Merge branch '2.14'
cowtowncoder Jul 11, 2022
efcd31e
Merge branch '2.14'
cowtowncoder Jul 13, 2022
89d883e
Change parent pom reference to new `tools.jackson:jackson-base`
cowtowncoder Jul 13, 2022
d729799
Fix snapshot repo dep
cowtowncoder Jul 13, 2022
36b803b
...
cowtowncoder Jul 13, 2022
6cf114e
Try to fix repo definitions to publish via "old" Sonatype OSS repo (s…
cowtowncoder Jul 13, 2022
db7e840
Merge branch '2.14'
cowtowncoder Jul 13, 2022
0392881
Merge branch '2.14'
cowtowncoder Aug 2, 2022
cd3169f
Try to resolve Sonatype OSS repo (old vs new) situation
cowtowncoder Aug 3, 2022
dc0eae6
Merge branch '2.14'
cowtowncoder Sep 3, 2022
65834b8
Merge branch '2.14'
cowtowncoder Sep 11, 2022
f808536
Merge branch '2.14'
cowtowncoder Sep 19, 2022
f00854c
Manual merge of pom.xml change
cowtowncoder Sep 19, 2022
28d898a
Merge branch '2.14'
cowtowncoder Sep 20, 2022
78ab269
Merge branch '2.14'
cowtowncoder Sep 25, 2022
8ac9e5b
Merge branch '2.14'
cowtowncoder Oct 10, 2022
f9cf1e8
Merge branch '2.14'
cowtowncoder Oct 18, 2022
4166ad0
Merge branch '2.14'
cowtowncoder Oct 28, 2022
29bf447
Merge branch '2.14'
cowtowncoder Nov 5, 2022
095aa5c
Merge branch '2.15'
cowtowncoder Nov 8, 2022
b925027
Merge branch '2.15'
cowtowncoder Nov 21, 2022
eaefcf8
Merge branch '2.15'
cowtowncoder Nov 28, 2022
1a61c34
Manual merge of pom.xml changes from 2.15
cowtowncoder Nov 28, 2022
8a5a41a
Merge branch '2.15'
cowtowncoder Dec 1, 2022
4faa144
Merge branch '2.15'
cowtowncoder Jan 17, 2023
12fefa5
Merge branch '2.15'
cowtowncoder Jan 26, 2023
9eb6ba9
Merge branch '2.15'
tatu-at-datastax Jan 26, 2023
5270f19
Continuation of https://github.com/FasterXML/jackson-databind/issues/…
tatu-at-datastax Jan 26, 2023
73d33a9
Merge branch '2.15'
cowtowncoder Jan 28, 2023
8fd7f54
Merge branch '2.15'
cowtowncoder Jan 31, 2023
c501760
Merge branch '2.15'
cowtowncoder Jan 31, 2023
7751bf6
Merge branch '2.15'
cowtowncoder Feb 3, 2023
2eb50f1
Merge branch '2.15'
cowtowncoder Feb 22, 2023
c76642e
Merge branch '2.15'
cowtowncoder Mar 14, 2023
c76c32e
Merge branch '2.15'
cowtowncoder Mar 18, 2023
f7c70ba
Merge branch '2.15'
cowtowncoder Mar 20, 2023
69831da
Merge branch '2.15'
cowtowncoder Mar 28, 2023
953b1fd
Merge branch '2.15'
cowtowncoder Apr 14, 2023
2a29ba3
Merge branch '2.15'
cowtowncoder Apr 18, 2023
21b271a
Merge branch '2.15'
cowtowncoder Apr 23, 2023
e157ebd
Merge branch '2.16'
cowtowncoder Apr 23, 2023
1147dd4
Merge branch '2.16'
cowtowncoder May 6, 2023
cfb3453
Merge branch '2.16'
cowtowncoder May 16, 2023
c797f63
Merge branch '2.16'
cowtowncoder May 16, 2023
5bc4908
Add `requireTypeIdForSubtypes` property for `JsonTypeInfo.Value` in J…
JooHyukKim May 16, 2023
f6a89d5
Merge branch '2.16'
cowtowncoder May 18, 2023
5cc642a
Merge branch '2.16'
cowtowncoder May 23, 2023
fd776b2
Merge branch '2.16'
cowtowncoder May 30, 2023
c58f2df
Merge branch '2.16'
cowtowncoder Jul 22, 2023
79b31c4
Merge branch '2.16'
cowtowncoder Aug 19, 2023
250cdc5
Merge branch '2.16'
cowtowncoder Oct 11, 2023
1112c8b
Merge branch '2.16'
cowtowncoder Oct 16, 2023
6cabfe6
Merge branch '2.16'
cowtowncoder Oct 16, 2023
a5737f6
Merge branch '2.16'
cowtowncoder Oct 17, 2023
2c63ffe
Merge branch '2.16'
cowtowncoder Oct 20, 2023
ea746ea
Merge branch '2.16'
cowtowncoder Nov 15, 2023
515d0ac
Merge branch '2.17'
cowtowncoder Nov 15, 2023
72c1132
Merge branch '2.17'
cowtowncoder Dec 24, 2023
157898f
Merge branch '2.17'
cowtowncoder Jan 28, 2024
00d999f
Merge branch '2.17'
cowtowncoder Feb 10, 2024
b2b8590
Merge branch '2.17'
cowtowncoder Feb 15, 2024
d0bef33
Merge branch '2.17'
cowtowncoder Feb 27, 2024
4b7b64f
Merge branch '2.17'
cowtowncoder Mar 9, 2024
afb8780
Merge branch '2.17'
cowtowncoder Mar 9, 2024
10aa4b3
Merge branch '2.18'
cowtowncoder Mar 12, 2024
13880f0
Merge branch '2.18'
cowtowncoder Mar 12, 2024
8d5b19d
Merge branch '2.18'
cowtowncoder Mar 21, 2024
dc1f2d0
Merge branch '2.18'
cowtowncoder Apr 7, 2024
1d1a7c9
...
cowtowncoder Apr 7, 2024
c30f9a1
Merge branch '2.18'
cowtowncoder May 2, 2024
17b6faa
Drop JDK 11 from CI matrix
cowtowncoder May 2, 2024
d0f97d4
Merge branch '2.18'
cowtowncoder May 5, 2024
51726ca
Update CI v3 credentials
cowtowncoder Jun 17, 2024
02b01d5
...
cowtowncoder Jun 17, 2024
ba4ddc9
Revert change; annotations uses v2 credentials due to namespace
cowtowncoder Jun 17, 2024
f376fae
Merge branch '2.18'
cowtowncoder Jul 5, 2024
850bd80
Merge branch '2.18'
cowtowncoder Jul 21, 2024
d39b064
Merge branch '2.18'
cowtowncoder Jul 22, 2024
316087c
Merge branch '2.18'
cowtowncoder Aug 27, 2024
c986a99
Merge branch '2.18'
cowtowncoder Aug 30, 2024
4d6a138
Merge branch '2.19'
cowtowncoder Sep 27, 2024
2cca86f
Merge branch '2.19'
cowtowncoder Oct 28, 2024
37e6a49
Merge branch '2.19'
cowtowncoder Oct 30, 2024
613d174
Merge branch '2.19'
cowtowncoder Nov 1, 2024
8ef8146
Merge branch '2.19'
cowtowncoder Nov 28, 2024
4644a44
Merge branch '2.19'
cowtowncoder Dec 2, 2024
1b50e83
Fix #267: Java 8 as baseline for Jackson 3.0 (#268)
cowtowncoder Dec 2, 2024
7de7f75
Add JDK 23 to CI test matrix
cowtowncoder Dec 12, 2024
3b9c619
Merge branch '2.19'
cowtowncoder Dec 12, 2024
f183a99
Fix #272: bump minimum JDK to 17 (#273)
cowtowncoder Jan 11, 2025
d69d830
Fix #274: add proper `module-info.java` handling (#275)
cowtowncoder Jan 11, 2025
f3d52da
Need to also "exports", not just "opens"
cowtowncoder Jan 11, 2025
26ccfcb
Merge branch '2.19'
cowtowncoder Jan 25, 2025
20e9e89
Merge branch '2.19'
cowtowncoder Feb 25, 2025
74dabce
Merge branch '2.19'
cowtowncoder Feb 26, 2025
fa11c9e
Version to 3.0-rc1-SNAPSHOT
cowtowncoder Feb 26, 2025
b02d07e
Merge branch '2.19'
cowtowncoder Feb 28, 2025
abd10a0
Manual merge of #281 (pom.xml changes or gradle metadata)
cowtowncoder Feb 28, 2025
86cfd4e
Merge branch '2.19'
cowtowncoder Feb 28, 2025
0de2291
Add notes on pom.xml wrt credentials usage
cowtowncoder Mar 7, 2025
664b3f4
[maven-release-plugin] prepare release jackson-annotations-3.0-rc1
cowtowncoder Mar 7, 2025
fc99342
[maven-release-plugin] prepare for next development iteration
cowtowncoder Mar 7, 2025
af78252
Back to snapshot dep
cowtowncoder Mar 7, 2025
97a2551
Fix to gradle bom dep setttings
cowtowncoder Mar 8, 2025
414fe8a
Fix issue with `jackson-bom` dependency (#283)
cowtowncoder Mar 10, 2025
7500337
Merge branch '2.19'
cowtowncoder Mar 12, 2025
bf0981b
Merge branch '2.19'
cowtowncoder Mar 12, 2025
fd37734
Prep for 3.0.0-rc2 release
cowtowncoder Mar 28, 2025
8323f2b
[maven-release-plugin] prepare release jackson-annotations-3.0-rc2
cowtowncoder Mar 28, 2025
6f61b1e
[maven-release-plugin] prepare for next development iteration
cowtowncoder Mar 28, 2025
eda0cd3
Back to snapshot deps
cowtowncoder Mar 28, 2025
9b7e61b
fix jackson-bom dependency (#287)
pjfanning Mar 29, 2025
cf25d48
Update release notes.
cowtowncoder Mar 29, 2025
8726a94
Merge branch '2.19' into 3.x
cowtowncoder Apr 8, 2025
0d302de
Merge branch '2.19' into 3.x
cowtowncoder Apr 8, 2025
5f61c09
Prep for 3.0.0-rc3
cowtowncoder Apr 14, 2025
3733f10
[maven-release-plugin] prepare release jackson-annotations-3.0-rc3
cowtowncoder Apr 14, 2025
b077de9
[maven-release-plugin] prepare for next development iteration
cowtowncoder Apr 14, 2025
19bbc93
Back to snapshot dep
cowtowncoder Apr 14, 2025
47892e8
Merge branch '2.19' into 3.x
cowtowncoder Apr 16, 2025
0f5630f
Merge branch '2.x' into 3.x
cowtowncoder Apr 24, 2025
70ab4a0
Merge branch '2.x' into 3.x
cowtowncoder Apr 28, 2025
e30e7fd
Manual merge of SBOM generation
cowtowncoder Apr 28, 2025
7b2c29e
Merge branch '2.x' into 3.x
cowtowncoder May 2, 2025
66ac813
Merge branch '2.x' into 3.x
cowtowncoder May 2, 2025
9fa06e7
Merge branch '2.x' into 3.x
cowtowncoder May 3, 2025
53197b2
Merge branch '2.x' into 3.x
cowtowncoder May 7, 2025
3d45522
...
cowtowncoder May 7, 2025
541f9de
Post-merge clean up
cowtowncoder May 10, 2025
3c33dbd
Prep for 3.0-rc4
cowtowncoder May 10, 2025
6e791f6
[maven-release-plugin] prepare release jackson-annotations-3.0-rc4
cowtowncoder May 10, 2025
db5a536
[maven-release-plugin] prepare for next development iteration
cowtowncoder May 10, 2025
80ea549
Back to snapshot dep
cowtowncoder May 10, 2025
bb8580b
Add "Sonatype Central Portal" snapshot repo (#292)
cowtowncoder May 13, 2025
e3522c3
Prep for 3.0-rc5
cowtowncoder May 22, 2025
55aa3c7
[maven-release-plugin] prepare release jackson-annotations-3.0-rc5
cowtowncoder May 22, 2025
47d8065
[maven-release-plugin] prepare for next development iteration
cowtowncoder May 22, 2025
072fde0
Back to snapshot dep
cowtowncoder May 22, 2025
d837722
Merge branch '2.x' into 3.x
cowtowncoder May 27, 2025
17492b3
Remove extra tag
cowtowncoder May 27, 2025
9ab00ab
Merge branch '2.x' into 3.x
cowtowncoder Jun 14, 2025
87f5803
Merge branch '2.x' into 3.x
cowtowncoder Jul 11, 2025
c32153b
Merge branch '2.x' into 3.x
cowtowncoder Jul 11, 2025
c10c975
Update README to indicate deprecation
cowtowncoder Jul 11, 2025
74e4068
Merge branch '2.x' into 3.x
cowtowncoder Jul 15, 2025
c3dd434
Comment out 3.x publishing
cowtowncoder Jul 15, 2025
e62f3a0
Merge branch '2.x' into 3.x
cowtowncoder Jul 15, 2025
1bc5167
...
cowtowncoder Jul 15, 2025
8d57389
Merge branch '2.x' into 3.x
cowtowncoder Jul 18, 2025
7fe48b3
Add a note on pom.xml wrt obsoleteness
cowtowncoder Oct 16, 2025
3291784
Update `@JsonInclude` as per databind#5369
JooHyukKim Dec 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Deploy Snapshot
on:
push:
branches: ['2.*']
branches: ['3.*']
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21', '24']
java_version: ['17', '21', '24']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
Expand All @@ -41,7 +41,8 @@ jobs:
id: projectVersion
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
- name: Deploy snapshot
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
# 14-Jul-2025, tatu: No longer published; 3.x branch not used
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '17' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') && false }}
env:
CI_DEPLOY_USERNAME: ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
Expand Down
10 changes: 5 additions & 5 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.1/maven-wrapper-3.3.1.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: java

# Java 8 for Jackson 3:
jdk:
- openjdk8
- openjdk11
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# WARNING! Obsolete branch!

As of 10-Jul-2025 this branch (`3.x`) is obsolete: as per [JSTEP-1](https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-1) Jackson 3.x will use 2.x versions of `jackson-annotations` -- so there will not be 3.x versions.

------

# Overview

This project contains general purpose annotations for
Expand Down
107 changes: 43 additions & 64 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,62 +6,77 @@
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>

<!-- 15-Oct-2025, tatu: NOTE - THIS IS OBSOLETE - Jackson 3.x depends on 2.x
version of `jackson-annotations` so 3.x is not used at all
-->

<parent>
<groupId>com.fasterxml.jackson</groupId>
<!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
<artifactId>jackson-parent</artifactId>
<version>2.20-SNAPSHOT</version>
<groupId>tools.jackson</groupId>
<artifactId>jackson-base</artifactId>
<version>3.0.0</version>
</parent>

<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<name>Jackson-annotations</name>
<version>2.20-SNAPSHOT</version>
<version>3.0-NEVER-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Core annotations used for value types, used by Jackson data binding package.
</description>
<inceptionYear>2008</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<url>https://github.com/FasterXML/jackson</url>
<url>http://github.com/FasterXML/jackson</url>
<scm>
<connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection>
<developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection>
<url>https://github.com/FasterXML/jackson-annotations</url>
<url>http://github.com/FasterXML/jackson-annotations</url>
<tag>HEAD</tag>
</scm>

<properties>
<!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
-->
<!-- 10-Jul-2025, tatu: Time to move on; leave at defaults for Java/JDK 8
<!-- 11-Jan-2025, tatu: [annotations#272] JDK 17 for Jackson 3.x
(up from Jackson 2.x Java 1.6 baseline for annotations)
-->
<javac.src.version>17</javac.src.version>
<javac.target.version>17</javac.target.version>

<osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>

<!-- 11-Jun-2020, tatu: Mismatch between jackson-bom, annotations versions
need to override, no easy way to just "drop the patch level".. and although
https://stackoverflow.com/questions/16302247/maven-property-project-artifact-selectedversion-majorversion
shows a possible to get major, minor version and even qualifier, not sure if that'd
be easy enough to make work with SNAPSHOT/release change.
-->
<!-- 08-Mar-2025, tatu: This will be a problem... so easy to forget to update.
Already happened with 3.0 -rc1 where dependency was left as -SNAPSHOT
-->
<bom4gmm.version>3.0.0-rc6-SNAPSHOT</bom4gmm.version>

<!-- for Reproducible Builds -->
<project.build.outputTimestamp>2025-04-24T23:17:28Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2025-05-22T16:28:17Z</project.build.outputTimestamp>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${version.junit5}</version>
<scope>test</scope>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<!-- Alas, need to include snapshot reference since otherwise can not find
snapshot of parent... -->
<repositories>
<!-- 26-May-2025, tatu: Using Sonatype Central Portal, will need this -->
<!-- New Sonatype Central Portal (2025/5+) snapshots -->
<repository>
<id>central-snapshots</id>
<name>Sonatype Central Portal (snapshots)</name>
Expand All @@ -70,54 +85,16 @@
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>

<build>
<plugins>
<!-- First: no replacer plugin (no Packaversion.java.in) for this package -->

<!-- 28-Apr-2025, tatu: Will get these settings from `jackson-bom` in 3.x but
2.x does not extend it so...
-->
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<configuration>
<skipNotDeployed>true</skipNotDeployed>
<classifier>sbom-cyclonedx</classifier>
</configuration>
</plugin>

<plugin>
<!-- 08-Mar-2019, tatu: Would get these settings from `jackson-bom` except we
do not extend it (in 2.x) so...
-->
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<executions>
<execution>
<id>add-module-infos</id>
<phase>package</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<overwriteExistingFiles>true</overwriteExistingFiles>
<module>
<moduleInfoFile>src/moditect/module-info.java</moduleInfoFile>
</module>
</configuration>
</execution>
</executions>
</plugin>

<!-- 26-May-2025: Enable Sonatype Central Portal publishing -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>

<!-- 20-Oct-2020, tatu: [annotations#178] copy full LICENSE from main dir
-->
<!-- 20-Oct-2020, tatu: [annotations#178] copy full LICENSE from main dir -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand Down Expand Up @@ -169,24 +146,26 @@
</configuration>
</plugin>


<!-- 11-Jun-2020, tatu: [annotations#173] add gradle module metadata -->
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
<plugin>
<groupId>org.gradlex</groupId>
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>gmm</goal>
</goals>
</execution>
</executions>
<!-- 15-Jul-2025, tatu: With annotations 2.x used for both 2.x AND
3.x should not try to force alignment
-->
</plugin>
<!-- 28-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>

</plugins>
</build>

</project>
34 changes: 34 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
NOTE: OBSOLETE -- Jackson 3.x will use 2.x `jackson-annotations`

------------------------------------------------------------------------

Project: jackson-annotations
Versions: 3.x (for earlier, see VERSION-2.x)

Contains definitions of standard Jackson annotation definitions, as well
as minimal set of support types (value classes created from annotations,
mostly)

------------------------------------------------------------------------
=== Releases ===
------------------------------------------------------------------------

3.0-rc5 (22-May-2025)
3.0-rc4 (10-May-2025)

No changes since rc3.

3.0-rc3 (13-Apr-2025)

#286: jackson-annotations `3.0.0-rc2` not usable by gradle
(fixed by @pjfanning)

3.0-rc2 (28-Mar-2025)

No changes since rc1.

3.0-rc1 (07-Mar-2025)

#272: Require JDK17 for jackson-annotations 3.0 for proper `module-info.java`
#274: Change 3.0 to use `module-info.java` directly for build (instead of via Moditect)
- Change `JsonInclude.value`, `JsonInclude.content` to `USE_DEFAULTS` (from `ALWAYS`)
6 changes: 5 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ No changes since 2.17

2.9.1 (07-Sep-2017)

#123: Add Automatic-Module-Name (`com.fasterxml.jackson.annotation`) for JDK9 interoperability
#123: Add Automatic-Module-Name (`com.fasterxml.jackson.annotation`) for
JDK9 interoperability
#124: Add new `PropertyAccessor` `SCALAR_CONSTRUCTOR`; `JsonAutoDetect.scalarConstructorVisibility
#129: Remove Target of `ElementType.CONSTRUCTOR` from `@JsonIgnoreProperties`,
`@JsonPropertyOrder`

2.9.0 (30-Jul-2017)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* and possibly merged. The reason for such marker is to allow generic handling of
* some of the annotations, as well as to allow easier injection of configuration
* from sources other than annotations.
*
* @since 2.6
*/
public interface JacksonAnnotationValue<A extends Annotation>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
* This can be useful in creating "combo-annotations" by having
* a container annotation, which needs to be annotated with this
* annotation as well as all annotations it 'contains'.
*
* @since 2.0
*/
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
Expand Down
10 changes: 0 additions & 10 deletions src/main/java/com/fasterxml/jackson/annotation/JacksonInject.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
* @return {@link OptBoolean#FALSE} to throw an exception; {@link OptBoolean#TRUE}
* to avoid throwing it; or {@link OptBoolean#DEFAULT} to use configure defaults
* (which are same as {@link OptBoolean#FALSE} for Jackson 2.x)
*
* @since 2.20
*/
public OptBoolean optional() default OptBoolean.DEFAULT;

Expand Down Expand Up @@ -106,14 +104,6 @@ public static Value empty() {
return EMPTY;
}

@Deprecated //since 2.20
public static Value construct(Object id, Boolean useInput) {
return construct(id, useInput, null);
}

/**
* @since 2.20
*/
public static Value construct(Object id, Boolean useInput, Boolean optional) {
if ("".equals(id)) {
id = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
* <p>
* During deserialization, any of these JSON structures will be valid
* and correctly mapped to the MEDIUM enum value: {"size": "m"}, {"size": "medium"}, or {"size": "M"}.
* @since 2.9
*/
@Target({ElementType.ANNOTATION_TYPE, // for combo-annotations
ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER// for properties (field, setter, ctor param)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
*
* @return True if annotation is enabled (normal case); false if it is to
* be ignored (only useful for mix-in annotations to "mask" annotation
*
* @since 2.9
*/
boolean enabled() default true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* to set) or a field (of type {@link java.util.Map} or POJO) -
* to be used as a "fallback" handler
* for all otherwise unrecognized properties found from JSON content.
* It is similar to {@code javax.xml.bind.annotation.XmlAnyElement}
* It is similar to JAXB {@code javax.xml.bind.annotation.XmlAnyElement} annotation
* in behavior; and can only be used to denote a single property
* per type.
*<p>
Expand All @@ -39,8 +39,6 @@
*
* @return True if annotation is enabled (normal case); false if it is to
* be ignored (only useful for mix-in annotations to "mask" annotation)
*
* @since 2.9
*/
boolean enabled() default true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
* type (class).
* Currently used to populate the description field in generated JSON
* Schemas.
*
* @since 2.7
*/
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Loading