Merge "Startup arch - remove artifactId prefix from dir names."
[controller.git] / opendaylight / netconf / netconf-impl / 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.3.0-SNAPSHOT</version>
9   </parent>
10   <artifactId>netconf-impl</artifactId>
11   <packaging>bundle</packaging>
12   <name>${project.artifactId}</name>
13
14   <dependencies>
15     <dependency>
16       <groupId>${project.groupId}</groupId>
17       <artifactId>ietf-netconf-monitoring</artifactId>
18     </dependency>
19     <dependency>
20       <groupId>${project.groupId}</groupId>
21       <artifactId>ietf-netconf-monitoring-extension</artifactId>
22     </dependency>
23     <!-- compile dependencies -->
24     <dependency>
25       <groupId>${project.groupId}</groupId>
26       <artifactId>netconf-api</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>${project.groupId}</groupId>
30       <artifactId>netconf-mapping-api</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>${project.groupId}</groupId>
34       <artifactId>netconf-netty-util</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>${project.groupId}</groupId>
38       <artifactId>netconf-util</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>com.google.guava</groupId>
42       <artifactId>guava</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.controller</groupId>
46       <artifactId>commons.logback_settings</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>config-util</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>protocol-framework</artifactId>
55     </dependency>
56     <!-- test dependencies -->
57     <dependency>
58       <groupId>org.opendaylight.yangtools</groupId>
59       <artifactId>mockito-configuration</artifactId>
60     </dependency>
61
62     <dependency>
63       <groupId>org.opendaylight.yangtools.model</groupId>
64       <artifactId>ietf-inet-types</artifactId>
65     </dependency>
66
67     <dependency>
68       <groupId>org.osgi</groupId>
69       <artifactId>org.osgi.core</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.slf4j</groupId>
73       <artifactId>slf4j-api</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>${project.groupId}</groupId>
77       <artifactId>netconf-client</artifactId>
78       <scope>test</scope>
79     </dependency>
80     <dependency>
81       <groupId>${project.groupId}</groupId>
82       <artifactId>netconf-client</artifactId>
83       <type>test-jar</type>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>${project.groupId}</groupId>
88       <artifactId>netconf-util</artifactId>
89       <type>test-jar</type>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>commons-io</groupId>
94       <artifactId>commons-io</artifactId>
95       <scope>test</scope>
96     </dependency>
97
98     <dependency>
99       <groupId>xmlunit</groupId>
100       <artifactId>xmlunit</artifactId>
101       <scope>test</scope>
102     </dependency>
103   </dependencies>
104
105   <build>
106     <plugins>
107       <plugin>
108         <groupId>org.apache.felix</groupId>
109         <artifactId>maven-bundle-plugin</artifactId>
110         <configuration>
111           <instructions>
112             <Bundle-Activator>org.opendaylight.controller.netconf.impl.osgi.NetconfImplActivator</Bundle-Activator>
113             <Export-Package>org.opendaylight.controller.netconf.impl.*</Export-Package>
114           </instructions>
115         </configuration>
116       </plugin>
117       <plugin>
118         <groupId>org.apache.maven.plugins</groupId>
119         <artifactId>maven-jar-plugin</artifactId>
120         <executions>
121           <execution>
122             <goals>
123               <goal>test-jar</goal>
124             </goals>
125             <phase>package</phase>
126           </execution>
127         </executions>
128       </plugin>
129         <plugin>
130             <groupId>org.opendaylight.yangtools</groupId>
131             <artifactId>yang-maven-plugin</artifactId>
132             <executions>
133                 <execution>
134                     <id>config</id>
135                     <goals>
136                         <goal>generate-sources</goal>
137                     </goals>
138                     <configuration>
139                         <codeGenerators>
140                             <generator>
141                                 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
142                                 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
143                                 <additionalConfiguration>
144                                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
145                                 </additionalConfiguration>
146                             </generator>
147                             <generator>
148                                 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
149                                 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
150                             </generator>
151                         </codeGenerators>
152                         <inspectDependencies>true</inspectDependencies>
153                     </configuration>
154                 </execution>
155             </executions>
156             <dependencies>
157                 <dependency>
158                     <groupId>org.opendaylight.controller</groupId>
159                     <artifactId>yang-jmx-generator-plugin</artifactId>
160                     <version>${config.version}</version>
161                 </dependency>
162             </dependencies>
163         </plugin>
164     </plugins>
165   </build>
166
167 </project>