Merge "Removal of OpenContrail Renderer and config."
[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     <dependencies>
123         <!-- Sonar -->
124         <dependency>
125             <groupId>org.codehaus.sonar-plugins.java</groupId>
126             <artifactId>sonar-jacoco-listeners</artifactId>
127             <version>${sonar-jacoco-listeners.version}</version>
128             <scope>test</scope>
129         </dependency>
130     </dependencies>
131
132   <build>
133     <plugins>
134       <plugin>
135         <groupId>org.apache.maven.plugins</groupId>
136         <artifactId>maven-compiler-plugin</artifactId>
137         <configuration>
138           <source>${java.version.source}</source>
139           <target>${java.version.target}</target>
140           <testSource>${java.version.source}</testSource>
141           <testTarget>${java.version.target}</testTarget>
142         </configuration>
143       </plugin>
144       <plugin>
145         <groupId>org.codehaus.mojo</groupId>
146         <artifactId>build-helper-maven-plugin</artifactId>
147         <executions>
148           <execution>
149             <goals>
150               <goal>add-source</goal>
151             </goals>
152             <phase>generate-sources</phase>
153             <configuration>
154               <sources>
155                 <source>${generated.sources.config}</source>
156                 <source>${generated.sources.sal}</source>
157                 <source>src/main/yang</source>
158               </sources>
159             </configuration>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.jacoco</groupId>
165         <artifactId>jacoco-maven-plugin</artifactId>
166         <executions>
167           <execution>
168             <id>prepare-ut-agent</id>
169             <phase>process-test-classes</phase>
170             <goals>
171               <goal>prepare-agent</goal>
172             </goals>
173             <configuration>
174               <destFile>${sonar.jacoco.reportPath}</destFile>
175             </configuration>
176           </execution>
177           <execution>
178             <id>prepare-it-agent</id>
179             <phase>pre-integration-test</phase>
180             <goals>
181               <goal>prepare-agent</goal>
182             </goals>
183             <configuration>
184               <destFile>${sonar.jacoco.itReportPath}</destFile>
185             </configuration>
186           </execution>
187         </executions>
188       </plugin>
189     </plugins>
190
191     <pluginManagement>
192       <plugins>
193         <plugin>
194           <groupId>org.opendaylight.yangtools</groupId>
195           <artifactId>yang-maven-plugin</artifactId>
196           <version>${yangtools.version}</version>
197           <executions>
198             <execution>
199               <goals>
200                 <goal>generate-sources</goal>
201               </goals>
202               <configuration>
203                 <codeGenerators>
204                   <generator>
205                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
206                     <outputBaseDir>${generated.sources.config}</outputBaseDir>
207                     <additionalConfiguration>
208                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
209                     </additionalConfiguration>
210                   </generator>
211                   <generator>
212                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
213                     <outputBaseDir>${generated.sources.sal}</outputBaseDir>
214                   </generator>
215                   <generator>
216                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
217                     <outputBaseDir>${generated.yang.docs}</outputBaseDir>
218                   </generator>
219                 </codeGenerators>
220                 <inspectDependencies>true</inspectDependencies>
221               </configuration>
222             </execution>
223           </executions>
224           <dependencies>
225             <dependency>
226               <groupId>org.opendaylight.controller</groupId>
227               <artifactId>yang-jmx-generator-plugin</artifactId>
228               <version>${config.version}</version>
229             </dependency>
230             <dependency>
231               <groupId>org.opendaylight.yangtools</groupId>
232               <artifactId>maven-sal-api-gen-plugin</artifactId>
233               <version>${yangtools.version}</version>
234               <type>jar</type>
235             </dependency>
236           </dependencies>
237         </plugin>
238         <!--This plugin's configuration is used to store Eclipse m2e settings 
239           only. It has no influence on the Maven build itself. -->
240         <plugin>
241           <groupId>org.eclipse.m2e</groupId>
242           <artifactId>lifecycle-mapping</artifactId>
243           <version>1.0.0</version>
244           <configuration>
245             <lifecycleMappingMetadata>
246               <pluginExecutions>
247                 <pluginExecution>
248                   <pluginExecutionFilter>
249                     <groupId>org.opendaylight.yangtools</groupId>
250                     <artifactId>yang-maven-plugin</artifactId>
251                     <versionRange>[0.5,)</versionRange>
252                     <goals>
253                       <goal>generate-sources</goal>
254                     </goals>
255                   </pluginExecutionFilter>
256                   <action>
257                     <execute />
258                   </action>
259                 </pluginExecution>
260                 <pluginExecution>
261                   <pluginExecutionFilter>
262                     <groupId>org.jacoco</groupId>
263                     <artifactId>jacoco-maven-plugin</artifactId>
264                     <versionRange>[0.6,)</versionRange>
265                     <goals>
266                       <goal>prepare-agent</goal>
267                     </goals>
268                   </pluginExecutionFilter>
269                   <action>
270                     <ignore />
271                   </action>
272                 </pluginExecution>
273                 <pluginExecution>
274                   <pluginExecutionFilter>
275                     <groupId>org.apache.maven.plugins</groupId>
276                     <artifactId>maven-checkstyle-plugin</artifactId>
277                     <versionRange>[2.13,)</versionRange>
278                     <goals>
279                       <goal>check</goal>
280                     </goals>
281                   </pluginExecutionFilter>
282                   <action>
283                     <execute />
284                   </action>
285                 </pluginExecution>
286               </pluginExecutions>
287             </lifecycleMappingMetadata>
288           </configuration>
289         </plugin>
290       </plugins>
291     </pluginManagement>
292   </build>
293
294   <url>https://wiki.opendaylight.org/view/Group_Policy:Main</url>
295   <scm>
296     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
297     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
298     <tag>HEAD</tag>
299   </scm>
300 </project>