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>14.0.0-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>com.github.spotbugs</groupId>
33 <artifactId>spotbugs-annotations</artifactId>
34 <optional>true</optional>
37 <groupId>org.checkerframework</groupId>
38 <artifactId>checker-qual</artifactId>
39 <scope>provided</scope>
42 <groupId>org.apache.maven</groupId>
43 <artifactId>maven-plugin-api</artifactId>
46 <groupId>org.apache.maven.plugin-tools</groupId>
47 <artifactId>maven-plugin-annotations</artifactId>
50 <groupId>org.apache.maven</groupId>
51 <artifactId>maven-core</artifactId>
54 <groupId>org.apache.maven</groupId>
55 <artifactId>maven-model</artifactId>
58 <groupId>org.apache.karaf.features</groupId>
59 <artifactId>org.apache.karaf.features.core</artifactId>
60 <scope>compile</scope>
63 <groupId>org.apache.maven.resolver</groupId>
64 <artifactId>maven-resolver-api</artifactId>
67 <groupId>org.opendaylight.odlparent</groupId>
68 <artifactId>karaf-util</artifactId>
69 <version>${project.version}</version>
72 <groupId>org.ops4j.pax.url</groupId>
73 <artifactId>pax-url-aether</artifactId>
74 <scope>compile</scope>
77 <groupId>org.osgi</groupId>
78 <artifactId>org.osgi.service.url</artifactId>
79 <scope>runtime</scope>
86 <artifactId>maven-checkstyle-plugin</artifactId>
89 <id>check-license</id>
92 <!-- Skip Apache Licensed files -->
93 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
100 <artifactId>maven-plugin-plugin</artifactId>
102 <goalPrefix>karaf</goalPrefix>
103 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
107 <id>mojo-descriptor</id>
109 <goal>descriptor</goal>
115 <goal>helpmojo</goal>
121 <groupId>com.github.spotbugs</groupId>
122 <artifactId>spotbugs-maven-plugin</artifactId>
124 <failOnError>true</failOnError>
125 <!-- This ensure we ignore HelpMojo which fails SpotBugs -->
126 <onlyAnalyze>org.opendaylight.odlparent</onlyAnalyze>