Merge "Add XSQL into default compilation"
[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   </dependencies>
95
96   <build>
97     <plugins>
98       <plugin>
99         <groupId>org.apache.felix</groupId>
100         <artifactId>maven-bundle-plugin</artifactId>
101         <extensions>true</extensions>
102         <configuration>
103           <instructions>
104             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
105           </instructions>
106         </configuration>
107       </plugin>
108       <plugin>
109         <groupId>org.apache.maven.plugins</groupId>
110         <artifactId>maven-jar-plugin</artifactId>
111         <executions>
112           <execution>
113             <goals>
114               <goal>test-jar</goal>
115             </goals>
116             <phase>package</phase>
117           </execution>
118         </executions>
119       </plugin>
120       <plugin>
121         <groupId>org.codehaus.mojo</groupId>
122         <artifactId>build-helper-maven-plugin</artifactId>
123         <executions>
124           <execution>
125             <id>add-source</id>
126             <goals>
127               <goal>add-source</goal>
128             </goals>
129             <phase>generate-sources</phase>
130             <configuration>
131               <sources>
132                 <source>${jmxGeneratorPath}</source>
133                 <source>${salGeneratorPath}</source>
134               </sources>
135             </configuration>
136           </execution>
137         </executions>
138       </plugin>
139       <plugin>
140         <groupId>org.opendaylight.yangtools</groupId>
141         <artifactId>yang-maven-plugin</artifactId>
142         <dependencies>
143           <dependency>
144             <groupId>org.opendaylight.controller</groupId>
145             <artifactId>yang-jmx-generator-plugin</artifactId>
146             <version>${config.version}</version>
147           </dependency>
148           <dependency>
149             <groupId>org.opendaylight.yangtools</groupId>
150             <artifactId>maven-sal-api-gen-plugin</artifactId>
151             <version>${yangtools.version}</version>
152           </dependency>
153         </dependencies>
154         <executions>
155           <execution>
156             <goals>
157               <goal>generate-sources</goal>
158             </goals>
159             <configuration>
160               <codeGenerators>
161                 <generator>
162                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
163                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
164                   <additionalConfiguration>
165                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
166                   </additionalConfiguration>
167                 </generator>
168                 <generator>
169                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
170                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
171                 </generator>
172               </codeGenerators>
173               <inspectDependencies>true</inspectDependencies>
174             </configuration>
175           </execution>
176         </executions>
177       </plugin>
178     </plugins>
179   </build>
180   <scm>
181     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
182     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
183     <tag>HEAD</tag>
184     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
185   </scm>
186 </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.