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