Merge "Resolve Bug:707 - ConfigPusher should wait for netconf-impl to register JMX...
[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     </properties>
51
52     <dependencies>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>ch.qos.logback</groupId>
60             <artifactId>logback-classic</artifactId>
61             <scope>test</scope>
62         </dependency>
63     </dependencies>
64
65     <dependencyManagement>
66         <dependencies>
67             <dependency>
68                 <groupId>org.osgi</groupId>
69                 <artifactId>org.osgi.core</artifactId>
70                 <version>${osgi.version}</version>
71             </dependency>
72             <dependency>
73                 <groupId>${project.groupId}</groupId>
74                 <artifactId>config-api</artifactId>
75                 <version>${config.version}</version>
76             </dependency>
77             <dependency>
78                 <groupId>${project.groupId}</groupId>
79                 <artifactId>config-manager</artifactId>
80                 <version>${config.version}</version>
81             </dependency>
82             <dependency>
83                 <groupId>${project.groupId}</groupId>
84                 <artifactId>config-manager</artifactId>
85                 <version>${config.version}</version>
86                 <type>test-jar</type>
87             </dependency>
88             <dependency>
89                 <groupId>${project.groupId}</groupId>
90                 <artifactId>yang-jmx-generator</artifactId>
91                 <version>${config.version}</version>
92             </dependency>
93             <dependency>
94                 <groupId>${project.groupId}</groupId>
95                 <artifactId>config-util</artifactId>
96                 <version>${config.version}</version>
97             </dependency>
98             <dependency>
99                 <groupId>${project.groupId}</groupId>
100                 <artifactId>yang-test</artifactId>
101                 <version>${config.version}</version>
102             </dependency>
103             <dependency>
104                 <groupId>${project.groupId}</groupId>
105                 <artifactId>netconf-api</artifactId>
106                 <version>${netconf.version}</version>
107             </dependency>
108             <dependency>
109                 <groupId>${project.groupId}</groupId>
110                 <artifactId>netconf-util</artifactId>
111                 <version>${netconf.version}</version>
112             </dependency>
113             <dependency>
114                 <groupId>${project.groupId}</groupId>
115                 <artifactId>netconf-util</artifactId>
116                 <version>${netconf.version}</version>
117                 <type>test-jar</type>
118             </dependency>
119             <dependency>
120                 <groupId>${project.groupId}</groupId>
121                 <artifactId>netconf-ssh</artifactId>
122                 <version>${netconf.version}</version>
123             </dependency>
124             <dependency>
125                 <groupId>${project.groupId}</groupId>
126                 <artifactId>netconf-ssh</artifactId>
127                 <version>${netconf.version}</version>
128                 <type>test-jar</type>
129             </dependency>
130             <dependency>
131                 <groupId>${project.groupId}</groupId>
132                 <artifactId>netconf-mapping-api</artifactId>
133                 <version>${netconf.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>${project.groupId}</groupId>
137                 <artifactId>netconf-impl</artifactId>
138                 <version>${netconf.version}</version>
139             </dependency>
140             <dependency>
141                 <groupId>${project.groupId}</groupId>
142                 <artifactId>netconf-monitoring</artifactId>
143                 <version>${netconf.version}</version>
144             </dependency>
145             <dependency>
146                 <groupId>${project.groupId}</groupId>
147                 <artifactId>ietf-netconf-monitoring</artifactId>
148                 <version>${netconf.version}</version>
149             </dependency>
150             <dependency>
151                 <groupId>org.opendaylight.controller</groupId>
152                 <artifactId>config-persister-api</artifactId>
153                 <version>${config.version}</version>
154             </dependency>
155             <dependency>
156                 <groupId>${project.groupId}</groupId>
157                 <artifactId>netconf-client</artifactId>
158                 <version>${netconf.version}</version>
159             </dependency>
160             <dependency>
161                 <groupId>xmlunit</groupId>
162                 <artifactId>xmlunit</artifactId>
163                 <version>1.4</version>
164             </dependency>
165             <dependency>
166                 <groupId>${project.groupId}</groupId>
167                 <artifactId>config-netconf-connector</artifactId>
168                 <version>${netconf.version}</version>
169             </dependency>
170             <dependency>
171                 <groupId>${project.groupId}</groupId>
172                 <artifactId>config-persister-impl</artifactId>
173                 <version>${netconf.version}</version>
174             </dependency>
175             <dependency>
176                 <groupId>org.opendaylight.controller</groupId>
177                 <artifactId>logback-config</artifactId>
178                 <version>${config.version}</version>
179             </dependency>
180         </dependencies>
181     </dependencyManagement>
182
183
184     <build>
185         <plugins>
186             <plugin>
187                 <groupId>org.apache.maven.plugins</groupId>
188                 <artifactId>maven-compiler-plugin</artifactId>
189             </plugin>
190         </plugins>
191         <pluginManagement>
192             <plugins>
193                 <plugin>
194                     <groupId>org.apache.felix</groupId>
195                     <artifactId>maven-bundle-plugin</artifactId>
196                     <version>${maven.bundle.version}</version>
197                     <extensions>true</extensions>
198                     <configuration>
199                         <instructions>
200                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
201                         </instructions>
202                     </configuration>
203                 </plugin>
204                 <plugin>
205                     <groupId>org.opendaylight.yangtools</groupId>
206                     <artifactId>yang-maven-plugin</artifactId>
207                     <version>${yangtools.version}</version>
208                     <executions>
209                         <execution>
210                             <goals>
211                                 <goal>generate-sources</goal>
212                             </goals>
213                             <configuration>
214                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
215                                 <codeGenerators>
216                                     <generator>
217                                         <codeGeneratorClass>
218                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
219                                         </codeGeneratorClass>
220                                         <outputBaseDir>
221                                             ${salGeneratorPath}
222                                         </outputBaseDir>
223                                     </generator>
224                                     <generator>
225                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
226                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
227                                     </generator>
228                                 </codeGenerators>
229                                 <inspectDependencies>true</inspectDependencies>
230                             </configuration>
231                         </execution>
232                     </executions>
233                     <dependencies>
234                         <dependency>
235                             <groupId>org.opendaylight.yangtools</groupId>
236                             <artifactId>maven-sal-api-gen-plugin</artifactId>
237                             <version>${yangtools.version}</version>
238                         </dependency>
239                     </dependencies>
240                 </plugin>
241             </plugins>
242
243         </pluginManagement>
244     </build>
245 </project>