Bug 3607: Removing OpFlex from Sonar coverage.
[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.6.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.3.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.4.0-SNAPSHOT</config.version>
32     <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
33     <sfc.version>0.2.0-SNAPSHOT</sfc.version>
34     <restconf.version>1.3.0-SNAPSHOT</restconf.version>
35     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
36     <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
37     <neutron.version>0.6.0-SNAPSHOT</neutron.version>
38     <ovsdb.southbound.version>1.2.0-SNAPSHOT</ovsdb.southbound.version>
39     <dlux.version>0.3.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     </plugins>
154
155     <pluginManagement>
156       <plugins>
157         <plugin>
158           <groupId>org.opendaylight.yangtools</groupId>
159           <artifactId>yang-maven-plugin</artifactId>
160           <version>${yangtools.version}</version>
161           <executions>
162             <execution>
163               <goals>
164                 <goal>generate-sources</goal>
165               </goals>
166               <configuration>
167                 <codeGenerators>
168                   <generator>
169                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
170                     <outputBaseDir>${generated.sources.config}</outputBaseDir>
171                     <additionalConfiguration>
172                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
173                     </additionalConfiguration>
174                   </generator>
175                   <generator>
176                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
177                     <outputBaseDir>${generated.sources.sal}</outputBaseDir>
178                   </generator>
179                   <generator>
180                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
181                     <outputBaseDir>${generated.yang.docs}</outputBaseDir>
182                   </generator>
183                 </codeGenerators>
184                 <inspectDependencies>true</inspectDependencies>
185               </configuration>
186             </execution>
187           </executions>
188           <dependencies>
189             <dependency>
190               <groupId>org.opendaylight.controller</groupId>
191               <artifactId>yang-jmx-generator-plugin</artifactId>
192               <version>${config.version}</version>
193             </dependency>
194             <dependency>
195               <groupId>org.opendaylight.yangtools</groupId>
196               <artifactId>maven-sal-api-gen-plugin</artifactId>
197               <version>${yangtools.version}</version>
198               <type>jar</type>
199             </dependency>
200           </dependencies>
201         </plugin>
202         <!--This plugin's configuration is used to store Eclipse m2e settings 
203           only. It has no influence on the Maven build itself. -->
204         <plugin>
205           <groupId>org.eclipse.m2e</groupId>
206           <artifactId>lifecycle-mapping</artifactId>
207           <version>1.0.0</version>
208           <configuration>
209             <lifecycleMappingMetadata>
210               <pluginExecutions>
211                 <pluginExecution>
212                   <pluginExecutionFilter>
213                     <groupId>org.opendaylight.yangtools</groupId>
214                     <artifactId>yang-maven-plugin</artifactId>
215                     <versionRange>[0.5,)</versionRange>
216                     <goals>
217                       <goal>generate-sources</goal>
218                     </goals>
219                   </pluginExecutionFilter>
220                   <action>
221                     <execute />
222                   </action>
223                 </pluginExecution>
224                 <pluginExecution>
225                   <pluginExecutionFilter>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-checkstyle-plugin</artifactId>
228                     <versionRange>[2.13,)</versionRange>
229                     <goals>
230                       <goal>check</goal>
231                     </goals>
232                   </pluginExecutionFilter>
233                   <action>
234                     <execute />
235                   </action>
236                 </pluginExecution>
237               </pluginExecutions>
238             </lifecycleMappingMetadata>
239           </configuration>
240         </plugin>
241       </plugins>
242     </pluginManagement>
243   </build>
244
245   <url>https://wiki.opendaylight.org/view/Group_Policy:Main</url>
246   <scm>
247     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
248     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
249     <tag>HEAD</tag>
250   </scm>
251 </project>