Make TCP netconf endpoint configurable
[controller.git] / opendaylight / netconf / netconf-tcp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>netconf-subsystem</artifactId>
14     <version>0.4.0-SNAPSHOT</version>
15     <relativePath>../</relativePath>
16   </parent>
17   <artifactId>netconf-tcp</artifactId>
18   <packaging>bundle</packaging>
19   <name>${project.artifactId}</name>
20
21   <dependencies>
22     <dependency>
23       <groupId>${project.groupId}</groupId>
24       <artifactId>netconf-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>netconf-util</artifactId>
29     </dependency>
30       <dependency>
31           <groupId>org.opendaylight.controller</groupId>
32           <artifactId>threadpool-config-api</artifactId>
33       </dependency>
34       <dependency>
35           <groupId>org.opendaylight.controller</groupId>
36           <artifactId>netty-config-api</artifactId>
37       </dependency>
38     <dependency>
39       <groupId>org.slf4j</groupId>
40       <artifactId>slf4j-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.yangtools</groupId>
44       <artifactId>mockito-configuration</artifactId>
45       <scope>test</scope>
46     </dependency>
47   </dependencies>
48
49   <build>
50     <plugins>
51       <plugin>
52         <groupId>org.apache.felix</groupId>
53         <artifactId>maven-bundle-plugin</artifactId>
54         <configuration>
55           <instructions>
56             <Bundle-Activator>org.opendaylight.controller.netconf.tcp.osgi.NetconfTCPActivator</Bundle-Activator>
57           </instructions>
58         </configuration>
59       </plugin>
60         <plugin>
61             <groupId>org.opendaylight.yangtools</groupId>
62             <artifactId>yang-maven-plugin</artifactId>
63             <executions>
64                 <execution>
65                     <id>config</id>
66                     <goals>
67                         <goal>generate-sources</goal>
68                     </goals>
69                     <configuration>
70                         <codeGenerators>
71                             <generator>
72                                 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
73                                 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
74                                 <additionalConfiguration>
75                                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
76                                 </additionalConfiguration>
77                             </generator>
78                             <generator>
79                                 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
80                                 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
81                             </generator>
82                         </codeGenerators>
83                         <inspectDependencies>true</inspectDependencies>
84                     </configuration>
85                 </execution>
86             </executions>
87             <dependencies>
88                 <dependency>
89                     <groupId>org.opendaylight.controller</groupId>
90                     <artifactId>yang-jmx-generator-plugin</artifactId>
91                     <version>${config.version}</version>
92                 </dependency>
93             </dependencies>
94         </plugin>
95     </plugins>
96   </build>
97
98 </project>