blob: bcac0007d59e15330a306cba5e810710be798f26 [file] [log] [blame]
Jan Supol12a05732018-04-25 17:50:03 +02001<?xml version="1.0"?>
2<!--
3
jersey-bot59a5d502024-01-07 02:21:04 +00004 Copyright (c) 2012, 2024 Oracle and/or its affiliates. All rights reserved.
David Matejcek4d881e92019-04-15 15:25:34 +02005 Copyright (c) 2018, 2019 Payara Foundation and/or its affiliates. All rights reserved.
Jan Supol12a05732018-04-25 17:50:03 +02006
7 This program and the accompanying materials are made available under the
8 terms of the Eclipse Public License v. 2.0, which is available at
9 http://www.eclipse.org/legal/epl-2.0.
10
11 This Source Code may also be made available under the following Secondary
12 Licenses when the conditions for such availability set forth in the
13 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
14 version 2 with the GNU Classpath Exception, which is available at
15 https://www.gnu.org/software/classpath/license.html.
16
17 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
18
19-->
20
21<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">
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.glassfish.jersey.ext</groupId>
26 <artifactId>project</artifactId>
jersey-bot9727e9a2024-01-07 02:21:50 +000027 <version>4.0.99-SNAPSHOT</version>
Jan Supol12a05732018-04-25 17:50:03 +020028 </parent>
29
30 <artifactId>jersey-bean-validation</artifactId>
31 <name>jersey-ext-bean-validation</name>
32
33 <description>
34 Jersey extension module providing support for Bean Validation (JSR-349) API.
35 </description>
36
37 <build>
38 <plugins>
39 <plugin>
40 <groupId>com.sun.istack</groupId>
jansupol100db132018-12-10 15:14:46 +010041 <artifactId>istack-commons-maven-plugin</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +020042 <inherited>true</inherited>
43 </plugin>
44 <plugin>
45 <groupId>org.codehaus.mojo</groupId>
46 <artifactId>build-helper-maven-plugin</artifactId>
47 <inherited>true</inherited>
48 </plugin>
49 <plugin>
50 <groupId>org.apache.felix</groupId>
51 <artifactId>maven-bundle-plugin</artifactId>
52 <inherited>true</inherited>
53 <extensions>true</extensions>
54 <configuration>
55 <instructions>
56 <!-- Note: When you're changing these properties change them also in bundles/jax-rs-ri/bundle/pom.xml. -->
57 <Export-Package>org.glassfish.jersey.server.validation.*;version=${project.version}</Export-Package>
jansupol100db132018-12-10 15:14:46 +010058 <Import-Package>
Maxim Nesend07e8802020-04-30 16:15:40 +020059 ${jakarta.annotation.osgi.version},
jansupolf0754eb2022-08-26 15:34:00 +020060 ${cdi.osgi.version},
jansupol07463482022-08-26 22:57:11 +020061 jakarta.validation.*;resolution:=optional;version="${range;[==,4);${jakarta.validation.api.version}}",
Maxim Nesen627a1df2021-12-22 08:12:29 +010062 jakarta.decorator.*;version="[3.0,5)",
jansupol100db132018-12-10 15:14:46 +010063 *
64 </Import-Package>
Jan Supol12a05732018-04-25 17:50:03 +020065 </instructions>
66 <unpackBundle>true</unpackBundle>
67 </configuration>
68 </plugin>
69 </plugins>
70 </build>
71
72 <dependencies>
73 <dependency>
Maxim Nesen19542822020-05-04 12:27:00 +020074 <groupId>jakarta.inject</groupId>
75 <artifactId>jakarta.inject-api</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +020076 </dependency>
77 <dependency>
78 <groupId>org.glassfish.jersey.core</groupId>
79 <artifactId>jersey-common</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>org.glassfish.jersey.core</groupId>
84 <artifactId>jersey-server</artifactId>
85 <version>${project.version}</version>
86 </dependency>
87
88 <dependency>
Maxim Nesena0657402019-09-05 10:42:05 +020089 <groupId>jakarta.validation</groupId>
90 <artifactId>jakarta.validation-api</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +020091 </dependency>
92 <dependency>
Máté Szabó7ec76052018-09-03 11:33:03 +020093 <groupId>org.hibernate.validator</groupId>
Jan Supol12a05732018-04-25 17:50:03 +020094 <artifactId>hibernate-validator</artifactId>
Maxim Nesenb238b282019-10-21 13:19:00 +020095 <exclusions>
96 <exclusion>
Maxim Nesenef8f6612020-05-05 17:49:04 +020097 <groupId>jakarta.validation</groupId>
98 <artifactId>jakarta.validation-api</artifactId>
99 </exclusion>
100 <exclusion>
101 <groupId>jakarta.el</groupId>
102 <artifactId>jakarta.el-api</artifactId>
Maxim Nesenb238b282019-10-21 13:19:00 +0200103 </exclusion>
Maxim Nesenc373f2a2022-12-14 16:48:39 +0100104 <exclusion>
105 <groupId>org.jboss.logging</groupId>
106 <artifactId>jboss-logging</artifactId>
Maxim Nesenb238b282019-10-21 13:19:00 +0200107 </exclusion>
108 </exclusions>
Jan Supol12a05732018-04-25 17:50:03 +0200109 </dependency>
David Matejcek4d881e92019-04-15 15:25:34 +0200110 <dependency>
Maxim Nesenc373f2a2022-12-14 16:48:39 +0100111 <groupId>org.jboss.logging</groupId>
112 <artifactId>jboss-logging</artifactId>
113 <version>${jboss.logging.version}</version>
114 </dependency>
115 <dependency>
jansupol9edb3d42020-12-14 22:54:43 +0100116 <groupId>jakarta.xml.bind</groupId>
117 <artifactId>jakarta.xml.bind-api</artifactId>
118 <optional>true</optional>
119 </dependency>
120 <dependency>
Maxim Nesenacf82632020-05-19 10:42:29 +0200121 <groupId>jakarta.enterprise</groupId>
122 <artifactId>jakarta.enterprise.cdi-api</artifactId>
David Matejceke795abe2019-04-17 15:43:28 +0200123 <optional>true</optional>
David Matejcek4d881e92019-04-15 15:25:34 +0200124 </dependency>
125 <dependency>
126 <groupId>org.glassfish.jersey.ext.cdi</groupId>
127 <artifactId>jersey-cdi1x</artifactId>
128 <version>${project.version}</version>
David Matejceke795abe2019-04-17 15:43:28 +0200129 <optional>true</optional>
David Matejcek4d881e92019-04-15 15:25:34 +0200130 </dependency>
131
Jan Supol12a05732018-04-25 17:50:03 +0200132
133 <!-- java-el related dependencies are in scope "provided" in hibernate-validator -->
134 <dependency>
jansupol7aebbcf2018-12-04 14:32:47 +0100135 <groupId>jakarta.el</groupId>
136 <artifactId>jakarta.el-api</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +0200137 </dependency>
138
139 <dependency>
Máté Szabó7ec76052018-09-03 11:33:03 +0200140 <groupId>org.glassfish</groupId>
jansupol7aebbcf2018-12-04 14:32:47 +0100141 <artifactId>jakarta.el</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +0200142 </dependency>
143
144 <dependency>
Maxim Nesen6eea2ad2020-10-07 07:38:50 +0200145 <groupId>org.glassfish.jersey.test-framework</groupId>
146 <artifactId>jersey-test-framework-core</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +0200147 <version>${project.version}</version>
Jan Supol12a05732018-04-25 17:50:03 +0200148 <scope>test</scope>
149 </dependency>
150 </dependencies>
Maxim Nesen4cce1182023-11-15 10:39:07 +0100151</project>