├── .gitattributes
├── .github
├── dependabot.yml
└── workflows
│ └── main.yml
├── .gitignore
├── .mvn
└── wrapper
│ ├── maven-wrapper.jar
│ └── maven-wrapper.properties
├── .travis.yml
├── LICENSE
├── README.md
├── SECURITY.md
├── base
└── pom.xml
├── mvnw
├── mvnw.cmd
├── pom.xml
└── release-notes
└── VERSION-2.x
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Do not merge `pom.xml` from older version, as it will typically conflict
2 | #
3 | # note: also need:
4 | # git config --global merge.ours.driver true
5 | # (and if ever need to disable change `true` to `false`
6 |
7 | pom.xml merge=ours
8 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "github-actions"
4 | directory: "/"
5 | schedule:
6 | interval: "monthly"
7 | groups:
8 | github-actions:
9 | patterns:
10 | - "*"
11 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: Build and Deploy Snapshot
2 | on:
3 | push:
4 | branches: ['2.*']
5 | paths-ignore:
6 | - "README.md"
7 | - "release-notes/*"
8 | pull_request:
9 |
10 | permissions:
11 | contents: read
12 |
13 | jobs:
14 | build:
15 | runs-on: 'ubuntu-24.04'
16 | strategy:
17 | fail-fast: false
18 | matrix:
19 | java_version: ['8', '17', '21']
20 | env:
21 | JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
22 | steps:
23 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24 | - name: Set up JDK
25 | uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
26 | with:
27 | distribution: 'temurin'
28 | java-version: ${{ matrix.java_version }}
29 | cache: 'maven'
30 | server-id: central-snapshots
31 | server-username: CI_DEPLOY_USERNAME
32 | server-password: CI_DEPLOY_PASSWORD
33 | # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
34 | # gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
35 | # gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
36 | - name: Build
37 | run: ./mvnw -B -q -ff -ntp verify
38 | - name: Extract project Maven version
39 | id: projectVersion
40 | run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
41 | - name: Deploy snapshot
42 | if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
43 | env:
44 | CI_DEPLOY_USERNAME: ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
45 | CI_DEPLOY_PASSWORD: ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
46 | # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
47 | run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
48 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # use glob syntax.
2 | syntax: glob
3 | *.class
4 | *~
5 | *.bak
6 | *.off
7 | *.old
8 | *.java.orig
9 | .DS_Store
10 |
11 | # building
12 | /target
13 |
14 | # Eclipse
15 | .classpath
16 | .project
17 | .settings
18 |
19 | # IDEA
20 | *.iml
21 | *.ipr
22 | *.iws
23 | /.idea/
24 |
--------------------------------------------------------------------------------
/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FasterXML/jackson-bom/03692b91cb80a22641d5b81824fa734716c9ba16/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # https://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
18 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
19 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: java
2 |
3 | jdk:
4 | - openjdk8
5 | - openjdk14
6 |
7 | script: mvn -B clean verify
8 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Apache License
3 | Version 2.0, January 2004
4 | http://www.apache.org/licenses/
5 |
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction,
11 | and distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by
14 | the copyright owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the union of the acting entity and all
17 | other entities that control, are controlled by, or are under common
18 | control with that entity. For the purposes of this definition,
19 | "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 | outstanding shares, or (iii) beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean an individual or Legal Entity
25 | exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation
29 | source, and configuration files.
30 |
31 | "Object" form shall mean any form resulting from mechanical
32 | transformation or translation of a Source form, including but
33 | not limited to compiled object code, generated documentation,
34 | and conversions to other media types.
35 |
36 | "Work" shall mean the work of authorship, whether in Source or
37 | Object form, made available under the License, as indicated by a
38 | copyright notice that is included in or attached to the work
39 | (an example is provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any work, whether in Source or Object
42 | form, that is based on (or derived from) the Work and for which the
43 | editorial revisions, annotations, elaborations, or other modifications
44 | represent, as a whole, an original work of authorship. For the purposes
45 | of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of,
47 | the Work and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work of authorship, including
50 | the original version of the Work and any modifications or additions
51 | to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner
53 | or by an individual or Legal Entity authorized to submit on behalf of
54 | the copyright owner. For the purposes of this definition, "submitted"
55 | means any form of electronic, verbal, or written communication sent
56 | to the Licensor or its representatives, including but not limited to
57 | communication on electronic mailing lists, source code control systems,
58 | and issue tracking systems that are managed by, or on behalf of, the
59 | Licensor for the purpose of discussing and improving the Work, but
60 | excluding communication that is conspicuously marked or otherwise
61 | designated in writing by the copyright owner as "Not a Contribution."
62 |
63 | "Contributor" shall mean Licensor and any individual or Legal Entity
64 | on behalf of whom a Contribution has been received by Licensor and
65 | subsequently incorporated within the Work.
66 |
67 | 2. Grant of Copyright License. Subject to the terms and conditions of
68 | this License, each Contributor hereby grants to You a perpetual,
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 | copyright license to reproduce, prepare Derivative Works of,
71 | publicly display, publicly perform, sublicense, and distribute the
72 | Work and such Derivative Works in Source or Object form.
73 |
74 | 3. Grant of Patent License. Subject to the terms and conditions of
75 | this License, each Contributor hereby grants to You a perpetual,
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 | (except as stated in this section) patent license to make, have made,
78 | use, offer to sell, sell, import, and otherwise transfer the Work,
79 | where such license applies only to those patent claims licensable
80 | by such Contributor that are necessarily infringed by their
81 | Contribution(s) alone or by combination of their Contribution(s)
82 | with the Work to which such Contribution(s) was submitted. If You
83 | institute patent litigation against any entity (including a
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work
85 | or a Contribution incorporated within the Work constitutes direct
86 | or contributory patent infringement, then any patent licenses
87 | granted to You under this License for that Work shall terminate
88 | as of the date such litigation is filed.
89 |
90 | 4. Redistribution. You may reproduce and distribute copies of the
91 | Work or Derivative Works thereof in any medium, with or without
92 | modifications, and in Source or Object form, provided that You
93 | meet the following conditions:
94 |
95 | (a) You must give any other recipients of the Work or
96 | Derivative Works a copy of this License; and
97 |
98 | (b) You must cause any modified files to carry prominent notices
99 | stating that You changed the files; and
100 |
101 | (c) You must retain, in the Source form of any Derivative Works
102 | that You distribute, all copyright, patent, trademark, and
103 | attribution notices from the Source form of the Work,
104 | excluding those notices that do not pertain to any part of
105 | the Derivative Works; and
106 |
107 | (d) If the Work includes a "NOTICE" text file as part of its
108 | distribution, then any Derivative Works that You distribute must
109 | include a readable copy of the attribution notices contained
110 | within such NOTICE file, excluding those notices that do not
111 | pertain to any part of the Derivative Works, in at least one
112 | of the following places: within a NOTICE text file distributed
113 | as part of the Derivative Works; within the Source form or
114 | documentation, if provided along with the Derivative Works; or,
115 | within a display generated by the Derivative Works, if and
116 | wherever such third-party notices normally appear. The contents
117 | of the NOTICE file are for informational purposes only and
118 | do not modify the License. You may add Your own attribution
119 | notices within Derivative Works that You distribute, alongside
120 | or as an addendum to the NOTICE text from the Work, provided
121 | that such additional attribution notices cannot be construed
122 | as modifying the License.
123 |
124 | You may add Your own copyright statement to Your modifications and
125 | may provide additional or different license terms and conditions
126 | for use, reproduction, or distribution of Your modifications, or
127 | for any such Derivative Works as a whole, provided Your use,
128 | reproduction, and distribution of the Work otherwise complies with
129 | the conditions stated in this License.
130 |
131 | 5. Submission of Contributions. Unless You explicitly state otherwise,
132 | any Contribution intentionally submitted for inclusion in the Work
133 | by You to the Licensor shall be under the terms and conditions of
134 | this License, without any additional terms or conditions.
135 | Notwithstanding the above, nothing herein shall supersede or modify
136 | the terms of any separate license agreement you may have executed
137 | with Licensor regarding such Contributions.
138 |
139 | 6. Trademarks. This License does not grant permission to use the trade
140 | names, trademarks, service marks, or product names of the Licensor,
141 | except as required for reasonable and customary use in describing the
142 | origin of the Work and reproducing the content of the NOTICE file.
143 |
144 | 7. Disclaimer of Warranty. Unless required by applicable law or
145 | agreed to in writing, Licensor provides the Work (and each
146 | Contributor provides its Contributions) on an "AS IS" BASIS,
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 | implied, including, without limitation, any warranties or conditions
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 | PARTICULAR PURPOSE. You are solely responsible for determining the
151 | appropriateness of using or redistributing the Work and assume any
152 | risks associated with Your exercise of permissions under this License.
153 |
154 | 8. Limitation of Liability. In no event and under no legal theory,
155 | whether in tort (including negligence), contract, or otherwise,
156 | unless required by applicable law (such as deliberate and grossly
157 | negligent acts) or agreed to in writing, shall any Contributor be
158 | liable to You for damages, including any direct, indirect, special,
159 | incidental, or consequential damages of any character arising as a
160 | result of this License or out of the use or inability to use the
161 | Work (including but not limited to damages for loss of goodwill,
162 | work stoppage, computer failure or malfunction, or any and all
163 | other commercial damages or losses), even if such Contributor
164 | has been advised of the possibility of such damages.
165 |
166 | 9. Accepting Warranty or Additional Liability. While redistributing
167 | the Work or Derivative Works thereof, You may choose to offer,
168 | and charge a fee for, acceptance of support, warranty, indemnity,
169 | or other liability obligations and/or rights consistent with this
170 | License. However, in accepting such obligations, You may act only
171 | on Your own behalf and on Your sole responsibility, not on behalf
172 | of any other Contributor, and only if You agree to indemnify,
173 | defend, and hold each Contributor harmless for any liability
174 | incurred by, or claims asserted against, such Contributor by reason
175 | of your accepting any such warranty or additional liability.
176 |
177 | END OF TERMS AND CONDITIONS
178 |
179 | APPENDIX: How to apply the Apache License to your work.
180 |
181 | To apply the Apache License to your work, attach the following
182 | boilerplate notice, with the fields enclosed by brackets "[]"
183 | replaced with your own identifying information. (Don't include
184 | the brackets!) The text should be enclosed in the appropriate
185 | comment syntax for the file format. We also recommend that a
186 | file or class name and description of purpose be included on the
187 | same "printed page" as the copyright notice for easier
188 | identification within third-party archives.
189 |
190 | Copyright [yyyy] [name of copyright owner]
191 |
192 | Licensed under the Apache License, Version 2.0 (the "License");
193 | you may not use this file except in compliance with the License.
194 | You may obtain a copy of the License at
195 |
196 | http://www.apache.org/licenses/LICENSE-2.0
197 |
198 | Unless required by applicable law or agreed to in writing, software
199 | distributed under the License is distributed on an "AS IS" BASIS,
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 | See the License for the specific language governing permissions and
202 | limitations under the License.
203 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Jackson BOM
2 |
3 | This project contains "bill of materials" POM for Jackson dependencies.
4 | For more on concept of BOMs, see:
5 |
6 | * [The Bill of Materials in Maven](https://dzone.com/articles/the-bill-of-materials-in-maven)
7 | * [Using Maven’s Bill of Materials (BOM)](https://reflectoring.io/maven-bom/)
8 |
9 | But the basic idea is that instead of specifying version explicitly for every Jackson
10 | component, as part of dependency definition, one can use a BOM to get a full, complete
11 | set of consistent versions to use.
12 |
13 | ## Status
14 |
15 | [](https://travis-ci.org/FasterXML/jackson-bom)
16 | [](https://tidelift.com/subscription/pkg/maven-com-fasterxml-jackson-jackson-bom?utm_source=maven-com-fasterxml-jackson-jackson-bom&utm_medium=referral&utm_campaign=readme)
17 |
18 | ## Usage
19 |
20 | There are two ways to use the BOM pom: either as parent pom:
21 |
22 | ```xml
23 |
24 | com.fasterxml.jackson
25 | jackson-bom
26 | 2.16.1
27 |
28 | ```
29 |
30 | or by importing the BOM to get versions via so-called "managed dependencies"
31 | (NOTE: BOM can NOT be used as an explicit dependency; it MUST be either parent pom
32 | or imported in `` section)
33 |
34 | ```xml
35 |
36 |
37 |
38 | com.fasterxml.jackson
39 | jackson-bom
40 | 2.16.1
41 | import
42 | pom
43 |
44 |
45 |
46 | ```
47 |
48 | Two approaches are same with respect to dependency inclusion; latter ONLY includes dependencies,
49 | former includes many other settings.
50 | Usually latter is preferable, unless component is very closely coupled with core Jackson components.
51 |
52 | ## Jackson Versioning
53 |
54 | ### Semantic Versioning
55 |
56 | Jackson tries to follow [Semantic Versioning](https://en.wikipedia.org/wiki/Software_versioning#Semantic_versioning) (aka "SemVer")
57 | for its Public API; public methods of types like `ObjectMapper` and `JsonFactory` that calling applications need.
58 | This means that code written against Jackson 2.0.0 that only uses Public API should still work with no changes with Jackson 2.16.0.
59 |
60 | Semantic versioning is, however, NOT guaranteed for types considered internal, and in particular customizations by sub-classing is not covered by same guarantees.
61 | In case of Internal API (extension points meant for Jackson core components) Jackson will still try to guarantee compatibility with "adjacent" minor versions: that is, code written against Jackson 2.9.0 should still work against Jackson 2.10.x (and in many cases further, but at least with the "next version").
62 | Deprecation markers are added for internal methods and types where necessary so that if no deprecation warnings are encountered, code should work for next two minor versions.
63 |
64 | It is understood that the distinction between "Public" and "Internal" APIs is not always easy to distinguish; Javadocs are used in places to try to make distinction clear.
65 |
66 | Having said all that, for most users and most usage Semantic Versioning is maintained.
67 |
68 | ### "Normal" minor version releases
69 |
70 | Most of the time all Jackson components are released using 3-digit version, like `2.16.0`.
71 | If so, there will be, for this version:
72 |
73 | 1. A full set of all core Jackson components under `FasterXML` Github organization
74 | 2. Matching `jackson-bom`
75 |
76 | But occasionally there is a need for a "hot fix" -- usually a fix to a security issue (aka "CVE") --
77 | either in-between "full minor releases" or after specific branch has been closed for active
78 | development. In such cases a version of only component affected (most often `jackson-databind`)
79 | is released and there is no full set of components.
80 | Version number will, in such cases, consist of 4 digits like [jackson-databind-2.12.6.1](https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.12.6.1).
81 | Note: the reason for NOT releasing a full set in such cases is both due to effort needed (full set takes multiple hours to release in the optimal case) and to avoid having multiple full sets with very few changes.
82 |
83 | Because there is no full set of `2.12.6.1` components -- and there may be 1 or more components with `2.12.6.1` (or we may have `2.12.6.2` and so on), it is not practical to release BOM with that version (both since there may be various numbers of micro-patches over time, and since assumption by users could be there IS a full set), a different version convention is used for these case: use of datestamp version.
84 |
85 | As the specific example, `jackson-databind` `2.12.6.1` was released on March 26, 2022, and so the matching bom is [jackson-bom-2.12.6.20220326](https://mvnrepository.com/artifact/com.fasterxml.jackson/jackson-bom/2.12.6.20220326). Some users dislike this longer notation, but it has some specific benefits:
86 |
87 | * Version numbers will sort appropriately: `2.12.6.20220326` comes after both `2.12.6` and hypothetical `2.12.6.1`
88 | * Version number gives an idea of release date, wrt time of hot fix(es) included
89 |
90 | ## Secondary: "base" sub-project
91 |
92 | Note that this repo ALSO contains `jackson-base` (see under dir `base/`), which is the intended
93 | parent pom for Jackson core components.
94 | It extends `jackson-bom`, augmenting with settings that
95 | are only/mostly relevant for Jackson components, but not to things that depend on Jackson in general.
96 | Use of `jackson-base` is not recommended for libraries that are not meant to be coupled with Jackson
97 | release cycle and settings.
98 |
99 | ## Support
100 |
101 | ### Community support
102 |
103 | Jackson components are supported by the Jackson community through mailing lists, Gitter forum,
104 | Github issues. See [CONTRIBUTING](https://github.com/FasterXML/jackson/blob/master/CONTRIBUTING.md)
105 | for full details.
106 |
107 | ### Enterprise support
108 |
109 | Available as part of the [Tidelift](https://tidelift.com/subscription/pkg/maven-com-fasterxml-jackson-jackson-bom) Subscription.
110 |
111 | The maintainers of `jackson-bom` and thousands of other packages are working with Tidelift to deliver
112 | commercial support and maintenance for the open source dependencies you use to build your applications.
113 | Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies
114 | you use.
115 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | Last Updated: 2022-09-20
4 |
5 | ## Reporting a Vulnerability
6 |
7 | In unlikely event of finding a security vulnerability directly relating to `jackson-bom`
8 | package -- unlikely, as there is no code in this package, just dependencies --
9 | the recommended mechanism for reporting possible security vulnerabilities follows
10 | so-called "Coordinated Disclosure Plan" (see [definition of DCP](https://vuls.cert.org/confluence/display/Wiki/Coordinated+Vulnerability+Disclosure+Guidance)
11 | for general idea). The first step is to file a [Tidelift security contact](https://tidelift.com/security):
12 | Tidelift will route all reports via their system to maintainers of relevant package(s), and start the
13 | process that will evaluate concern and issue possible fixes, send update notices and so on.
14 | Note that you do not need to be a Tidelift subscriber to file a security contact.
15 |
16 | ## Verifying Artifact signatures
17 |
18 | (for more in-depth explanation, see [Apache Release Signing](https://infra.apache.org/release-signing#keys-policy) document)
19 |
20 | To verify that any given Jackson artifact has been signed with a valid key, have a look at `KEYS` file of the main Jackson repo:
21 |
22 | https://github.com/FasterXML/jackson/blob/master/KEYS
23 |
24 | which lists all known valid keys in use.
25 |
--------------------------------------------------------------------------------
/base/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 | com.fasterxml.jackson
6 | jackson-bom
7 | 2.20.0-SNAPSHOT
8 |
9 | jackson-base
10 | Jackson Base
11 | pom
12 | Parent pom for components of Jackson dataprocessor: includes base settings as well
13 | as consistent set of dependencies across components. NOTE: NOT to be used by components outside
14 | of Jackson: application code should only rely on `jackson-bom`
15 |
16 |
17 |
18 | The Apache Software License, Version 2.0
19 | http://www.apache.org/licenses/LICENSE-2.0.txt
20 | repo
21 |
22 |
23 |
24 |
25 | ${project.groupId}
26 | ${project.artifactId}
27 | ${project.version}
28 |
29 |
32 | ${project.parent.version}
33 |
34 |
35 | 2025-04-24T23:09:41Z
36 |
37 |
38 |
39 |
40 |
41 |
42 | javax.activation
43 | javax.activation-api
44 | ${javax.activation.version}
45 |
46 |
47 |
48 |
49 | org.assertj
50 | assertj-core
51 | ${version.assertj}
52 | test
53 |
54 |
55 |
56 | junit
57 | junit
58 | ${version.junit}
59 | test
60 |
61 |
62 |
63 |
64 | org.junit
65 | junit-bom
66 | ${version.junit5}
67 | pom
68 | import
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
80 |
81 | org.apache.maven.plugins
82 | maven-enforcer-plugin
83 |
84 |
85 | enforce-java
86 | validate
87 |
88 | enforce
89 |
90 |
91 |
92 |
93 | [3.6,)
94 | [ERROR] The currently supported version of Maven is 3.6 or higher
95 |
96 |
97 | true
98 | true
99 | true
100 | clean,deploy,site
101 | [ERROR] Best Practice is to always define plugin versions!
102 |
103 |
104 |
105 |
106 |
107 | enforce-properties
108 | validate
109 |
110 |
117 |
118 |
119 |
120 |
121 | packageVersion.package
122 |
123 |
124 | packageVersion.dir
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 | org.apache.maven.plugins
134 | maven-javadoc-plugin
135 |
136 |
137 |
140 |
141 |
142 | false
143 |
144 | http://docs.oracle.com/javase/8/docs/api/
145 |
146 |
147 |
148 |
154 |
155 | com.google.code.maven-replacer-plugin
156 | replacer
157 |
158 |
159 | process-packageVersion
160 | generate-sources
161 |
162 |
163 |
164 |
166 |
167 | org.cyclonedx
168 | cyclonedx-maven-plugin
169 |
170 | sbom-cyclonedx
171 | true
172 |
173 |
174 |
175 | package
176 |
177 | makeAggregateBom
178 |
179 |
180 |
181 |
182 |
183 |
184 | org.moditect
185 | moditect-maven-plugin
186 |
187 |
188 | add-module-infos
189 | package
190 |
191 | add-module-info
192 |
193 |
194 | true
195 |
196 | src/moditect/module-info.java
197 |
198 |
199 |
200 |
201 |
205 |
208 |
209 | 9
210 |
211 |
212 |
213 |
214 | org.gradlex
215 | gradle-module-metadata-maven-plugin
216 | 1.0.1
217 |
218 |
219 |
220 | gmm
221 |
222 |
223 |
224 |
225 |
229 |
230 |
231 | com.fasterxml.jackson
232 | jackson-bom
233 | ${jackson-bom.version}
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 | org.codehaus.mojo
242 | build-helper-maven-plugin
243 |
244 |
245 | add-resource
246 | generate-resources
247 |
248 | add-resource
249 |
250 |
251 |
252 |
253 | ${project.basedir}
254 | META-INF
255 |
256 | LICENSE
257 |
258 |
259 |
260 |
261 |
262 |
264 |
265 | regex-property
266 |
268 |
269 | regex-property
270 |
271 |
272 | project.version.underscore
273 | ${project.version}
274 | \.
275 | _
276 | true
277 |
278 |
279 |
280 |
281 |
285 |
286 | org.apache.felix
287 | maven-bundle-plugin
288 |
289 |
290 | bundle-manifest
291 | process-classes
292 |
293 | manifest
294 |
295 |
296 |
297 |
298 |
299 | org.apache.maven.plugins
300 | maven-jar-plugin
301 |
302 |
303 | ${project.build.outputDirectory}/META-INF/MANIFEST.MF
304 |
305 |
306 |
307 |
308 |
309 | org.sonatype.central
310 | central-publishing-maven-plugin
311 | true
312 |
313 | central
314 |
315 |
316 |
317 |
318 |
319 |
322 |
323 |
324 | maven-enforcer-plugin
325 |
326 |
327 | enforce-properties
328 | none
329 |
330 |
331 |
332 |
333 |
334 |
335 | org.sonatype.central
336 | central-publishing-maven-plugin
337 |
338 |
339 |
342 |
343 |
356 |
357 |
358 |
359 |
--------------------------------------------------------------------------------
/mvnw:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # ----------------------------------------------------------------------------
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing,
14 | # software distributed under the License is distributed on an
15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | # KIND, either express or implied. See the License for the
17 | # specific language governing permissions and limitations
18 | # under the License.
19 | # ----------------------------------------------------------------------------
20 |
21 | # ----------------------------------------------------------------------------
22 | # Maven Start Up Batch script
23 | #
24 | # Required ENV vars:
25 | # ------------------
26 | # JAVA_HOME - location of a JDK home dir
27 | #
28 | # Optional ENV vars
29 | # -----------------
30 | # M2_HOME - location of maven2's installed home dir
31 | # MAVEN_OPTS - parameters passed to the Java VM when running Maven
32 | # e.g. to debug Maven itself, use
33 | # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34 | # MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35 | # ----------------------------------------------------------------------------
36 |
37 | if [ -z "$MAVEN_SKIP_RC" ] ; then
38 |
39 | if [ -f /etc/mavenrc ] ; then
40 | . /etc/mavenrc
41 | fi
42 |
43 | if [ -f "$HOME/.mavenrc" ] ; then
44 | . "$HOME/.mavenrc"
45 | fi
46 |
47 | fi
48 |
49 | # OS specific support. $var _must_ be set to either true or false.
50 | cygwin=false;
51 | darwin=false;
52 | mingw=false
53 | case "`uname`" in
54 | CYGWIN*) cygwin=true ;;
55 | MINGW*) mingw=true;;
56 | Darwin*) darwin=true
57 | # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
58 | # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
59 | if [ -z "$JAVA_HOME" ]; then
60 | if [ -x "/usr/libexec/java_home" ]; then
61 | export JAVA_HOME="`/usr/libexec/java_home`"
62 | else
63 | export JAVA_HOME="/Library/Java/Home"
64 | fi
65 | fi
66 | ;;
67 | esac
68 |
69 | if [ -z "$JAVA_HOME" ] ; then
70 | if [ -r /etc/gentoo-release ] ; then
71 | JAVA_HOME=`java-config --jre-home`
72 | fi
73 | fi
74 |
75 | if [ -z "$M2_HOME" ] ; then
76 | ## resolve links - $0 may be a link to maven's home
77 | PRG="$0"
78 |
79 | # need this for relative symlinks
80 | while [ -h "$PRG" ] ; do
81 | ls=`ls -ld "$PRG"`
82 | link=`expr "$ls" : '.*-> \(.*\)$'`
83 | if expr "$link" : '/.*' > /dev/null; then
84 | PRG="$link"
85 | else
86 | PRG="`dirname "$PRG"`/$link"
87 | fi
88 | done
89 |
90 | saveddir=`pwd`
91 |
92 | M2_HOME=`dirname "$PRG"`/..
93 |
94 | # make it fully qualified
95 | M2_HOME=`cd "$M2_HOME" && pwd`
96 |
97 | cd "$saveddir"
98 | # echo Using m2 at $M2_HOME
99 | fi
100 |
101 | # For Cygwin, ensure paths are in UNIX format before anything is touched
102 | if $cygwin ; then
103 | [ -n "$M2_HOME" ] &&
104 | M2_HOME=`cygpath --unix "$M2_HOME"`
105 | [ -n "$JAVA_HOME" ] &&
106 | JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
107 | [ -n "$CLASSPATH" ] &&
108 | CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
109 | fi
110 |
111 | # For Mingw, ensure paths are in UNIX format before anything is touched
112 | if $mingw ; then
113 | [ -n "$M2_HOME" ] &&
114 | M2_HOME="`(cd "$M2_HOME"; pwd)`"
115 | [ -n "$JAVA_HOME" ] &&
116 | JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
117 | fi
118 |
119 | if [ -z "$JAVA_HOME" ]; then
120 | javaExecutable="`which javac`"
121 | if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
122 | # readlink(1) is not available as standard on Solaris 10.
123 | readLink=`which readlink`
124 | if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
125 | if $darwin ; then
126 | javaHome="`dirname \"$javaExecutable\"`"
127 | javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
128 | else
129 | javaExecutable="`readlink -f \"$javaExecutable\"`"
130 | fi
131 | javaHome="`dirname \"$javaExecutable\"`"
132 | javaHome=`expr "$javaHome" : '\(.*\)/bin'`
133 | JAVA_HOME="$javaHome"
134 | export JAVA_HOME
135 | fi
136 | fi
137 | fi
138 |
139 | if [ -z "$JAVACMD" ] ; then
140 | if [ -n "$JAVA_HOME" ] ; then
141 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
142 | # IBM's JDK on AIX uses strange locations for the executables
143 | JAVACMD="$JAVA_HOME/jre/sh/java"
144 | else
145 | JAVACMD="$JAVA_HOME/bin/java"
146 | fi
147 | else
148 | JAVACMD="`which java`"
149 | fi
150 | fi
151 |
152 | if [ ! -x "$JAVACMD" ] ; then
153 | echo "Error: JAVA_HOME is not defined correctly." >&2
154 | echo " We cannot execute $JAVACMD" >&2
155 | exit 1
156 | fi
157 |
158 | if [ -z "$JAVA_HOME" ] ; then
159 | echo "Warning: JAVA_HOME environment variable is not set."
160 | fi
161 |
162 | CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
163 |
164 | # traverses directory structure from process work directory to filesystem root
165 | # first directory with .mvn subdirectory is considered project base directory
166 | find_maven_basedir() {
167 |
168 | if [ -z "$1" ]
169 | then
170 | echo "Path not specified to find_maven_basedir"
171 | return 1
172 | fi
173 |
174 | basedir="$1"
175 | wdir="$1"
176 | while [ "$wdir" != '/' ] ; do
177 | if [ -d "$wdir"/.mvn ] ; then
178 | basedir=$wdir
179 | break
180 | fi
181 | # workaround for JBEAP-8937 (on Solaris 10/Sparc)
182 | if [ -d "${wdir}" ]; then
183 | wdir=`cd "$wdir/.."; pwd`
184 | fi
185 | # end of workaround
186 | done
187 | echo "${basedir}"
188 | }
189 |
190 | # concatenates all lines of a file
191 | concat_lines() {
192 | if [ -f "$1" ]; then
193 | echo "$(tr -s '\n' ' ' < "$1")"
194 | fi
195 | }
196 |
197 | BASE_DIR=`find_maven_basedir "$(pwd)"`
198 | if [ -z "$BASE_DIR" ]; then
199 | exit 1;
200 | fi
201 |
202 | ##########################################################################################
203 | # Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
204 | # This allows using the maven wrapper in projects that prohibit checking in binary data.
205 | ##########################################################################################
206 | if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
207 | if [ "$MVNW_VERBOSE" = true ]; then
208 | echo "Found .mvn/wrapper/maven-wrapper.jar"
209 | fi
210 | else
211 | if [ "$MVNW_VERBOSE" = true ]; then
212 | echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
213 | fi
214 | if [ -n "$MVNW_REPOURL" ]; then
215 | jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
216 | else
217 | jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
218 | fi
219 | while IFS="=" read key value; do
220 | case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
221 | esac
222 | done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
223 | if [ "$MVNW_VERBOSE" = true ]; then
224 | echo "Downloading from: $jarUrl"
225 | fi
226 | wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
227 | if $cygwin; then
228 | wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
229 | fi
230 |
231 | if command -v wget > /dev/null; then
232 | if [ "$MVNW_VERBOSE" = true ]; then
233 | echo "Found wget ... using wget"
234 | fi
235 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
236 | wget "$jarUrl" -O "$wrapperJarPath"
237 | else
238 | wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
239 | fi
240 | elif command -v curl > /dev/null; then
241 | if [ "$MVNW_VERBOSE" = true ]; then
242 | echo "Found curl ... using curl"
243 | fi
244 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
245 | curl -o "$wrapperJarPath" "$jarUrl" -f
246 | else
247 | curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
248 | fi
249 |
250 | else
251 | if [ "$MVNW_VERBOSE" = true ]; then
252 | echo "Falling back to using Java to download"
253 | fi
254 | javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
255 | # For Cygwin, switch paths to Windows format before running javac
256 | if $cygwin; then
257 | javaClass=`cygpath --path --windows "$javaClass"`
258 | fi
259 | if [ -e "$javaClass" ]; then
260 | if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
261 | if [ "$MVNW_VERBOSE" = true ]; then
262 | echo " - Compiling MavenWrapperDownloader.java ..."
263 | fi
264 | # Compiling the Java class
265 | ("$JAVA_HOME/bin/javac" "$javaClass")
266 | fi
267 | if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
268 | # Running the downloader
269 | if [ "$MVNW_VERBOSE" = true ]; then
270 | echo " - Running MavenWrapperDownloader.java ..."
271 | fi
272 | ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
273 | fi
274 | fi
275 | fi
276 | fi
277 | ##########################################################################################
278 | # End of extension
279 | ##########################################################################################
280 |
281 | export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
282 | if [ "$MVNW_VERBOSE" = true ]; then
283 | echo $MAVEN_PROJECTBASEDIR
284 | fi
285 | MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
286 |
287 | # For Cygwin, switch paths to Windows format before running java
288 | if $cygwin; then
289 | [ -n "$M2_HOME" ] &&
290 | M2_HOME=`cygpath --path --windows "$M2_HOME"`
291 | [ -n "$JAVA_HOME" ] &&
292 | JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
293 | [ -n "$CLASSPATH" ] &&
294 | CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
295 | [ -n "$MAVEN_PROJECTBASEDIR" ] &&
296 | MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
297 | fi
298 |
299 | # Provide a "standardized" way to retrieve the CLI args that will
300 | # work with both Windows and non-Windows executions.
301 | MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
302 | export MAVEN_CMD_LINE_ARGS
303 |
304 | WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
305 |
306 | exec "$JAVACMD" \
307 | $MAVEN_OPTS \
308 | -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
309 | "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
310 | ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
311 |
--------------------------------------------------------------------------------
/mvnw.cmd:
--------------------------------------------------------------------------------
1 | @REM ----------------------------------------------------------------------------
2 | @REM Licensed to the Apache Software Foundation (ASF) under one
3 | @REM or more contributor license agreements. See the NOTICE file
4 | @REM distributed with this work for additional information
5 | @REM regarding copyright ownership. The ASF licenses this file
6 | @REM to you under the Apache License, Version 2.0 (the
7 | @REM "License"); you may not use this file except in compliance
8 | @REM with the License. You may obtain a copy of the License at
9 | @REM
10 | @REM http://www.apache.org/licenses/LICENSE-2.0
11 | @REM
12 | @REM Unless required by applicable law or agreed to in writing,
13 | @REM software distributed under the License is distributed on an
14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | @REM KIND, either express or implied. See the License for the
16 | @REM specific language governing permissions and limitations
17 | @REM under the License.
18 | @REM ----------------------------------------------------------------------------
19 |
20 | @REM ----------------------------------------------------------------------------
21 | @REM Maven Start Up Batch script
22 | @REM
23 | @REM Required ENV vars:
24 | @REM JAVA_HOME - location of a JDK home dir
25 | @REM
26 | @REM Optional ENV vars
27 | @REM M2_HOME - location of maven2's installed home dir
28 | @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29 | @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
30 | @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31 | @REM e.g. to debug Maven itself, use
32 | @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33 | @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34 | @REM ----------------------------------------------------------------------------
35 |
36 | @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37 | @echo off
38 | @REM set title of command window
39 | title %0
40 | @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
41 | @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
42 |
43 | @REM set %HOME% to equivalent of $HOME
44 | if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45 |
46 | @REM Execute a user defined script before this one
47 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
48 | @REM check for pre script, once with legacy .bat ending and once with .cmd ending
49 | if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
50 | if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
51 | :skipRcPre
52 |
53 | @setlocal
54 |
55 | set ERROR_CODE=0
56 |
57 | @REM To isolate internal variables from possible post scripts, we use another setlocal
58 | @setlocal
59 |
60 | @REM ==== START VALIDATION ====
61 | if not "%JAVA_HOME%" == "" goto OkJHome
62 |
63 | echo.
64 | echo Error: JAVA_HOME not found in your environment. >&2
65 | echo Please set the JAVA_HOME variable in your environment to match the >&2
66 | echo location of your Java installation. >&2
67 | echo.
68 | goto error
69 |
70 | :OkJHome
71 | if exist "%JAVA_HOME%\bin\java.exe" goto init
72 |
73 | echo.
74 | echo Error: JAVA_HOME is set to an invalid directory. >&2
75 | echo JAVA_HOME = "%JAVA_HOME%" >&2
76 | echo Please set the JAVA_HOME variable in your environment to match the >&2
77 | echo location of your Java installation. >&2
78 | echo.
79 | goto error
80 |
81 | @REM ==== END VALIDATION ====
82 |
83 | :init
84 |
85 | @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
86 | @REM Fallback to current working directory if not found.
87 |
88 | set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
89 | IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
90 |
91 | set EXEC_DIR=%CD%
92 | set WDIR=%EXEC_DIR%
93 | :findBaseDir
94 | IF EXIST "%WDIR%"\.mvn goto baseDirFound
95 | cd ..
96 | IF "%WDIR%"=="%CD%" goto baseDirNotFound
97 | set WDIR=%CD%
98 | goto findBaseDir
99 |
100 | :baseDirFound
101 | set MAVEN_PROJECTBASEDIR=%WDIR%
102 | cd "%EXEC_DIR%"
103 | goto endDetectBaseDir
104 |
105 | :baseDirNotFound
106 | set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
107 | cd "%EXEC_DIR%"
108 |
109 | :endDetectBaseDir
110 |
111 | IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
112 |
113 | @setlocal EnableExtensions EnableDelayedExpansion
114 | for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
115 | @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
116 |
117 | :endReadAdditionalConfig
118 |
119 | SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
120 | set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
121 | set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
122 |
123 | set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
124 |
125 | FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
126 | IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
127 | )
128 |
129 | @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
130 | @REM This allows using the maven wrapper in projects that prohibit checking in binary data.
131 | if exist %WRAPPER_JAR% (
132 | if "%MVNW_VERBOSE%" == "true" (
133 | echo Found %WRAPPER_JAR%
134 | )
135 | ) else (
136 | if not "%MVNW_REPOURL%" == "" (
137 | SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
138 | )
139 | if "%MVNW_VERBOSE%" == "true" (
140 | echo Couldn't find %WRAPPER_JAR%, downloading it ...
141 | echo Downloading from: %DOWNLOAD_URL%
142 | )
143 |
144 | powershell -Command "&{"^
145 | "$webclient = new-object System.Net.WebClient;"^
146 | "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
147 | "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
148 | "}"^
149 | "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
150 | "}"
151 | if "%MVNW_VERBOSE%" == "true" (
152 | echo Finished downloading %WRAPPER_JAR%
153 | )
154 | )
155 | @REM End of extension
156 |
157 | @REM Provide a "standardized" way to retrieve the CLI args that will
158 | @REM work with both Windows and non-Windows executions.
159 | set MAVEN_CMD_LINE_ARGS=%*
160 |
161 | %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
162 | if ERRORLEVEL 1 goto error
163 | goto end
164 |
165 | :error
166 | set ERROR_CODE=1
167 |
168 | :end
169 | @endlocal & set ERROR_CODE=%ERROR_CODE%
170 |
171 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
172 | @REM check for post script, once with legacy .bat ending and once with .cmd ending
173 | if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
174 | if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
175 | :skipRcPost
176 |
177 | @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
178 | if "%MAVEN_BATCH_PAUSE%" == "on" pause
179 |
180 | if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
181 |
182 | exit /B %ERROR_CODE%
183 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 |
6 | com.fasterxml.jackson
7 | jackson-parent
8 |
9 | 2.20-SNAPSHOT
10 |
11 |
12 | jackson-bom
13 | Jackson BOM
14 | Bill of Materials pom for getting full, complete set of compatible versions
15 | of Jackson components maintained by FasterXML.com
16 |
17 | 2.20.0-SNAPSHOT
18 | pom
19 |
20 |
21 | base
22 |
23 |
24 |
25 | FasterXML
26 | http://fasterxml.com/
27 |
28 |
29 |
30 | Apache License, Version 2.0
31 | http://www.apache.org/licenses/LICENSE-2.0.txt
32 | repo
33 |
34 |
35 |
36 |
37 | cowtowncoder
38 | Tatu Saloranta
39 | tatu@fasterxml.com
40 |
41 |
42 |
43 | https://github.com/FasterXML/jackson-bom
44 |
45 | scm:git:git@github.com:FasterXML/jackson-bom.git
46 | scm:git:git@github.com:FasterXML/jackson-bom.git
47 | https://github.com/FasterXML/jackson-bom
48 | HEAD
49 |
50 |
51 |
52 | 2.20.0-SNAPSHOT
53 |
54 |
60 | ${jackson.version}
61 | ${jackson.version}
62 | ${jackson.version}
63 | ${jackson.version}
64 | ${jackson.version}
65 | ${jackson.version}
66 | ${jackson.version}
67 | ${jackson.version}
68 |
69 | ${jackson.version}
70 | ${jackson.version.module}
71 | ${jackson.version.module}
72 |
73 | 1.2.0
74 |
75 |
76 | 7.1.1
77 | 4.2.2
78 |
79 |
80 | 2025-04-24T23:09:41Z
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 | com.fasterxml.jackson.core
89 | jackson-annotations
90 | ${jackson.version.annotations}
91 |
92 |
93 | com.fasterxml.jackson.core
94 | jackson-core
95 | ${jackson.version.core}
96 |
97 |
98 | com.fasterxml.jackson.core
99 | jackson-databind
100 | ${jackson.version.databind}
101 |
102 |
103 |
104 |
105 | com.fasterxml.jackson.dataformat
106 | jackson-dataformat-avro
107 | ${jackson.version.dataformat}
108 |
109 |
110 | com.fasterxml.jackson.dataformat
111 | jackson-dataformat-cbor
112 | ${jackson.version.dataformat}
113 |
114 |
115 | com.fasterxml.jackson.dataformat
116 | jackson-dataformat-csv
117 | ${jackson.version.dataformat}
118 |
119 |
120 | com.fasterxml.jackson.dataformat
121 | jackson-dataformat-ion
122 | ${jackson.version.dataformat}
123 |
124 |
125 | com.fasterxml.jackson.dataformat
126 | jackson-dataformat-properties
127 | ${jackson.version.dataformat}
128 |
129 |
130 | com.fasterxml.jackson.dataformat
131 | jackson-dataformat-protobuf
132 | ${jackson.version.dataformat}
133 |
134 |
135 | com.fasterxml.jackson.dataformat
136 | jackson-dataformat-smile
137 | ${jackson.version.dataformat}
138 |
139 |
140 | com.fasterxml.jackson.dataformat
141 | jackson-dataformat-toml
142 | ${jackson.version.dataformat}
143 |
144 |
145 | com.fasterxml.jackson.dataformat
146 | jackson-dataformat-xml
147 | ${jackson.version.dataformat}
148 |
149 |
150 | com.fasterxml.jackson.dataformat
151 | jackson-dataformat-yaml
152 | ${jackson.version.dataformat}
153 |
154 |
155 |
156 |
157 | com.fasterxml.jackson.datatype
158 | jackson-datatype-eclipse-collections
159 | ${jackson.version.datatype}
160 |
161 |
162 | com.fasterxml.jackson.datatype
163 | jackson-datatype-guava
164 | ${jackson.version.datatype}
165 |
166 |
167 |
168 |
175 |
176 |
177 | com.fasterxml.jackson.datatype
178 | jackson-datatype-hibernate4
179 | ${jackson.version.datatype}
180 |
181 |
182 | com.fasterxml.jackson.datatype
183 | jackson-datatype-hibernate5
184 | ${jackson.version.datatype}
185 |
186 |
187 | com.fasterxml.jackson.datatype
188 | jackson-datatype-hibernate5-jakarta
189 | ${jackson.version.datatype}
190 |
191 |
192 | com.fasterxml.jackson.datatype
193 | jackson-datatype-hibernate6
194 | ${jackson.version.datatype}
195 |
196 |
197 | com.fasterxml.jackson.datatype
198 | jackson-datatype-hppc
199 | ${jackson.version.datatype}
200 |
201 |
202 | com.fasterxml.jackson.datatype
203 | jackson-datatype-jakarta-jsonp
204 | ${jackson.version.datatype}
205 |
206 |
207 | com.fasterxml.jackson.datatype
208 | jackson-datatype-jaxrs
209 |
211 | ${jackson.version.datatype}
212 |
213 |
214 | com.fasterxml.jackson.datatype
215 | jackson-datatype-javax-money
216 | ${jackson.version.datatype}
217 |
218 |
219 | com.fasterxml.jackson.datatype
220 | jackson-datatype-jdk8
221 | ${jackson.version.datatype}
222 |
223 |
224 | com.fasterxml.jackson.datatype
225 | jackson-datatype-joda
226 | ${jackson.version.datatype}
227 |
228 |
229 | com.fasterxml.jackson.datatype
230 | jackson-datatype-joda-money
231 | ${jackson.version.datatype}
232 |
233 |
234 | com.fasterxml.jackson.datatype
235 | jackson-datatype-json-org
236 | ${jackson.version.datatype}
237 |
238 |
239 | com.fasterxml.jackson.datatype
240 | jackson-datatype-jsr310
241 | ${jackson.version.datatype}
242 |
243 |
244 | com.fasterxml.jackson.datatype
245 | jackson-datatype-jsr353
246 | ${jackson.version.datatype}
247 |
248 |
249 | com.fasterxml.jackson.datatype
250 | jackson-datatype-moneta
251 | ${jackson.version.datatype}
252 |
253 |
254 | com.fasterxml.jackson.datatype
255 | jackson-datatype-pcollections
256 | ${jackson.version.datatype}
257 |
258 |
259 |
260 |
261 | com.fasterxml.jackson.jaxrs
262 | jackson-jaxrs-base
263 | ${jackson.version.jaxrs}
264 |
265 |
266 | com.fasterxml.jackson.jaxrs
267 | jackson-jaxrs-cbor-provider
268 | ${jackson.version.jaxrs}
269 |
270 |
271 | com.fasterxml.jackson.jaxrs
272 | jackson-jaxrs-json-provider
273 | ${jackson.version.jaxrs}
274 |
275 |
276 | com.fasterxml.jackson.jaxrs
277 | jackson-jaxrs-smile-provider
278 | ${jackson.version.jaxrs}
279 |
280 |
281 | com.fasterxml.jackson.jaxrs
282 | jackson-jaxrs-xml-provider
283 | ${jackson.version.jaxrs}
284 |
285 |
286 | com.fasterxml.jackson.jaxrs
287 | jackson-jaxrs-yaml-provider
288 | ${jackson.version.jaxrs}
289 |
290 |
291 |
292 |
293 | com.fasterxml.jackson.jakarta.rs
294 | jackson-jakarta-rs-base
295 | ${jackson.version.jakarta.rs}
296 |
297 |
298 | com.fasterxml.jackson.jakarta.rs
299 | jackson-jakarta-rs-cbor-provider
300 | ${jackson.version.jakarta.rs}
301 |
302 |
303 | com.fasterxml.jackson.jakarta.rs
304 | jackson-jakarta-rs-json-provider
305 | ${jackson.version.jakarta.rs}
306 |
307 |
308 | com.fasterxml.jackson.jakarta.rs
309 | jackson-jakarta-rs-smile-provider
310 | ${jackson.version.jakarta.rs}
311 |
312 |
313 | com.fasterxml.jackson.jakarta.rs
314 | jackson-jakarta-rs-xml-provider
315 | ${jackson.version.jakarta.rs}
316 |
317 |
318 | com.fasterxml.jackson.jakarta.rs
319 | jackson-jakarta-rs-yaml-provider
320 | ${jackson.version.jakarta.rs}
321 |
322 |
323 |
324 |
325 | com.fasterxml.jackson.jr
326 | jackson-jr-all
327 | ${jackson.version.jacksonjr}
328 |
329 |
330 | com.fasterxml.jackson.jr
331 | jackson-jr-annotation-support
332 | ${jackson.version.jacksonjr}
333 |
334 |
335 | com.fasterxml.jackson.jr
336 | jackson-jr-extension-javatime
337 | ${jackson.version.jacksonjr}
338 |
339 |
340 | com.fasterxml.jackson.jr
341 | jackson-jr-objects
342 | ${jackson.version.jacksonjr}
343 |
344 |
345 | com.fasterxml.jackson.jr
346 | jackson-jr-retrofit2
347 | ${jackson.version.jacksonjr}
348 |
349 |
350 | com.fasterxml.jackson.jr
351 | jackson-jr-stree
352 | ${jackson.version.jacksonjr}
353 |
354 |
355 |
356 |
357 | com.fasterxml.jackson.module
358 | jackson-module-afterburner
359 | ${jackson.version.module}
360 |
361 |
362 | com.fasterxml.jackson.module
363 | jackson-module-android-record
364 | ${jackson.version.module}
365 |
366 |
367 | com.fasterxml.jackson.module
368 | jackson-module-blackbird
369 | ${jackson.version.module}
370 |
371 |
372 | com.fasterxml.jackson.module
373 | jackson-module-guice
374 | ${jackson.version.module}
375 |
376 |
377 | com.fasterxml.jackson.module
378 | jackson-module-guice7
379 | ${jackson.version.module}
380 |
381 |
382 | com.fasterxml.jackson.module
383 | jackson-module-jaxb-annotations
384 | ${jackson.version.module}
385 |
386 |
387 | com.fasterxml.jackson.module
388 | jackson-module-jakarta-xmlbind-annotations
389 | ${jackson.version.module}
390 |
391 |
392 | com.fasterxml.jackson.module
393 | jackson-module-jsonSchema
394 | ${jackson.version.module}
395 |
396 |
397 | com.fasterxml.jackson.module
398 | jackson-module-jsonSchema-jakarta
399 | ${jackson.version.module}
400 |
401 |
402 | com.fasterxml.jackson.module
403 | jackson-module-kotlin
404 | ${jackson.version.module.kotlin}
405 |
406 |
407 | com.fasterxml.jackson.module
408 | jackson-module-mrbean
409 | ${jackson.version.module}
410 |
411 |
412 | com.fasterxml.jackson.module
413 | jackson-module-no-ctor-deser
414 | ${jackson.version.module}
415 |
416 |
417 | com.fasterxml.jackson.module
418 | jackson-module-osgi
419 | ${jackson.version.module}
420 |
421 |
422 | com.fasterxml.jackson.module
423 | jackson-module-parameter-names
424 | ${jackson.version.module}
425 |
426 |
427 | com.fasterxml.jackson.module
428 | jackson-module-paranamer
429 | ${jackson.version.module}
430 |
431 |
432 |
433 |
434 |
435 |
436 | com.fasterxml.jackson.module
437 | jackson-module-scala_2.11
438 | ${jackson.version.module.scala}
439 |
440 |
441 | com.fasterxml.jackson.module
442 | jackson-module-scala_2.12
443 | ${jackson.version.module.scala}
444 |
445 |
446 | com.fasterxml.jackson.module
447 | jackson-module-scala_2.13
448 | ${jackson.version.module.scala}
449 |
450 |
451 | com.fasterxml.jackson.module
452 | jackson-module-scala_3
453 | ${jackson.version.module.scala}
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
463 |
464 |
473 |
474 |
475 | central-snapshots
476 | Sonatype Central Portal (snapshots)
477 | https://central.sonatype.com/repository/maven-snapshots
478 | false
479 | true
480 |
481 |
482 |
483 |
--------------------------------------------------------------------------------
/release-notes/VERSION-2.x:
--------------------------------------------------------------------------------
1 | Project: jackson-bom / jackson-base
2 |
3 | Contains "Bill of Materials" for all Jackson components for main component
4 | ("jackson-bom"), as well as parent pom ("jackson-base") for Jackson components
5 | themselves. Only former should be extended by anything other than official
6 | Jackson components (core, modules)
7 |
8 | ------------------------------------------------------------------------
9 | === Releases (note: only includes patches with actual changes)
10 | ------------------------------------------------------------------------
11 |
12 | 2.20.0 (not yet released)
13 |
14 | #95: Add default settings for SBOM generation [JSTEP-14]
15 | #101: Rename properties "woodstox.version"/"stax2.version" as
16 | "jackson.version.dep.woodstox"/"jackson.version.dep.stax2-api"
17 |
18 | 2.19.1:
19 |
20 | #99: Jackson BOM should not have managed dependency for third-party
21 | libraries (woodstox, stax-api)
22 | (revert #88)
23 | - Woodstox dep updated to 7.1.1
24 |
25 | 2.19.0 (24-Apr-2025)
26 |
27 | #85: Add 'org.gradlex:gradle-module-metadata-maven-plugin:1.0'
28 | #88: Add `com.fasterxml.woodstox:woodstox-core` as managed (version 7.1.0)
29 | #91: Add managed versions for new (2.19) modules: `jackson-datatype-javax-money`
30 | and `jackson-datatype-moneta`
31 |
32 | 2.18.0 (26-Sep-2024)
33 |
34 | #68: Remove `junit` 4.x dependency from `jackson-base` 2.18.x to help
35 | junit5 migration
36 | - `base/pom.xml` now creates '${project.version.underscore}` for "cleansed"
37 | version of `${project.version}`
38 |
39 | 2.17.0 (12-Mar-2024)
40 |
41 | * Add `jackson-jr-extension-javatime`
42 | * Add managed dependency to JUnit5
43 |
44 | 2.16.2 (09-Mar-2024)
45 |
46 | #66: Added `jackson-module-guice7` (missed from 2.16.0)
47 | (reported by @hu-chia)
48 |
49 | 2.16.0 (15-Nov-2023)
50 |
51 | * Added `jackson-module-android-record`
52 |
53 | 2.15.3 (12-Oct-2023)
54 |
55 | * Udate `nexus-staging-maven-plugin` to 1.6.13 (from 1.6.8)
56 |
57 | 2.15.2 (30-May-2023)
58 |
59 | No changes since 2.15.1
60 |
61 | 2.15.1 (16-May-2023)
62 |
63 | #63: Update `de.jjohannes:gradle-module-metadata-maven-plugin` to 0.4.0
64 | - Add override for `version.plugin.moditect` to be `1.0.0.Final` until
65 | upgraded in `oss-parent`/51
66 |
67 | 2.15.0 (23-Apr-2023)
68 |
69 | #56: Change defaults for Felix OSGi Bundle plug-in to fix timestamps
70 | for Reproducible Builds
71 | (suggested by Hervé B (@hboutemy))
72 | - Add version for `jackson-datatype-hibernate6`
73 | - Add version for `jackson-module-jsonSchema-jakarta`
74 |
75 | 2.14.2 (28-Jan-2023)
76 |
77 | No changes since 2.14.0
78 |
79 | 2.14.0 (05-Nov-2022)
80 |
81 | #52: Gradle reports incorrect jackson-bom dependency version
82 |
83 | 2.13.4 (03-Sep-2022)
84 | 2.13.3 (14-May-2022)
85 |
86 | No changes since 2.13.2
87 |
88 | 2.13.2 (06-Mar-2022)
89 |
90 | #46: `module-info.java` is in `META-INF/versions/11` instead of `META-INF/versions/9`
91 |
92 | 2.13.1 (19-Dec-2021)
93 |
94 | No changes since 2.13.0
95 |
96 | 2.13.0 (30-Sep-2021)
97 |
98 | #39: Configure moditect plugin with `11`
99 | #43: jackson-bom manages the version of `junit:junit`
100 | (reported by Andy W, wilkinsona@github)
101 | - [datatype-hibernate#39]: Drop `jackson-datatype-hibernate3` (support for
102 | Hibernate 3.x datatypes)
103 | - [jackson-jarx-providers#146] due to addition of new Jakarta artifacts -
104 | (Jakarta-JSONP, Jakarta-xmlbind-annotations, Jakarta-rs-providers) -
105 | removed "jakarta" classifier variants of JAXB/JSON-P/JAX-RS modules
106 | (effectively undo's #40 from 2.12.0)
107 |
108 | 2.12.5 (27-Aug-2021)
109 | 2.12.4 (06-Jul-2021)
110 |
111 | No changes since 2.12.3
112 |
113 | 2.12.3 (12-Apr-2021)
114 |
115 | - Add version for `jackson-datatype-jakarta-jsonp` module (introduced after 2.12.2)
116 | - Add (beta) version for `jackson-dataformat-toml)
117 |
118 | 2.12.2 (03-Mar-2021)
119 |
120 | #40: Jakarta 9 artifact versions are missing from jackson-bom
121 | (reported by Christopher T (ctubbsii@github))
122 |
123 | 2.12.1 (08-Jan-2021)
124 |
125 | No changes since 2.12.0
126 |
127 | 2.12.0 (29-Nov-2020)
128 |
129 | - Add another execution of `maven-replacer-plugin` for "prepare-package" phase
130 | to help with IDE import.
131 | - Add default settings for `gradle-module-metadata-maven-plugin` (gradle metadata)
132 | - Add default settings for `build-helper-maven-plugin` (LICENSE inclusion)
133 | - Drop `jackson-module-scala_2.10` entry (not released for Jackson 2.12 or later)
134 |
135 | 2.11.2
136 |
137 | - Add missing version for `jackson-datatype-eclipse-collections`
138 | - Add override for `version.plugin.bundle` (for 5.1.1) to help build on JDK 15+
139 |
140 | 2.11 (26-Apr-2020)
141 |
142 | No changes since 2.10
143 |
144 | 2.10
145 |
146 | - Remove `Automatic-Module-Name`, to avoid collision with Moditect-added `module-info`
147 |
--------------------------------------------------------------------------------