Bump versions to 5.0.2-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>5.0.2-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       <version>${karaf.version}</version>
56       <scope>compile</scope>
57     </dependency>
58     <dependency>
59       <groupId>org.eclipse.aether</groupId>
60       <artifactId>aether-api</artifactId>
61       <version>1.1.0</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.odlparent</groupId>
65       <artifactId>karaf-util</artifactId>
66       <version>${project.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>org.osgi</groupId>
70       <artifactId>org.osgi.core</artifactId>
71       <scope>runtime</scope>
72     </dependency>
73   </dependencies>
74
75   <build>
76     <plugins>
77       <plugin>
78         <artifactId>maven-checkstyle-plugin</artifactId>
79         <executions>
80           <execution>
81             <id>check-license</id>
82             <configuration>
83               <excludes>
84                 <!-- Skip Apache Licensed files -->
85                 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
86               </excludes>
87             </configuration>
88           </execution>
89         </executions>
90         <configuration>
91           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
92         </configuration>
93       </plugin>
94       <plugin>
95         <artifactId>maven-plugin-plugin</artifactId>
96         <configuration>
97           <goalPrefix>karaf</goalPrefix>
98           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
99         </configuration>
100         <executions>
101           <execution>
102             <id>mojo-descriptor</id>
103             <goals>
104               <goal>descriptor</goal>
105             </goals>
106           </execution>
107           <execution>
108             <id>help-goal</id>
109             <goals>
110               <goal>helpmojo</goal>
111             </goals>
112           </execution>
113         </executions>
114       </plugin>
115       <plugin>
116         <groupId>com.github.spotbugs</groupId>
117         <artifactId>spotbugs-maven-plugin</artifactId>
118         <configuration>
119           <failOnError>true</failOnError>
120           <!-- This ensure we ignore HelpMojo which fails SpotBugs -->
121           <onlyAnalyze>org.opendaylight.odlparent</onlyAnalyze>
122         </configuration>
123       </plugin>
124     </plugins>
125   </build>
126
127 </project>