1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright © 2016 Red Hat, Inc. 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>11.0.2-SNAPSHOT</version>
15 <relativePath>../odlparent/</relativePath>
17 <artifactId>karaf-plugin</artifactId>
18 <packaging>maven-plugin</packaging>
20 <name>ODL :: odlparent :: ${project.artifactId}</name>
23 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 <groupId>org.apache.maven</groupId>
33 <artifactId>maven-plugin-api</artifactId>
34 <version>3.8.3</version>
35 <scope>provided</scope>
38 <groupId>org.apache.maven.plugin-tools</groupId>
39 <artifactId>maven-plugin-annotations</artifactId>
40 <version>3.6.2</version>
41 <scope>provided</scope>
44 <groupId>org.apache.maven</groupId>
45 <artifactId>maven-core</artifactId>
46 <version>3.8.3</version>
47 <scope>provided</scope>
50 <groupId>org.apache.maven</groupId>
51 <artifactId>maven-model</artifactId>
52 <version>3.8.3</version>
53 <scope>provided</scope>
56 <groupId>org.ops4j.pax.url</groupId>
57 <artifactId>pax-url-aether</artifactId>
58 <scope>compile</scope>
61 <groupId>org.apache.karaf.features</groupId>
62 <artifactId>org.apache.karaf.features.core</artifactId>
63 <scope>compile</scope>
66 <groupId>org.eclipse.aether</groupId>
67 <artifactId>aether-api</artifactId>
68 <version>1.1.0</version>
71 <groupId>org.osgi</groupId>
72 <artifactId>org.osgi.service.url</artifactId>
73 <scope>runtime</scope>
76 <groupId>org.opendaylight.odlparent</groupId>
77 <artifactId>karaf-util</artifactId>
78 <version>${project.version}</version>
85 <artifactId>maven-checkstyle-plugin</artifactId>
88 <id>check-license</id>
91 <!-- Skip Apache Licensed files -->
92 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
99 <artifactId>maven-plugin-plugin</artifactId>
101 <goalPrefix>karaf</goalPrefix>
102 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
106 <id>mojo-descriptor</id>
108 <goal>descriptor</goal>
114 <goal>helpmojo</goal>
120 <groupId>com.github.spotbugs</groupId>
121 <artifactId>spotbugs-maven-plugin</artifactId>
123 <failOnError>true</failOnError>
124 <!-- This ensure we ignore HelpMojo which fails SpotBugs -->
125 <onlyAnalyze>org.opendaylight.odlparent</onlyAnalyze>