1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright © 2023 PANTHEON.tech, s.r.o. and others. All rights reserved.
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
9 <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">
10 <modelVersion>4.0.0</modelVersion>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>odlparent</artifactId>
14 <version>13.1.1</version>
15 <relativePath>../odlparent</relativePath>
18 <artifactId>features-test-plugin</artifactId>
19 <packaging>maven-plugin</packaging>
20 <name>ODL :: odlparent :: ${project.artifactId}</name>
27 <!-- Do not delete: pax.exam.version property is used in copy resources -->
28 <!-- NB 4.13.3 is last known ok version allowing concurrent karaf containers -->
29 <!-- pax exam issue https://github.com/ops4j/org.ops4j.pax.exam2/issues/1020 -->
30 <pax.exam.version>4.13.3</pax.exam.version>
31 <pax.url.version>2.6.2</pax.url.version>
35 <!-- Maven plugin API -->
37 <groupId>org.apache.maven</groupId>
38 <artifactId>maven-artifact</artifactId>
39 <version>3.8.3</version>
40 <scope>provided</scope>
43 <groupId>org.apache.maven</groupId>
44 <artifactId>maven-core</artifactId>
45 <version>3.8.3</version>
46 <scope>provided</scope>
49 <groupId>org.apache.maven</groupId>
50 <artifactId>maven-model</artifactId>
51 <version>3.8.3</version>
52 <scope>provided</scope>
55 <groupId>org.apache.maven</groupId>
56 <artifactId>maven-plugin-api</artifactId>
57 <version>3.8.3</version>
58 <scope>provided</scope>
60 <!-- dependencies to annotations -->
62 <groupId>org.apache.maven.plugin-tools</groupId>
63 <artifactId>maven-plugin-annotations</artifactId>
64 <version>3.8.2</version>
65 <scope>provided</scope>
68 <!-- dependency resolution -->
70 <groupId>org.apache.maven.wagon</groupId>
71 <artifactId>wagon-http</artifactId>
72 <version>3.2.0</version>
73 <scope>compile</scope>
76 <!-- because it conflicts with org.slf4j:jcl-over-slf4j -->
77 <groupId>commons-logging</groupId>
78 <artifactId>commons-logging</artifactId>
83 <groupId>org.eclipse.aether</groupId>
84 <artifactId>aether-api</artifactId>
85 <version>1.1.0</version>
88 <!-- Pax artifacts, includes scope redefined (test to compile/runtime) dependencies
89 in order to be included (preloaded to local repo) on plugin execution -->
91 <groupId>org.ops4j.pax.exam</groupId>
92 <artifactId>pax-exam</artifactId>
93 <version>${pax.exam.version}</version>
94 <scope>compile</scope>
97 <groupId>org.ops4j.pax.exam</groupId>
98 <artifactId>pax-exam-link-mvn</artifactId>
99 <version>${pax.exam.version}</version>
100 <scope>compile</scope>
103 <groupId>org.ops4j.pax.url</groupId>
104 <artifactId>pax-url-aether</artifactId>
105 <version>${pax.url.version}</version>
106 <scope>runtime</scope>
109 <groupId>org.ops4j.pax.url</groupId>
110 <artifactId>pax-url-link</artifactId>
111 <version>${pax.url.version}</version>
112 <scope>runtime</scope>
115 <groupId>org.ops4j.pax.exam</groupId>
116 <artifactId>pax-exam-container-karaf</artifactId>
117 <version>${pax.exam.version}</version>
118 <scope>compile</scope>
121 <!-- required features -->
123 <groupId>org.ops4j.pax.exam</groupId>
124 <artifactId>pax-exam-features</artifactId>
125 <version>${pax.exam.version}</version>
127 <scope>runtime</scope>
130 <groupId>org.apache.karaf.features</groupId>
131 <artifactId>standard</artifactId>
132 <version>${karaf.version}</version>
133 <classifier>features</classifier>
135 <scope>runtime</scope>
140 <groupId>org.osgi</groupId>
141 <artifactId>org.osgi.framework</artifactId>
142 <scope>compile</scope>
145 <!-- test probe dependencies for karaf environment -->
147 <groupId>org.apache.karaf.features</groupId>
148 <artifactId>org.apache.karaf.features.core</artifactId>
149 <scope>compile</scope>
152 <groupId>org.apache.karaf.bundle</groupId>
153 <artifactId>org.apache.karaf.bundle.core</artifactId>
154 <scope>compile</scope>
157 <!-- junit 4 @Test annotation is required for junit probe invoker -->
159 <groupId>junit</groupId>
160 <artifactId>junit</artifactId>
161 <scope>compile</scope>
168 <directory>src/main/resources</directory>
169 <filtering>true</filtering>
175 <artifactId>maven-checkstyle-plugin</artifactId>
178 <id>check-license</id>
181 <!-- Skip Apache Licensed files -->
182 org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java
189 <artifactId>maven-plugin-plugin</artifactId>
191 <goalPrefix>feattest</goalPrefix>
195 <id>default-descriptor</id>
196 <phase>process-classes</phase>