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