Fixed missing tunnel type
[groupbasedpolicy.git] / commons / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. 
3   This program and the accompanying materials are made available under the 
4   terms of the Eclipse Public License v1.0 which accompanies this distribution, 
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.odlparent</groupId>
12     <artifactId>odlparent</artifactId>
13     <version>1.5.0-SNAPSHOT</version>
14     <relativePath>../../odlparent/odlparent</relativePath>
15   </parent>
16
17   <groupId>org.opendaylight.groupbasedpolicy</groupId>
18   <artifactId>commons.groupbasedpolicy</artifactId>
19   <version>0.2.0-SNAPSHOT</version>
20   <packaging>pom</packaging>
21
22   <prerequisites>
23     <maven>3.0</maven>
24   </prerequisites>
25
26   <properties>
27     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28     <generated.sources.sal>${project.build.directory}/generated-sources/sal</generated.sources.sal>
29     <generated.sources.config>${project.build.directory}/generated-sources/config</generated.sources.config>
30     <generated.yang.docs>${project.build.directory}/site/models</generated.yang.docs>
31     <config.version>0.3.0-SNAPSHOT</config.version>
32     <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
33     <restconf.version>1.2.0-SNAPSHOT</restconf.version>
34     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
35     <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
36     <neutron.version>0.5.0-SNAPSHOT</neutron.version>
37     <ovsdb.southbound.version>1.1.0-SNAPSHOT</ovsdb.southbound.version>
38   </properties>
39
40   <dependencyManagement>
41     <dependencies>
42       <!-- GBP modules -->
43       <dependency>
44         <groupId>org.opendaylight.groupbasedpolicy</groupId>
45         <artifactId>groupbasedpolicy</artifactId>
46         <version>${project.version}</version>
47       </dependency>
48       <dependency>
49         <groupId>org.opendaylight.groupbasedpolicy</groupId>
50         <artifactId>opflex-renderer</artifactId>
51         <version>${project.version}</version>
52       </dependency>
53       <dependency>
54         <groupId>org.opendaylight.groupbasedpolicy</groupId>
55         <artifactId>ofoverlay-renderer</artifactId>
56         <version>${project.version}</version>
57       </dependency>
58       <dependency>
59         <groupId>org.opendaylight.groupbasedpolicy</groupId>
60         <artifactId>neutron-mapper</artifactId>
61         <version>${project.version}</version>
62       </dependency>
63       <dependency>
64         <groupId>org.opendaylight.groupbasedpolicy</groupId>
65         <artifactId>ui-backend</artifactId>
66         <version>${project.version}</version>
67       </dependency>
68
69       <!-- Yangtools and Controller infrastructure -->
70       <dependency>
71         <groupId>org.opendaylight.yangtools</groupId>
72         <artifactId>yangtools-artifacts</artifactId>
73         <version>${yangtools.version}</version>
74         <type>pom</type>
75         <scope>import</scope>
76       </dependency>
77       <dependency>
78         <groupId>org.opendaylight.controller</groupId>
79         <artifactId>config-artifacts</artifactId>
80         <version>${config.version}</version>
81         <type>pom</type>
82         <scope>import</scope>
83       </dependency>
84       <dependency>
85         <groupId>org.opendaylight.controller</groupId>
86         <artifactId>mdsal-artifacts</artifactId>
87         <version>${mdsal.version}</version>
88         <type>pom</type>
89         <scope>import</scope>
90       </dependency>
91
92       <!-- Openflowplugin -->
93       <dependency>
94         <groupId>org.opendaylight.openflowplugin</groupId>
95         <artifactId>openflowplugin-extension-nicira</artifactId>
96         <version>${openflowplugin.version}</version>
97       </dependency>
98       
99       <!-- OVSDB -->
100       <dependency>
101         <groupId>org.opendaylight.ovsdb</groupId>
102         <artifactId>southbound-api</artifactId>
103         <version>${ovsdb.southbound.version}</version>
104       </dependency>
105       
106     </dependencies>
107   </dependencyManagement>
108
109   <build>
110     <plugins>
111       <plugin>
112         <groupId>org.apache.maven.plugins</groupId>
113         <artifactId>maven-compiler-plugin</artifactId>
114         <configuration>
115           <source>${java.version.source}</source>
116           <target>${java.version.target}</target>
117           <testSource>${java.version.source}</testSource>
118           <testTarget>${java.version.target}</testTarget>
119         </configuration>
120       </plugin>
121       <plugin>
122         <groupId>org.codehaus.mojo</groupId>
123         <artifactId>build-helper-maven-plugin</artifactId>
124         <executions>
125           <execution>
126             <goals>
127               <goal>add-source</goal>
128             </goals>
129             <phase>generate-sources</phase>
130             <configuration>
131               <sources>
132                 <source>${generated.sources.config}</source>
133                 <source>${generated.sources.sal}</source>
134                 <source>src/main/yang</source>
135               </sources>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140       <plugin>
141         <groupId>org.jacoco</groupId>
142         <artifactId>jacoco-maven-plugin</artifactId>
143         <executions>
144           <execution>
145             <id>pre-unit-test</id>
146             <goals>
147               <goal>prepare-agent</goal>
148             </goals>
149           </execution>
150           <execution>
151             <id>post-unit-test</id>
152             <phase>test</phase>
153             <goals>
154               <goal>report</goal>
155             </goals>
156             <configuration>
157               <dataFile>${sonar.jacoco.reportPath}</dataFile>
158               <includes>
159                 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>
160               </includes>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165     </plugins>
166
167     <pluginManagement>
168       <plugins>
169         <plugin>
170           <groupId>org.opendaylight.yangtools</groupId>
171           <artifactId>yang-maven-plugin</artifactId>
172           <version>${yangtools.version}</version>
173           <executions>
174             <execution>
175               <goals>
176                 <goal>generate-sources</goal>
177               </goals>
178               <configuration>
179                 <codeGenerators>
180                   <generator>
181                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
182                     <outputBaseDir>${generated.sources.config}</outputBaseDir>
183                     <additionalConfiguration>
184                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
185                     </additionalConfiguration>
186                   </generator>
187                   <generator>
188                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
189                     <outputBaseDir>${generated.sources.sal}</outputBaseDir>
190                   </generator>
191                   <generator>
192                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
193                     <outputBaseDir>${generated.yang.docs}</outputBaseDir>
194                   </generator>
195                 </codeGenerators>
196                 <inspectDependencies>true</inspectDependencies>
197               </configuration>
198             </execution>
199           </executions>
200           <dependencies>
201             <dependency>
202               <groupId>org.opendaylight.controller</groupId>
203               <artifactId>yang-jmx-generator-plugin</artifactId>
204               <version>${config.version}</version>
205             </dependency>
206             <dependency>
207               <groupId>org.opendaylight.yangtools</groupId>
208               <artifactId>maven-sal-api-gen-plugin</artifactId>
209               <version>${yangtools.version}</version>
210               <type>jar</type>
211             </dependency>
212           </dependencies>
213         </plugin>
214         <!--This plugin's configuration is used to store Eclipse m2e settings 
215           only. It has no influence on the Maven build itself. -->
216         <plugin>
217           <groupId>org.eclipse.m2e</groupId>
218           <artifactId>lifecycle-mapping</artifactId>
219           <version>1.0.0</version>
220           <configuration>
221             <lifecycleMappingMetadata>
222               <pluginExecutions>
223                 <pluginExecution>
224                   <pluginExecutionFilter>
225                     <groupId>org.opendaylight.yangtools</groupId>
226                     <artifactId>yang-maven-plugin</artifactId>
227                     <versionRange>[0.5,)</versionRange>
228                     <goals>
229                       <goal>generate-sources</goal>
230                     </goals>
231                   </pluginExecutionFilter>
232                   <action>
233                     <execute />
234                   </action>
235                 </pluginExecution>
236                 <pluginExecution>
237                   <pluginExecutionFilter>
238                     <groupId>org.jacoco</groupId>
239                     <artifactId>jacoco-maven-plugin</artifactId>
240                     <versionRange>[0.6,)</versionRange>
241                     <goals>
242                       <goal>prepare-agent</goal>
243                     </goals>
244                   </pluginExecutionFilter>
245                   <action>
246                     <ignore />
247                   </action>
248                 </pluginExecution>
249                 <pluginExecution>
250                   <pluginExecutionFilter>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-checkstyle-plugin</artifactId>
253                     <versionRange>[2.13,)</versionRange>
254                     <goals>
255                       <goal>check</goal>
256                     </goals>
257                   </pluginExecutionFilter>
258                   <action>
259                     <execute />
260                   </action>
261                 </pluginExecution>
262               </pluginExecutions>
263             </lifecycleMappingMetadata>
264           </configuration>
265         </plugin>
266       </plugins>
267     </pluginManagement>
268   </build>
269
270   <url>https://wiki.opendaylight.org/view/Group_Policy:Main</url>
271   <scm>
272     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
273     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
274     <tag>HEAD</tag>
275   </scm>
276 </project>