6baf7e10706093689cd7f5eccd5392e2d009e082
[controller.git] / opendaylight / config / config-manager / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>bundle-parent</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <version>0.6.0-SNAPSHOT</version>
13   <artifactId>config-manager</artifactId>
14   <packaging>bundle</packaging>
15   <name>${project.artifactId}</name>
16
17   <dependencyManagement>
18     <dependencies>
19       <dependency>
20         <groupId>org.opendaylight.mdsal</groupId>
21         <artifactId>mdsal-artifacts</artifactId>
22         <version>2.2.0-SNAPSHOT</version>
23         <type>pom</type>
24         <scope>import</scope>
25       </dependency>
26       <dependency>
27         <groupId>org.opendaylight.controller</groupId>
28         <artifactId>config-artifacts</artifactId>
29         <version>0.6.0-SNAPSHOT</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33       <dependency>
34         <groupId>org.opendaylight.yangtools</groupId>
35         <artifactId>yangtools-artifacts</artifactId>
36         <version>1.1.0-SNAPSHOT</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <!-- compile dependencies -->
45     <dependency>
46       <groupId>${project.groupId}</groupId>
47       <artifactId>config-api</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>com.google.code.findbugs</groupId>
51       <artifactId>jsr305</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>com.google.guava</groupId>
55       <artifactId>guava</artifactId>
56     </dependency>
57
58     <!--Dependencies regardign RuntimeGeneratedMappingService-->
59     <dependency>
60       <groupId>org.opendaylight.mdsal</groupId>
61       <artifactId>mdsal-binding-generator-impl</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.yangtools</groupId>
65       <artifactId>concepts</artifactId>
66     </dependency>
67
68     <!-- test dependencies -->
69     <dependency>
70       <groupId>org.opendaylight.yangtools</groupId>
71       <artifactId>mockito-configuration</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools</groupId>
75       <artifactId>yang-data-impl</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.osgi</groupId>
79       <artifactId>org.osgi.core</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.slf4j</groupId>
83       <artifactId>slf4j-api</artifactId>
84     </dependency>
85     <!--End-->
86
87     <dependency>
88       <groupId>${project.groupId}</groupId>
89       <artifactId>config-util</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>${project.groupId}</groupId>
94       <artifactId>config-util</artifactId>
95       <type>test-jar</type>
96       <scope>test</scope>
97     </dependency>
98   </dependencies>
99
100   <build>
101     <plugins>
102       <plugin>
103         <groupId>org.apache.felix</groupId>
104         <artifactId>maven-bundle-plugin</artifactId>
105         <configuration>
106           <instructions>
107             <Bundle-Activator>org.opendaylight.controller.config.manager.impl.osgi.ConfigManagerActivator</Bundle-Activator>
108             <Private-Package>org.opendaylight.controller.config.manager.*,
109                             javax.annotation.*,</Private-Package>
110             <Export-Package></Export-Package>
111           </instructions>
112         </configuration>
113       </plugin>
114       <!-- test jar -->
115       <plugin>
116         <groupId>org.apache.maven.plugins</groupId>
117         <artifactId>maven-jar-plugin</artifactId>
118         <executions>
119           <execution>
120             <goals>
121               <goal>test-jar</goal>
122             </goals>
123             <phase>package</phase>
124           </execution>
125         </executions>
126       </plugin>
127     </plugins>
128   </build>
129
130   <profiles>
131     <!-- Turn off doclint on aggregated API javadoc build. -->
132     <profile>
133       <id>jdk8</id>
134       <activation>
135         <jdk>[1.8,)</jdk>
136       </activation>
137
138       <build>
139         <plugins>
140           <plugin>
141             <groupId>org.apache.maven.plugins</groupId>
142             <artifactId>maven-javadoc-plugin</artifactId>
143             <configuration>
144               <additionalparam>-Xdoclint:none</additionalparam>
145             </configuration>
146           </plugin>
147         </plugins>
148       </build>
149     </profile>
150   </profiles>
151 </project>