Remove SupressWarnings("all")
[controller.git] / opendaylight / netconf / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3
4     <parent>
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>commons.opendaylight</artifactId>
7         <version>1.4.2-SNAPSHOT</version>
8         <relativePath>../commons/opendaylight</relativePath>
9     </parent>
10
11     <version>0.2.5-SNAPSHOT</version>
12     <artifactId>netconf-subsystem</artifactId>
13     <packaging>pom</packaging>
14     <name>${project.artifactId}</name>
15     <prerequisites>
16         <maven>3.0.4</maven>
17     </prerequisites>
18
19
20     <modules>
21         <module>netconf-api</module>
22         <module>netconf-impl</module>
23         <module>config-netconf-connector</module>
24         <module>netconf-util</module>
25         <module>config-persister-impl</module>
26         <module>netconf-mapping-api</module>
27         <module>netconf-client</module>
28         <module>netconf-ssh</module>
29         <module>netconf-monitoring</module>
30         <module>ietf-netconf-monitoring</module>
31         <module>ietf-netconf-monitoring-extension</module>
32     </modules>
33
34     <profiles>
35         <profile>
36            <id>integrationtests</id>
37            <activation>
38                <activeByDefault>false</activeByDefault>
39            </activation>
40             <modules>
41               <module>netconf-it</module>
42             </modules>
43         </profile>
44     </profiles>
45
46     <properties>
47         <osgi.version>5.0.0</osgi.version>
48         <maven.bundle.version>2.4.0</maven.bundle.version>
49         <slf4j.version>1.7.2</slf4j.version>
50         <netconf.netty.version>4.0.10.Final</netconf.netty.version>
51         <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
52     </properties>
53
54     <dependencies>
55         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>ch.qos.logback</groupId>
62             <artifactId>logback-classic</artifactId>
63             <scope>test</scope>
64         </dependency>
65     </dependencies>
66
67     <dependencyManagement>
68         <dependencies>
69             <dependency>
70                 <groupId>org.osgi</groupId>
71                 <artifactId>org.osgi.core</artifactId>
72                 <version>${osgi.version}</version>
73             </dependency>
74             <dependency>
75                 <groupId>${project.groupId}</groupId>
76                 <artifactId>config-api</artifactId>
77                 <version>${config.version}</version>
78             </dependency>
79             <dependency>
80                 <groupId>${project.groupId}</groupId>
81                 <artifactId>config-manager</artifactId>
82                 <version>${config.version}</version>
83             </dependency>
84             <dependency>
85                 <groupId>${project.groupId}</groupId>
86                 <artifactId>config-manager</artifactId>
87                 <version>${config.version}</version>
88                 <type>test-jar</type>
89             </dependency>
90             <dependency>
91                 <groupId>${project.groupId}</groupId>
92                 <artifactId>yang-jmx-generator</artifactId>
93                 <version>${config.version}</version>
94             </dependency>
95             <dependency>
96                 <groupId>${project.groupId}</groupId>
97                 <artifactId>config-util</artifactId>
98                 <version>${config.version}</version>
99             </dependency>
100             <dependency>
101                 <groupId>${project.groupId}</groupId>
102                 <artifactId>yang-store-api</artifactId>
103                 <version>${config.version}</version>
104             </dependency>
105             <dependency>
106                 <groupId>${project.groupId}</groupId>
107                 <artifactId>yang-store-impl</artifactId>
108                 <version>${config.version}</version>
109             </dependency>
110             <dependency>
111                 <groupId>${project.groupId}</groupId>
112                 <artifactId>yang-store-impl</artifactId>
113                 <version>${config.version}</version>
114                 <type>test-jar</type>
115             </dependency>
116             <dependency>
117                 <groupId>${project.groupId}</groupId>
118                 <artifactId>yang-test</artifactId>
119                 <version>${config.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>${project.groupId}</groupId>
123                 <artifactId>netconf-api</artifactId>
124                 <version>${netconf.version}</version>
125             </dependency>
126             <dependency>
127                 <groupId>${project.groupId}</groupId>
128                 <artifactId>netconf-util</artifactId>
129                 <version>${netconf.version}</version>
130             </dependency>
131             <dependency>
132                 <groupId>${project.groupId}</groupId>
133                 <artifactId>netconf-util</artifactId>
134                 <version>${netconf.version}</version>
135                 <type>test-jar</type>
136             </dependency>
137             <dependency>
138                 <groupId>${project.groupId}</groupId>
139                 <artifactId>netconf-ssh</artifactId>
140                 <version>${netconf.version}</version>
141             </dependency>
142             <dependency>
143                 <groupId>${project.groupId}</groupId>
144                 <artifactId>netconf-ssh</artifactId>
145                 <version>${netconf.version}</version>
146                 <type>test-jar</type>
147             </dependency>
148             <dependency>
149                 <groupId>${project.groupId}</groupId>
150                 <artifactId>netconf-mapping-api</artifactId>
151                 <version>${netconf.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>${project.groupId}</groupId>
155                 <artifactId>netconf-impl</artifactId>
156                 <version>${netconf.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>${project.groupId}</groupId>
160                 <artifactId>netconf-monitoring</artifactId>
161                 <version>${netconf.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>${project.groupId}</groupId>
165                 <artifactId>ietf-netconf-monitoring</artifactId>
166                 <version>${netconf.version}</version>
167             </dependency>
168             <dependency>
169                 <groupId>org.opendaylight.controller</groupId>
170                 <artifactId>config-persister-api</artifactId>
171                 <version>${config.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>org.opendaylight.controller</groupId>
175                 <artifactId>config-persister-file-adapter</artifactId>
176                 <version>${config.version}</version>
177             </dependency>
178             <dependency>
179                 <groupId>${project.groupId}</groupId>
180                 <artifactId>netconf-client</artifactId>
181                 <version>${netconf.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>xmlunit</groupId>
185                 <artifactId>xmlunit</artifactId>
186                 <version>1.4</version>
187             </dependency>
188             <dependency>
189                 <groupId>${project.groupId}</groupId>
190                 <artifactId>config-netconf-connector</artifactId>
191                 <version>${netconf.version}</version>
192             </dependency>
193             <dependency>
194                 <groupId>${project.groupId}</groupId>
195                 <artifactId>config-persister-impl</artifactId>
196                 <version>${netconf.version}</version>
197             </dependency>
198             <dependency>
199                 <groupId>org.opendaylight.controller</groupId>
200                 <artifactId>logback-config</artifactId>
201                 <version>${config.version}</version>
202             </dependency>
203         </dependencies>
204     </dependencyManagement>
205
206
207     <build>
208         <plugins>
209             <plugin>
210                 <groupId>org.apache.maven.plugins</groupId>
211                 <artifactId>maven-compiler-plugin</artifactId>
212             </plugin>
213         </plugins>
214         <pluginManagement>
215             <plugins>
216                 <plugin>
217                     <groupId>org.apache.felix</groupId>
218                     <artifactId>maven-bundle-plugin</artifactId>
219                     <version>${maven.bundle.version}</version>
220                     <extensions>true</extensions>
221                     <configuration>
222                         <instructions>
223                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
224                         </instructions>
225                     </configuration>
226                 </plugin>
227                 <plugin>
228                     <groupId>org.opendaylight.yangtools</groupId>
229                     <artifactId>yang-maven-plugin</artifactId>
230                     <version>${yangtools.version}</version>
231                     <executions>
232                         <execution>
233                             <goals>
234                                 <goal>generate-sources</goal>
235                             </goals>
236                             <configuration>
237                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
238                                 <codeGenerators>
239                                     <generator>
240                                         <codeGeneratorClass>
241                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
242                                         </codeGeneratorClass>
243                                         <outputBaseDir>
244                                             ${salGeneratorPath}
245                                         </outputBaseDir>
246                                     </generator>
247                                     <generator>
248                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
249                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
250                                     </generator>
251                                 </codeGenerators>
252                                 <inspectDependencies>true</inspectDependencies>
253                             </configuration>
254                         </execution>
255                     </executions>
256                     <dependencies>
257                         <dependency>
258                             <groupId>org.opendaylight.yangtools</groupId>
259                             <artifactId>maven-sal-api-gen-plugin</artifactId>
260                             <version>${yangtools.version}</version>
261                         </dependency>
262                     </dependencies>
263                 </plugin>
264                 <plugin>
265                     <groupId>org.codehaus.mojo</groupId>
266                     <artifactId>build-helper-maven-plugin</artifactId>
267                     <version>1.7</version>
268                     <executions>
269                         <execution>
270                             <phase>generate-sources</phase>
271                             <goals>
272                                 <goal>add-source</goal>
273                             </goals>
274                             <configuration>
275                                 <sources>
276                                     <source>${salGeneratorPath}</source>
277                                 </sources>
278                             </configuration>
279                         </execution>
280                     </executions>
281                 </plugin>
282             </plugins>
283
284         </pluginManagement>
285     </build>
286 </project>