Merge "Resolve Bug:448 - Remove yang-store api and impl."
[controller.git] / opendaylight / md-sal / sal-netconf-connector / 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     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8
9     <artifactId>sal-netconf-connector</artifactId>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16
17     <dependencies>
18         <dependency>
19             <groupId>${project.groupId}</groupId>
20             <artifactId>sal-connector-api</artifactId>
21         </dependency>
22         <dependency>
23             <groupId>${project.groupId}</groupId>
24             <artifactId>sal-common-util</artifactId>
25             <version>1.1-SNAPSHOT</version>
26         </dependency>
27         <dependency>
28             <groupId>org.eclipse.xtend</groupId>
29             <artifactId>org.eclipse.xtend.lib</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.controller</groupId>
33             <artifactId>netty-threadgroup-config</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.controller</groupId>
37             <artifactId>netconf-client</artifactId>
38             <version>${netconf.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.opendaylight.yangtools</groupId>
42             <artifactId>yang-data-impl</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.controller</groupId>
46             <artifactId>sal-broker-impl</artifactId>
47             <scope>test</scope>
48             <type>jar</type>
49         </dependency>
50         <dependency>
51             <groupId>junit</groupId>
52             <artifactId>junit</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>yang-test</artifactId>
58             <version>${netconf.version}</version>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>config-api</artifactId>
64             <version>${netconf.version}</version>
65             <scope>provided</scope>
66         </dependency>
67         <dependency>
68             <groupId>${project.groupId}</groupId>
69             <artifactId>config-util</artifactId>
70             <version>${netconf.version}</version>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>${project.groupId}</groupId>
75             <artifactId>netconf-client</artifactId>
76             <version>${netconf.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>${project.groupId}</groupId>
80             <artifactId>config-netconf-connector</artifactId>
81             <scope>test</scope>
82             <version>${netconf.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>config-manager</artifactId>
87             <scope>test</scope>
88             <version>${netconf.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>config-persister-impl</artifactId>
93             <scope>test</scope>
94             <version>${netconf.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>config-manager</artifactId>
99             <scope>test</scope>
100             <type>test-jar</type>
101             <version>${netconf.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>${project.groupId}</groupId>
105             <artifactId>netconf-impl</artifactId>
106             <scope>test</scope>
107             <version>${netconf.version}</version>
108         </dependency>
109         <dependency>
110             <groupId>${project.groupId}</groupId>
111             <artifactId>netconf-mapping-api</artifactId>
112             <scope>test</scope>
113             <version>${netconf.version}</version>
114         </dependency>
115         <dependency>
116             <groupId>${project.groupId}</groupId>
117             <artifactId>netconf-util</artifactId>
118             <scope>test</scope>
119             <type>test-jar</type>
120             <version>${netconf.version}</version>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.controller</groupId>
124             <artifactId>logback-config</artifactId>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.mockito</groupId>
129             <artifactId>mockito-all</artifactId>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.slf4j</groupId>
134             <artifactId>slf4j-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.controller</groupId>
138             <artifactId>sal-binding-broker-impl</artifactId>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142            <groupId>org.opendaylight.controller</groupId>
143            <artifactId>sal-binding-broker-impl</artifactId>
144            <type>test-jar</type>
145            <scope>test</scope>
146         </dependency>
147         <dependency>
148         <groupId>org.opendaylight.controller</groupId>
149         <artifactId>ietf-netconf-monitoring</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.yangtools.model</groupId>
153             <artifactId>ietf-inet-types</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>threadpool-config-api</artifactId>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.controller</groupId>
161             <artifactId>netty-config-api</artifactId>
162         </dependency>
163     </dependencies>
164
165     <packaging>bundle</packaging>
166
167     <build>
168         <plugins>
169             <plugin>
170                 <groupId>org.apache.felix</groupId>
171                 <artifactId>maven-bundle-plugin</artifactId>
172                 <configuration>
173                     <instructions>
174                         <Import-Package>
175                             *
176                         </Import-Package>
177                     </instructions>
178                 </configuration>
179             </plugin>
180             <plugin>
181                 <groupId>org.opendaylight.yangtools</groupId>
182                 <artifactId>yang-maven-plugin</artifactId>
183                 <executions>
184                     <execution>
185                         <goals>
186                             <goal>generate-sources</goal>
187                         </goals>
188                         <configuration>
189                             <codeGenerators>
190                                 <generator>
191                                     <codeGeneratorClass>
192                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
193                                     </codeGeneratorClass>
194                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
195                                     <additionalConfiguration>
196                                         <namespaceToPackage1>
197                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
198                                         </namespaceToPackage1>
199                                     </additionalConfiguration>
200                                 </generator>
201                                 <generator>
202                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
203                                     <outputBaseDir>target/site/models</outputBaseDir>
204                                 </generator>
205                             </codeGenerators>
206                             <inspectDependencies>true</inspectDependencies>
207                         </configuration>
208                     </execution>
209                 </executions>
210                 <dependencies>
211                     <dependency>
212                         <groupId>org.opendaylight.controller</groupId>
213                         <artifactId>yang-jmx-generator-plugin</artifactId>
214                         <version>${config.version}</version>
215                     </dependency>
216                     <dependency>
217                         <groupId>org.opendaylight.yangtools</groupId>
218                         <artifactId>maven-sal-api-gen-plugin</artifactId>
219                         <version>${yangtools.version}</version>
220                         <type>jar</type>
221                     </dependency>
222                 </dependencies>
223             </plugin>
224             <plugin>
225                 <groupId>org.codehaus.mojo</groupId>
226                 <artifactId>build-helper-maven-plugin</artifactId>
227                 <version>1.8</version>
228                 <executions>
229                     <execution>
230                         <id>add-source</id>
231                         <phase>generate-sources</phase>
232                         <goals>
233                             <goal>add-source</goal>
234                         </goals>
235                         <configuration>
236                             <sources>
237                                 <source>${project.build.directory}/generated-sources/config</source>
238                                 <source>src/main/xtend-gen</source>
239                             </sources>
240                         </configuration>
241                     </execution>
242                 </executions>
243             </plugin>
244
245             <plugin>
246                 <groupId>org.eclipse.xtend</groupId>
247                 <artifactId>xtend-maven-plugin</artifactId>
248             </plugin>
249         </plugins>
250     </build>
251 </project>