Merge "BUG-190 Simplify reconnect logic in protocol-framework."
[controller.git] / opendaylight / commons / protocol-framework / pom.xml
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">
4
5   <modelVersion>4.0.0</modelVersion>
6   <parent>
7     <groupId>org.opendaylight.controller</groupId>
8     <artifactId>commons.opendaylight</artifactId>
9     <version>1.4.2-SNAPSHOT</version>
10     <relativePath>../../commons/opendaylight</relativePath>
11   </parent>
12
13   <artifactId>protocol-framework</artifactId>
14   <version>0.5.0-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16   <name>${project.artifactId}</name>
17   <description>Common protocol framework</description>
18   <prerequisites>
19     <maven>3.0.4</maven>
20   </prerequisites>
21
22   <dependencies>
23     <dependency>
24       <groupId>com.google.code.findbugs</groupId>
25       <artifactId>jsr305</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>com.google.guava</groupId>
29       <artifactId>guava</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>io.netty</groupId>
33       <artifactId>netty-buffer</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>io.netty</groupId>
37       <artifactId>netty-codec</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>io.netty</groupId>
41       <artifactId>netty-common</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>io.netty</groupId>
45       <artifactId>netty-transport</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>junit</groupId>
49       <artifactId>junit</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>config-api</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>netty-config-api</artifactId>
58     </dependency>
59
60     <!-- Testing dependencies -->
61     <dependency>
62       <groupId>org.opendaylight.yangtools</groupId>
63       <artifactId>mockito-configuration</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.osgi</groupId>
67       <artifactId>org.osgi.core</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.slf4j</groupId>
71       <artifactId>slf4j-api</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.controller</groupId>
75       <artifactId>config-manager</artifactId>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>config-manager</artifactId>
81       <type>test-jar</type>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.controller</groupId>
86       <artifactId>config-util</artifactId>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.controller</groupId>
91       <artifactId>netty-event-executor-config</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>ch.qos.logback</groupId>
96       <artifactId>logback-classic</artifactId>
97       <scope>test</scope>
98     </dependency>
99   </dependencies>
100
101   <build>
102     <plugins>
103       <plugin>
104         <groupId>org.apache.felix</groupId>
105         <artifactId>maven-bundle-plugin</artifactId>
106         <extensions>true</extensions>
107         <configuration>
108           <instructions>
109             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
110           </instructions>
111         </configuration>
112       </plugin>
113       <plugin>
114         <groupId>org.apache.maven.plugins</groupId>
115         <artifactId>maven-jar-plugin</artifactId>
116         <executions>
117           <execution>
118             <goals>
119               <goal>test-jar</goal>
120             </goals>
121             <phase>package</phase>
122           </execution>
123         </executions>
124       </plugin>
125       <plugin>
126         <groupId>org.codehaus.mojo</groupId>
127         <artifactId>build-helper-maven-plugin</artifactId>
128         <executions>
129           <execution>
130             <id>add-source</id>
131             <goals>
132               <goal>add-source</goal>
133             </goals>
134             <phase>generate-sources</phase>
135             <configuration>
136               <sources>
137                 <source>${jmxGeneratorPath}</source>
138                 <source>${salGeneratorPath}</source>
139               </sources>
140             </configuration>
141           </execution>
142         </executions>
143       </plugin>
144       <plugin>
145         <groupId>org.opendaylight.yangtools</groupId>
146         <artifactId>yang-maven-plugin</artifactId>
147         <dependencies>
148           <dependency>
149             <groupId>org.opendaylight.controller</groupId>
150             <artifactId>yang-jmx-generator-plugin</artifactId>
151             <version>${config.version}</version>
152           </dependency>
153           <dependency>
154             <groupId>org.opendaylight.yangtools</groupId>
155             <artifactId>maven-sal-api-gen-plugin</artifactId>
156             <version>${yangtools.version}</version>
157           </dependency>
158         </dependencies>
159         <executions>
160           <execution>
161             <goals>
162               <goal>generate-sources</goal>
163             </goals>
164             <configuration>
165               <codeGenerators>
166                 <generator>
167                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
168                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
169                   <additionalConfiguration>
170                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
171                   </additionalConfiguration>
172                 </generator>
173                 <generator>
174                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
175                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
176                 </generator>
177               </codeGenerators>
178               <inspectDependencies>true</inspectDependencies>
179             </configuration>
180           </execution>
181         </executions>
182       </plugin>
183     </plugins>
184   </build>
185   <scm>
186     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
187     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
188     <tag>HEAD</tag>
189     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
190   </scm>
191 </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.