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>4.0.10-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>
28 <groupId>org.apache.maven</groupId>
29 <artifactId>maven-plugin-api</artifactId>
30 <version>3.5.4</version>
33 <groupId>org.apache.maven.plugin-tools</groupId>
34 <artifactId>maven-plugin-annotations</artifactId>
35 <version>3.5.2</version>
38 <groupId>org.apache.maven</groupId>
39 <artifactId>maven-core</artifactId>
40 <version>3.5.4</version>
43 <groupId>org.apache.maven</groupId>
44 <artifactId>maven-model</artifactId>
45 <version>3.5.4</version>
48 <groupId>org.ops4j.pax.url</groupId>
49 <artifactId>pax-url-aether</artifactId>
50 <scope>compile</scope>
53 <groupId>org.apache.karaf.features</groupId>
54 <artifactId>org.apache.karaf.features.core</artifactId>
55 <version>${karaf.version}</version>
56 <scope>compile</scope>
59 <groupId>org.eclipse.aether</groupId>
60 <artifactId>aether-api</artifactId>
61 <version>1.1.0</version>
64 <groupId>org.opendaylight.odlparent</groupId>
65 <artifactId>karaf-util</artifactId>
66 <version>${project.version}</version>
69 <groupId>org.osgi</groupId>
70 <artifactId>org.osgi.core</artifactId>
71 <scope>runtime</scope>
78 <artifactId>maven-checkstyle-plugin</artifactId>
81 <id>check-license</id>
84 <!-- Skip Apache Licensed files -->
85 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
91 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
95 <artifactId>maven-plugin-plugin</artifactId>
97 <goalPrefix>karaf</goalPrefix>
98 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
102 <id>mojo-descriptor</id>
104 <goal>descriptor</goal>
110 <goal>helpmojo</goal>
116 <groupId>com.github.spotbugs</groupId>
117 <artifactId>spotbugs-maven-plugin</artifactId>
119 <failOnError>true</failOnError>
120 <!-- This ensure we ignore HelpMojo which fails SpotBugs -->
121 <onlyAnalyze>org.opendaylight.odlparent</onlyAnalyze>