Bump versions to 8.1.0-SNAPSHOT
[odlparent.git] / karaf-plugin / 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" 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>
11   <parent>
12     <groupId>org.opendaylight.odlparent</groupId>
13     <artifactId>odlparent</artifactId>
14     <version>8.1.0-SNAPSHOT</version>
15     <relativePath>../odlparent/</relativePath>
16   </parent>
17   <artifactId>karaf-plugin</artifactId>
18   <packaging>maven-plugin</packaging>
19
20   <name>ODL :: odlparent :: ${project.artifactId}</name>
21
22   <properties>
23     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24   </properties>
25
26   <dependencies>
27     <dependency>
28       <groupId>org.apache.maven</groupId>
29       <artifactId>maven-plugin-api</artifactId>
30       <version>3.5.4</version>
31     </dependency>
32     <dependency>
33       <groupId>org.apache.maven.plugin-tools</groupId>
34       <artifactId>maven-plugin-annotations</artifactId>
35       <version>3.5.2</version>
36     </dependency>
37     <dependency>
38       <groupId>org.apache.maven</groupId>
39       <artifactId>maven-core</artifactId>
40       <version>3.5.4</version>
41     </dependency>
42     <dependency>
43       <groupId>org.apache.maven</groupId>
44       <artifactId>maven-model</artifactId>
45       <version>3.5.4</version>
46     </dependency>
47     <dependency>
48         <groupId>org.ops4j.pax.url</groupId>
49         <artifactId>pax-url-aether</artifactId>
50         <scope>compile</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.apache.karaf.features</groupId>
54       <artifactId>org.apache.karaf.features.core</artifactId>
55       <scope>compile</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.eclipse.aether</groupId>
59       <artifactId>aether-api</artifactId>
60       <version>1.1.0</version>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.odlparent</groupId>
64       <artifactId>karaf-util</artifactId>
65       <version>${project.version}</version>
66     </dependency>
67     <dependency>
68       <groupId>org.osgi</groupId>
69       <artifactId>org.osgi.core</artifactId>
70       <scope>runtime</scope>
71     </dependency>
72   </dependencies>
73
74   <build>
75     <plugins>
76       <plugin>
77         <artifactId>maven-checkstyle-plugin</artifactId>
78         <executions>
79           <execution>
80             <id>check-license</id>
81             <configuration>
82               <excludes>
83                 <!-- Skip Apache Licensed files -->
84                 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
85               </excludes>
86             </configuration>
87           </execution>
88         </executions>
89       </plugin>
90       <plugin>
91         <artifactId>maven-plugin-plugin</artifactId>
92         <configuration>
93           <goalPrefix>karaf</goalPrefix>
94           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
95         </configuration>
96         <executions>
97           <execution>
98             <id>mojo-descriptor</id>
99             <goals>
100               <goal>descriptor</goal>
101             </goals>
102           </execution>
103           <execution>
104             <id>help-goal</id>
105             <goals>
106               <goal>helpmojo</goal>
107             </goals>
108           </execution>
109         </executions>
110       </plugin>
111       <plugin>
112         <groupId>com.github.spotbugs</groupId>
113         <artifactId>spotbugs-maven-plugin</artifactId>
114         <configuration>
115           <failOnError>true</failOnError>
116           <!-- This ensure we ignore HelpMojo which fails SpotBugs -->
117           <onlyAnalyze>org.opendaylight.odlparent</onlyAnalyze>
118         </configuration>
119       </plugin>
120     </plugins>
121   </build>
122
123 </project>