1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
5 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.opendaylight.controller</groupId>
8 <artifactId>commons.opendaylight</artifactId>
9 <version>1.4.2-SNAPSHOT</version>
10 <relativePath>../../commons/opendaylight</relativePath>
13 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
14 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
15 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
19 <artifactId>protocol-framework</artifactId>
20 <version>0.5.0-SNAPSHOT</version>
21 <description>Common protocol framework</description>
22 <packaging>bundle</packaging>
23 <name>${project.artifactId}</name>
29 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
30 <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
35 <groupId>io.netty</groupId>
36 <artifactId>netty-buffer</artifactId>
39 <groupId>io.netty</groupId>
40 <artifactId>netty-codec</artifactId>
43 <groupId>io.netty</groupId>
44 <artifactId>netty-common</artifactId>
47 <groupId>io.netty</groupId>
48 <artifactId>netty-transport</artifactId>
51 <groupId>com.google.guava</groupId>
52 <artifactId>guava</artifactId>
55 <groupId>com.google.code.findbugs</groupId>
56 <artifactId>jsr305</artifactId>
59 <groupId>org.slf4j</groupId>
60 <artifactId>slf4j-api</artifactId>
63 <groupId>org.opendaylight.controller</groupId>
64 <artifactId>config-api</artifactId>
67 <groupId>org.opendaylight.controller</groupId>
68 <artifactId>netty-config-api</artifactId>
71 <!-- Testing dependencies -->
73 <groupId>org.opendaylight.yangtools</groupId>
74 <artifactId>mockito-configuration</artifactId>
77 <groupId>junit</groupId>
78 <artifactId>junit</artifactId>
81 <groupId>org.opendaylight.controller</groupId>
82 <artifactId>config-manager</artifactId>
86 <groupId>org.opendaylight.controller</groupId>
87 <artifactId>config-manager</artifactId>
88 <version>${config.version}</version>
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>config-util</artifactId>
95 <version>${config.version}</version>
99 <groupId>org.opendaylight.controller</groupId>
100 <artifactId>netty-event-executor-config</artifactId>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-bundle-plugin</artifactId>
110 <extensions>true</extensions>
113 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-jar-plugin</artifactId>
122 <phase>package</phase>
124 <goal>test-jar</goal>
130 <groupId>org.opendaylight.yangtools</groupId>
131 <artifactId>yang-maven-plugin</artifactId>
135 <goal>generate-sources</goal>
141 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
142 </codeGeneratorClass>
143 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
144 <additionalConfiguration>
145 <namespaceToPackage1>
146 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
147 </namespaceToPackage1>
148 </additionalConfiguration>
152 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
153 </codeGeneratorClass>
159 <inspectDependencies>true</inspectDependencies>
165 <groupId>org.opendaylight.controller</groupId>
166 <artifactId>yang-jmx-generator-plugin</artifactId>
167 <version>${config.version}</version>
170 <groupId>org.opendaylight.yangtools</groupId>
171 <artifactId>maven-sal-api-gen-plugin</artifactId>
172 <version>${yangtools.version}</version>
177 <groupId>org.codehaus.mojo</groupId>
178 <artifactId>build-helper-maven-plugin</artifactId>
182 <phase>generate-sources</phase>
184 <goal>add-source</goal>
188 <source>${jmxGeneratorPath}</source>
189 <source>${salGeneratorPath}</source>