74c384d238c63def47a41b6f992bb128809f22d3
[controller.git] / opendaylight / config / config-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.mdsal</groupId>
7     <artifactId>binding-parent</artifactId>
8     <version>0.10.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.controller</groupId>
13   <version>0.6.0-SNAPSHOT</version>
14   <artifactId>config-api</artifactId>
15   <packaging>bundle</packaging>
16   <name>${project.artifactId}</name>
17
18   <dependencies>
19     <dependency>
20       <groupId>com.google.code.findbugs</groupId>
21       <artifactId>jsr305</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>org.opendaylight.mdsal</groupId>
25       <artifactId>yang-binding</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.yangtools</groupId>
29       <artifactId>yang-common</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.osgi</groupId>
33       <artifactId>org.osgi.core</artifactId>
34
35       <!-- We are adding generated code which is bound to OSGi, so we need
36            to make sure anyone dependending on this artifact inherits it -->
37       <scope>compile</scope>
38     </dependency>
39       <dependency>
40           <groupId>org.opendaylight.yangtools</groupId>
41           <artifactId>mockito-configuration</artifactId>
42       </dependency>
43   </dependencies>
44
45   <build>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.felix</groupId>
49         <artifactId>maven-bundle-plugin</artifactId>
50       </plugin>
51       <plugin>
52         <groupId>org.opendaylight.yangtools</groupId>
53         <artifactId>yang-maven-plugin</artifactId>
54       </plugin>
55     </plugins>
56   </build>
57
58   <profiles>
59     <!-- Turn off doclint on aggregated API javadoc build. -->
60     <profile>
61       <id>jdk8</id>
62       <activation>
63         <jdk>[1.8,)</jdk>
64       </activation>
65
66       <build>
67         <plugins>
68           <plugin>
69             <groupId>org.apache.maven.plugins</groupId>
70             <artifactId>maven-javadoc-plugin</artifactId>
71             <configuration>
72               <additionalparam>-Xdoclint:none</additionalparam>
73             </configuration>
74           </plugin>
75         </plugins>
76       </build>
77     </profile>
78   </profiles>
79 </project>