Release odlparent
[odlparent.git] / features / odl-karaf-feat-jdbc / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2016 Red Hat, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8  -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.odlparent</groupId>
16         <artifactId>single-feature-parent</artifactId>
17         <version>13.1.0</version>
18         <relativePath>../../single-feature-parent</relativePath>
19     </parent>
20
21     <artifactId>odl-karaf-feat-jdbc</artifactId>
22     <name>ODL :: odlparent :: ${project.artifactId}</name>
23     <packaging>kar</packaging>
24
25     <properties>
26         <pax.jdbc.version>1.5.7</pax.jdbc.version>
27     </properties>
28
29     <dependencies>
30         <dependency>
31             <groupId>org.ops4j.pax.jdbc</groupId>
32             <artifactId>pax-jdbc-features</artifactId>
33             <version>${pax.jdbc.version}</version>
34             <classifier>features</classifier>
35             <exclusions>
36                 <!--
37                     Exclude Derby version 10.14.2.0 due to the vulnerability:
38                       https://nvd.nist.gov/vuln/detail/CVE-2022-46337
39                     for which there are no upstream builds we can use.
40
41                     FIXME: ODLPARENT-311: Re-enable this when we require Java 21 runtime and upgrade to Derby 10.17.1.0+
42                  -->
43                 <exclusion>
44                     <groupId>org.ops4j.pax.jdbc</groupId>
45                     <artifactId>pax-jdbc-derby</artifactId>
46                 </exclusion>
47                 <exclusion>
48                     <groupId>org.ops4j.pax.jdbc</groupId>
49                     <artifactId>pax-jdbc-derbyclient</artifactId>
50                 </exclusion>
51             </exclusions>
52             <type>xml</type>
53             <scope>runtime</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.osgi</groupId>
57             <artifactId>org.osgi.service.jdbc</artifactId>
58             <scope>compile</scope>
59         </dependency>
60         <dependency>
61             <groupId>org.apache.karaf.jdbc</groupId>
62             <artifactId>org.apache.karaf.jdbc.core</artifactId>
63             <scope>compile</scope>
64             <exclusions>
65                 <exclusion>
66                     <groupId>org.apache.felix</groupId>
67                     <artifactId>org.apache.felix.utils</artifactId>
68                 </exclusion>
69                 <exclusion>
70                     <groupId>org.apache.karaf</groupId>
71                     <artifactId>org.apache.karaf.util</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>org.apache.karaf.jaas</groupId>
75                     <artifactId>org.apache.karaf.jaas.boot</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79     </dependencies>
80
81     <build>
82         <resources>
83             <resource>
84                 <directory>src/main/feature</directory>
85                 <filtering>true</filtering>
86             </resource>
87         </resources>
88     </build>
89
90 </project>