34cc5c4442d6574ff1b1e6077bbe2e2bbcdb3d39
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / 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>netconf-subsystem</artifactId>
8     <version>0.4.0-SNAPSHOT</version>
9   </parent>
10   <artifactId>mdsal-netconf-connector</artifactId>
11   <packaging>bundle</packaging>
12   <name>${project.artifactId}</name>
13
14   <dependencies>
15     <dependency>
16       <groupId>${project.groupId}</groupId>
17       <artifactId>netconf-api</artifactId>
18     </dependency>
19     <dependency>
20       <groupId>${project.groupId}</groupId>
21       <artifactId>netconf-mapping-api</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>${project.groupId}</groupId>
25       <artifactId>netconf-util</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>com.google.guava</groupId>
29       <artifactId>guava</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.yangtools</groupId>
33       <artifactId>yang-data-impl</artifactId>
34       <exclusions>
35           <exclusion>
36               <groupId>org.opendaylight.yangtools</groupId>
37               <artifactId>object-cache-api</artifactId>
38           </exclusion>
39       </exclusions>
40
41     </dependency>
42       <dependency>
43           <groupId>org.opendaylight.yangtools</groupId>
44           <artifactId>object-cache-noop</artifactId>
45       </dependency>
46       <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>sal-core-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>commons.logback_settings</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.yangtools</groupId>
56       <artifactId>mockito-configuration</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.slf4j</groupId>
60       <artifactId>slf4j-api</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>config-util</artifactId>
65     </dependency>
66       <dependency>
67           <groupId>org.opendaylight.controller</groupId>
68           <artifactId>config-api</artifactId>
69       </dependency>
70       <dependency>
71           <groupId>org.opendaylight.yangtools</groupId>
72           <artifactId>yang-data-operations</artifactId>
73       </dependency>
74       <dependency>
75           <groupId>org.opendaylight.controller</groupId>
76           <artifactId>sal-broker-impl</artifactId>
77           <scope>test</scope>
78       </dependency>
79       <dependency>
80           <groupId>org.opendaylight.controller</groupId>
81           <artifactId>sal-distributed-datastore</artifactId>
82           <scope>test</scope>
83       </dependency>
84       <dependency>
85           <groupId>org.opendaylight.controller</groupId>
86           <artifactId>netconf-util</artifactId>
87           <type>test-jar</type>
88           <scope>test</scope>
89       </dependency>
90       <dependency>
91           <groupId>xmlunit</groupId>
92           <artifactId>xmlunit</artifactId>
93           <scope>test</scope>
94       </dependency>
95   </dependencies>
96
97   <build>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.felix</groupId>
101         <artifactId>maven-bundle-plugin</artifactId>
102         <configuration>
103           <instructions>
104             <Import-Package>*</Import-Package>
105           </instructions>
106         </configuration>
107       </plugin>
108       <!--FIXME extract yang plugin definition into parent-->
109       <plugin>
110         <groupId>org.opendaylight.yangtools</groupId>
111         <artifactId>yang-maven-plugin</artifactId>
112         <executions>
113           <execution>
114             <id>config</id>
115             <goals>
116               <goal>generate-sources</goal>
117             </goals>
118             <configuration>
119               <codeGenerators>
120                 <generator>
121                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
122                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
123                   <additionalConfiguration>
124                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
125                   </additionalConfiguration>
126                 </generator>
127                 <generator>
128                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
129                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
130                 </generator>
131               </codeGenerators>
132               <inspectDependencies>true</inspectDependencies>
133             </configuration>
134           </execution>
135         </executions>
136         <dependencies>
137           <dependency>
138             <groupId>org.opendaylight.controller</groupId>
139             <artifactId>yang-jmx-generator-plugin</artifactId>
140             <version>${config.version}</version>
141           </dependency>
142         </dependencies>
143       </plugin>
144     </plugins>
145   </build>
146
147 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.