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