-
Notifications
You must be signed in to change notification settings - Fork 11
/
pom.xml
199 lines (182 loc) · 6.51 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-base</artifactId>
<version>2.19.0-SNAPSHOT</version>
</parent>
<groupId>com.fasterxml.jackson.jakarta.rs</groupId>
<artifactId>jackson-jakarta-rs-providers</artifactId>
<name>Jackson modules: Jakarta-RS</name>
<version>2.19.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>Parent for Jackson Jakarta-RS (jakarta.ws.rs) providers
</description>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<modules>
<module>base</module>
<module>cbor</module>
<module>json</module>
<module>smile</module>
<module>xml</module>
<module>yaml</module>
</modules>
<url>https://github.com/FasterXML/jackson-jakarta-rs-providers</url>
<scm>
<connection>scm:git:[email protected]:FasterXML/jackson-jakarta-rs-providers.git</connection>
<developerConnection>scm:git:[email protected]:FasterXML/jackson-jakarta-rs-providers.git</developerConnection>
<url>https://github.com/FasterXML/jackson-jakarta-rs-providers</url>
<tag>jackson-jakarta-rs-providers-2.18.0</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.jersey>3.0.16</version.jersey>
<!-- 29-May-2021, tatu: Jetty 10 and above require Java 11 (ugh!)
Which means we must build with JDK 11 from now now on (2.13+)
-->
<version.jetty>11.0.24</version.jetty>
<version.servlet>5.0.0</version.servlet>
<!-- Needed to enable jax-rs 2.0 usage under OSGi -->
<jakarta.ws.rs.version>[3.0.0,4.0)</jakarta.ws.rs.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- and we need JAX-RS annotations for testing as well; but usually provided
by container (and app should definitely have direct dep too, when using annotations)
-->
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${version.jetty}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${version.jetty}</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- For testing, Jersey and its Deps:
-->
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>${version.jersey}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<version>${version.jersey}</version>
<scope>test</scope>
</dependency>
<!-- 29-May-2021, tatu: With Jersey 3/Jetty 11, will require this addition,
too, as per:
https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found
-->
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${version.jersey}</version>
<scope>test</scope>
</dependency>
<!-- And to get some test output in case of problems... -->
<dependency>
<groupId>ch.qos.logback </groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<scope>test</scope>
</dependency>
<!-- 17-Jun-2024 : JUnit4 no longer from jackson-base, so: -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Alas, need to include snapshot reference since otherwise can not find
snapshot of parent... -->
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<_nouses>false</_nouses>
</instructions>
</configuration>
</plugin>
<plugin>
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<executions>
<execution>
<id>process-packageVersion</id>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<!-- 20-Feb-2021, tatu: For Jackson 2.x, put `module-info.class` under location
only visible to JDK 11+ (to avoid issues with older pre-Java9 frameworks?)
-->
<configuration>
<jvmVersion>11</jvmVersion>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
<plugins>
<plugin>
<groupId>de.jjohannes</groupId>
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>