bec17ff8ab22f31b5b3e114e196b132874dabf1e
[controller.git] / opendaylight / netconf / 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
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.2-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11   <artifactId>netconf-subsystem</artifactId>
12
13   <version>0.2.5-SNAPSHOT</version>
14   <packaging>pom</packaging>
15   <name>${project.artifactId}</name>
16   <prerequisites>
17     <maven>3.0.4</maven>
18   </prerequisites>
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     <module>../../third-party/org.openexi</module>
33   </modules>
34
35   <properties>
36     <maven.bundle.version>2.4.0</maven.bundle.version>
37     <osgi.version>5.0.0</osgi.version>
38     <slf4j.version>1.7.2</slf4j.version>
39   </properties>
40
41   <dependencyManagement>
42     <dependencies>
43       <dependency>
44         <groupId>${project.groupId}</groupId>
45         <artifactId>config-api</artifactId>
46         <version>${config.version}</version>
47       </dependency>
48       <dependency>
49         <groupId>${project.groupId}</groupId>
50         <artifactId>config-manager</artifactId>
51         <version>${config.version}</version>
52       </dependency>
53       <dependency>
54         <groupId>${project.groupId}</groupId>
55         <artifactId>config-manager</artifactId>
56         <version>${config.version}</version>
57         <type>test-jar</type>
58       </dependency>
59       <dependency>
60         <groupId>${project.groupId}</groupId>
61         <artifactId>config-netconf-connector</artifactId>
62         <version>${netconf.version}</version>
63       </dependency>
64       <dependency>
65         <groupId>${project.groupId}</groupId>
66         <artifactId>config-persister-impl</artifactId>
67         <version>${netconf.version}</version>
68       </dependency>
69       <dependency>
70         <groupId>${project.groupId}</groupId>
71         <artifactId>config-util</artifactId>
72         <version>${config.version}</version>
73       </dependency>
74       <dependency>
75         <groupId>${project.groupId}</groupId>
76         <artifactId>ietf-netconf-monitoring</artifactId>
77         <version>${netconf.version}</version>
78       </dependency>
79       <dependency>
80         <groupId>${project.groupId}</groupId>
81         <artifactId>netconf-api</artifactId>
82         <version>${netconf.version}</version>
83       </dependency>
84       <dependency>
85         <groupId>${project.groupId}</groupId>
86         <artifactId>netconf-client</artifactId>
87         <version>${netconf.version}</version>
88       </dependency>
89       <dependency>
90         <groupId>${project.groupId}</groupId>
91         <artifactId>netconf-impl</artifactId>
92         <version>${netconf.version}</version>
93       </dependency>
94       <dependency>
95         <groupId>${project.groupId}</groupId>
96         <artifactId>netconf-impl</artifactId>
97         <version>${netconf.version}</version>
98         <type>test-jar</type>
99       </dependency>
100       <dependency>
101         <groupId>${project.groupId}</groupId>
102         <artifactId>netconf-mapping-api</artifactId>
103         <version>${netconf.version}</version>
104       </dependency>
105       <dependency>
106         <groupId>${project.groupId}</groupId>
107         <artifactId>netconf-monitoring</artifactId>
108         <version>${netconf.version}</version>
109       </dependency>
110       <dependency>
111         <groupId>${project.groupId}</groupId>
112         <artifactId>netconf-ssh</artifactId>
113         <version>${netconf.version}</version>
114       </dependency>
115       <dependency>
116         <groupId>${project.groupId}</groupId>
117         <artifactId>netconf-ssh</artifactId>
118         <version>${netconf.version}</version>
119         <type>test-jar</type>
120       </dependency>
121       <dependency>
122         <groupId>${project.groupId}</groupId>
123         <artifactId>netconf-util</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         <type>test-jar</type>
131       </dependency>
132       <dependency>
133         <groupId>${project.groupId}</groupId>
134         <artifactId>yang-jmx-generator</artifactId>
135         <version>${config.version}</version>
136       </dependency>
137       <dependency>
138         <groupId>${project.groupId}</groupId>
139         <artifactId>yang-test</artifactId>
140         <version>${config.version}</version>
141       </dependency>
142       <dependency>
143         <groupId>org.opendaylight.controller</groupId>
144         <artifactId>config-persister-api</artifactId>
145         <version>${config.version}</version>
146       </dependency>
147       <dependency>
148         <groupId>org.opendaylight.controller</groupId>
149         <artifactId>logback-config</artifactId>
150         <version>${config.version}</version>
151       </dependency>
152       <dependency>
153         <groupId>org.osgi</groupId>
154         <artifactId>org.osgi.core</artifactId>
155         <version>${osgi.version}</version>
156       </dependency>
157       <dependency>
158         <groupId>xmlunit</groupId>
159         <artifactId>xmlunit</artifactId>
160         <version>1.4</version>
161       </dependency>
162     </dependencies>
163   </dependencyManagement>
164
165   <dependencies>
166     <dependency>
167       <groupId>ch.qos.logback</groupId>
168       <artifactId>logback-classic</artifactId>
169       <scope>test</scope>
170     </dependency>
171     <dependency>
172       <groupId>junit</groupId>
173       <artifactId>junit</artifactId>
174       <scope>test</scope>
175     </dependency>
176   </dependencies>
177
178   <build>
179     <pluginManagement>
180       <plugins>
181         <plugin>
182           <groupId>org.apache.felix</groupId>
183           <artifactId>maven-bundle-plugin</artifactId>
184           <version>${maven.bundle.version}</version>
185           <extensions>true</extensions>
186           <configuration>
187             <instructions>
188               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
189             </instructions>
190           </configuration>
191         </plugin>
192         <plugin>
193           <groupId>org.opendaylight.yangtools</groupId>
194           <artifactId>yang-maven-plugin</artifactId>
195           <version>${yangtools.version}</version>
196           <dependencies>
197             <dependency>
198               <groupId>org.opendaylight.yangtools</groupId>
199               <artifactId>maven-sal-api-gen-plugin</artifactId>
200               <version>${yangtools.version}</version>
201             </dependency>
202           </dependencies>
203           <executions>
204             <execution>
205               <goals>
206                 <goal>generate-sources</goal>
207               </goals>
208               <configuration>
209                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
210                 <codeGenerators>
211                   <generator>
212                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
213                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
214                   </generator>
215                   <generator>
216                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
217                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
218                   </generator>
219                 </codeGenerators>
220                 <inspectDependencies>true</inspectDependencies>
221               </configuration>
222             </execution>
223           </executions>
224         </plugin>
225       </plugins>
226
227     </pluginManagement>
228     <plugins>
229       <plugin>
230         <groupId>org.apache.maven.plugins</groupId>
231         <artifactId>maven-compiler-plugin</artifactId>
232       </plugin>
233     </plugins>
234   </build>
235
236   <profiles>
237     <profile>
238       <id>integrationtests</id>
239       <activation>
240         <activeByDefault>false</activeByDefault>
241       </activation>
242       <modules>
243         <module>netconf-it</module>
244       </modules>
245     </profile>
246   </profiles>
247 </project>