Merge "Adding neutron-ovsdb."
[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     <sfc.version>0.1.0-SNAPSHOT</sfc.version>
34     <restconf.version>1.2.0-SNAPSHOT</restconf.version>
35     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
36     <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
37     <neutron.version>0.5.0-SNAPSHOT</neutron.version>
38     <ovsdb.southbound.version>1.1.0-SNAPSHOT</ovsdb.southbound.version>
39     <dlux.version>0.2.0-SNAPSHOT</dlux.version>
40     <apache.felix.osgi.compendium.version>1.4.0</apache.felix.osgi.compendium.version>
41   </properties>
42
43   <dependencyManagement>
44     <dependencies>
45       <!-- GBP modules -->
46       <dependency>
47         <groupId>org.opendaylight.groupbasedpolicy</groupId>
48         <artifactId>groupbasedpolicy</artifactId>
49         <version>${project.version}</version>
50       </dependency>
51       <dependency>
52         <groupId>org.opendaylight.groupbasedpolicy</groupId>
53         <artifactId>opflex-renderer</artifactId>
54         <version>${project.version}</version>
55       </dependency>
56       <dependency>
57         <groupId>org.opendaylight.groupbasedpolicy</groupId>
58         <artifactId>ofoverlay-renderer</artifactId>
59         <version>${project.version}</version>
60       </dependency>
61       <dependency>
62         <groupId>org.opendaylight.groupbasedpolicy</groupId>
63         <artifactId>neutron-mapper</artifactId>
64         <version>${project.version}</version>
65       </dependency>
66       <dependency>
67         <groupId>org.opendaylight.groupbasedpolicy</groupId>
68         <artifactId>neutron-ovsdb</artifactId>
69         <version>${project.version}</version>
70       </dependency>
71       <dependency>
72         <groupId>org.opendaylight.groupbasedpolicy</groupId>
73         <artifactId>ui-backend</artifactId>
74         <version>${project.version}</version>
75       </dependency>
76
77       <!-- Yangtools and Controller infrastructure -->
78       <dependency>
79         <groupId>org.opendaylight.yangtools</groupId>
80         <artifactId>yangtools-artifacts</artifactId>
81         <version>${yangtools.version}</version>
82         <type>pom</type>
83         <scope>import</scope>
84       </dependency>
85       <dependency>
86         <groupId>org.opendaylight.controller</groupId>
87         <artifactId>config-artifacts</artifactId>
88         <version>${config.version}</version>
89         <type>pom</type>
90         <scope>import</scope>
91       </dependency>
92       <dependency>
93         <groupId>org.opendaylight.controller</groupId>
94         <artifactId>mdsal-artifacts</artifactId>
95         <version>${mdsal.version}</version>
96         <type>pom</type>
97         <scope>import</scope>
98       </dependency>
99
100       <!-- Openflowplugin -->
101       <dependency>
102         <groupId>org.opendaylight.openflowplugin</groupId>
103         <artifactId>openflowplugin-extension-nicira</artifactId>
104         <version>${openflowplugin.version}</version>
105       </dependency>
106       
107       <!-- OVSDB -->
108       <dependency>
109         <groupId>org.opendaylight.ovsdb</groupId>
110         <artifactId>southbound-api</artifactId>
111         <version>${ovsdb.southbound.version}</version>
112       </dependency>
113       
114       <dependency>
115         <groupId>org.opendaylight.ovsdb</groupId>
116         <artifactId>southbound-impl</artifactId>
117         <version>${ovsdb.southbound.version}</version>
118       </dependency>
119     </dependencies>
120   </dependencyManagement>
121
122   <build>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.maven.plugins</groupId>
126         <artifactId>maven-compiler-plugin</artifactId>
127         <configuration>
128           <source>${java.version.source}</source>
129           <target>${java.version.target}</target>
130           <testSource>${java.version.source}</testSource>
131           <testTarget>${java.version.target}</testTarget>
132         </configuration>
133       </plugin>
134       <plugin>
135         <groupId>org.codehaus.mojo</groupId>
136         <artifactId>build-helper-maven-plugin</artifactId>
137         <executions>
138           <execution>
139             <goals>
140               <goal>add-source</goal>
141             </goals>
142             <phase>generate-sources</phase>
143             <configuration>
144               <sources>
145                 <source>${generated.sources.config}</source>
146                 <source>${generated.sources.sal}</source>
147                 <source>src/main/yang</source>
148               </sources>
149             </configuration>
150           </execution>
151         </executions>
152       </plugin>
153       <plugin>
154         <groupId>org.jacoco</groupId>
155         <artifactId>jacoco-maven-plugin</artifactId>
156         <executions>
157           <execution>
158             <id>pre-unit-test</id>
159             <goals>
160               <goal>prepare-agent</goal>
161             </goals>
162           </execution>
163           <execution>
164             <id>post-unit-test</id>
165             <phase>test</phase>
166             <goals>
167               <goal>report</goal>
168             </goals>
169             <configuration>
170               <dataFile>${sonar.jacoco.reportPath}</dataFile>
171               <includes>
172                 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>
173               </includes>
174             </configuration>
175           </execution>
176         </executions>
177       </plugin>
178     </plugins>
179
180     <pluginManagement>
181       <plugins>
182         <plugin>
183           <groupId>org.opendaylight.yangtools</groupId>
184           <artifactId>yang-maven-plugin</artifactId>
185           <version>${yangtools.version}</version>
186           <executions>
187             <execution>
188               <goals>
189                 <goal>generate-sources</goal>
190               </goals>
191               <configuration>
192                 <codeGenerators>
193                   <generator>
194                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
195                     <outputBaseDir>${generated.sources.config}</outputBaseDir>
196                     <additionalConfiguration>
197                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
198                     </additionalConfiguration>
199                   </generator>
200                   <generator>
201                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
202                     <outputBaseDir>${generated.sources.sal}</outputBaseDir>
203                   </generator>
204                   <generator>
205                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
206                     <outputBaseDir>${generated.yang.docs}</outputBaseDir>
207                   </generator>
208                 </codeGenerators>
209                 <inspectDependencies>true</inspectDependencies>
210               </configuration>
211             </execution>
212           </executions>
213           <dependencies>
214             <dependency>
215               <groupId>org.opendaylight.controller</groupId>
216               <artifactId>yang-jmx-generator-plugin</artifactId>
217               <version>${config.version}</version>
218             </dependency>
219             <dependency>
220               <groupId>org.opendaylight.yangtools</groupId>
221               <artifactId>maven-sal-api-gen-plugin</artifactId>
222               <version>${yangtools.version}</version>
223               <type>jar</type>
224             </dependency>
225           </dependencies>
226         </plugin>
227         <!--This plugin's configuration is used to store Eclipse m2e settings 
228           only. It has no influence on the Maven build itself. -->
229         <plugin>
230           <groupId>org.eclipse.m2e</groupId>
231           <artifactId>lifecycle-mapping</artifactId>
232           <version>1.0.0</version>
233           <configuration>
234             <lifecycleMappingMetadata>
235               <pluginExecutions>
236                 <pluginExecution>
237                   <pluginExecutionFilter>
238                     <groupId>org.opendaylight.yangtools</groupId>
239                     <artifactId>yang-maven-plugin</artifactId>
240                     <versionRange>[0.5,)</versionRange>
241                     <goals>
242                       <goal>generate-sources</goal>
243                     </goals>
244                   </pluginExecutionFilter>
245                   <action>
246                     <execute />
247                   </action>
248                 </pluginExecution>
249                 <pluginExecution>
250                   <pluginExecutionFilter>
251                     <groupId>org.jacoco</groupId>
252                     <artifactId>jacoco-maven-plugin</artifactId>
253                     <versionRange>[0.6,)</versionRange>
254                     <goals>
255                       <goal>prepare-agent</goal>
256                     </goals>
257                   </pluginExecutionFilter>
258                   <action>
259                     <ignore />
260                   </action>
261                 </pluginExecution>
262                 <pluginExecution>
263                   <pluginExecutionFilter>
264                     <groupId>org.apache.maven.plugins</groupId>
265                     <artifactId>maven-checkstyle-plugin</artifactId>
266                     <versionRange>[2.13,)</versionRange>
267                     <goals>
268                       <goal>check</goal>
269                     </goals>
270                   </pluginExecutionFilter>
271                   <action>
272                     <execute />
273                   </action>
274                 </pluginExecution>
275               </pluginExecutions>
276             </lifecycleMappingMetadata>
277           </configuration>
278         </plugin>
279       </plugins>
280     </pluginManagement>
281   </build>
282
283   <url>https://wiki.opendaylight.org/view/Group_Policy:Main</url>
284   <scm>
285     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
286     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
287     <tag>HEAD</tag>
288   </scm>
289 </project>