894a5db3d351aeda8d282c31e24f5b8ec2b823b5
[integration/distribution.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <parent>
4     <groupId>org.opendaylight.odlparent</groupId>
5     <artifactId>odlparent</artifactId>
6     <version>1.5.0-SNAPSHOT</version>
7     <relativePath/>
8   </parent>
9   <modelVersion>4.0.0</modelVersion>
10   <groupId>org.opendaylight.integration</groupId>
11   <artifactId>root</artifactId>
12   <version>0.3.0-SNAPSHOT</version>
13   <name>integration</name> <!-- Used by Sonar to set project name -->
14   <packaging>pom</packaging>
15   <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
16   <scm>
17     <connection>scm:git:ssh://git.opendaylight.org:29418/integration.git</connection>
18     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration.git</developerConnection>
19     <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
20     <tag>HEAD</tag>
21   </scm>
22   <properties>
23     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
24     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25     <feature.dlux.version>0.2.0-SNAPSHOT</feature.dlux.version>
26     <feature.mdsal.version>1.2.0-SNAPSHOT</feature.mdsal.version>
27     <feature.flow.version>1.2.0-SNAPSHOT</feature.flow.version>
28     <feature.yangtools.version>0.7.0-SNAPSHOT</feature.yangtools.version>
29     <feature.adsal.version>0.9.0-SNAPSHOT</feature.adsal.version>
30     <feature.neutron.version>0.5.0-SNAPSHOT</feature.neutron.version>
31     <feature.nsf.version>0.5.0-SNAPSHOT</feature.nsf.version>
32     <feature.openflowplugin.version>0.1.0-SNAPSHOT</feature.openflowplugin.version>
33     <feature.ovsdb.version>1.1.0-SNAPSHOT</feature.ovsdb.version>
34     <feature.ovsdb.openstack.version>1.1.0-SNAPSHOT</feature.ovsdb.openstack.version>
35     <feature.groupbasedpolicy.version>0.2.0-SNAPSHOT</feature.groupbasedpolicy.version>
36     <feature.lispflowmapping.version>1.2.0-SNAPSHOT</feature.lispflowmapping.version>
37     <feature.sfc.version>0.1.0-SNAPSHOT</feature.sfc.version>
38     <feature.snbi.version>1.1.0-SNAPSHOT</feature.snbi.version>
39     <feature.ttp.version>0.1.0-SNAPSHOT</feature.ttp.version>
40     <feature.vtn-manager.version>0.3.0-SNAPSHOT</feature.vtn-manager.version>
41     <feature.bgp.version>0.4.0-SNAPSHOT</feature.bgp.version>
42     <feature.packetcable.version>1.2.0-SNAPSHOT</feature.packetcable.version>
43     <feature.plugin2oc.version>0.2.0-SNAPSHOT</feature.plugin2oc.version>
44     <feature.tcpmd5.version>1.1.0-SNAPSHOT</feature.tcpmd5.version>
45     <karaf.branding.version>1.1.0-SNAPSHOT</karaf.branding.version>
46     <maven.surefire.version>2.16</maven.surefire.version>
47     <checkstyle.version>2.13</checkstyle.version>
48     <enforcer.version>1.3.1</enforcer.version>
49   </properties>
50   <modules>
51     <module>distributions/</module>
52     <module>features/</module>
53     <module>feature-selector</module>
54   </modules>
55
56   <repositories>
57
58     <!-- OpenDayLight Repo Mirror -->
59     <repository>
60       <id>opendaylight-mirror</id>
61       <name>opendaylight-mirror</name>
62       <url>${nexusproxy}/groups/public/</url>
63       <snapshots>
64           <enabled>false</enabled>
65       </snapshots>
66       <releases>
67           <enabled>true</enabled>
68           <updatePolicy>never</updatePolicy>
69       </releases>
70     </repository>
71     <!-- OpenDayLight Snapshot artifact -->
72     <repository>
73       <id>opendaylight-snapshot</id>
74       <name>opendaylight-snapshot</name>
75       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
76       <snapshots>
77           <enabled>true</enabled>
78       </snapshots>
79       <releases>
80           <enabled>false</enabled>
81       </releases>
82     </repository>
83   </repositories>
84
85   <pluginRepositories>
86     <pluginRepository>
87       <id>central2</id>
88       <name>central2</name>
89       <url>${nexusproxy}/repositories/central2/</url>
90     </pluginRepository>
91     <pluginRepository>
92       <id>opendaylight-snapshot</id>
93       <name>central2</name>
94       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
95     </pluginRepository>
96   </pluginRepositories>
97
98   <distributionManagement>
99     <!-- OpenDayLight Released artifact -->
100     <repository>
101       <id>opendaylight-release</id>
102       <url>${nexusproxy}/repositories/opendaylight.release/</url>
103     </repository>
104     <!-- OpenDayLight Snapshot artifact -->
105     <snapshotRepository>
106       <id>opendaylight-snapshot</id>
107       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
108     </snapshotRepository>
109     <site>
110       <id>${project.artifactId}-site</id>
111       <url>./</url>
112     </site>
113   </distributionManagement>
114   <dependencyManagement>
115       <dependencies>
116         <!-- Karaf basic pieces -->
117         <dependency>
118           <!-- scope is compile so all features (there is only one) are installed
119             into startup.properties and the feature repo itself is not installed -->
120           <groupId>org.apache.karaf.features</groupId>
121           <artifactId>framework</artifactId>
122           <version>${karaf.version}</version>
123           <type>kar</type>
124         </dependency>
125         <!-- scope is runtime so the feature repo is listed in the features
126           service config file, and features may be installed using the
127           karaf-maven-plugin configuration -->
128         <dependency>
129           <groupId>org.apache.karaf.features</groupId>
130           <artifactId>standard</artifactId>
131           <version>${karaf.version}</version>
132           <classifier>features</classifier>
133           <type>xml</type>
134         </dependency>
135
136         <!-- Karaf Branding -->
137         <dependency>
138           <groupId>org.opendaylight.controller</groupId>
139           <artifactId>karaf.branding</artifactId>
140           <version>${karaf.branding.version}</version>
141         </dependency>
142
143         <!-- Integration features -->
144         <dependency>
145           <groupId>org.opendaylight.integration</groupId>
146           <artifactId>features-integration</artifactId>
147           <version>${project.version}</version>
148           <classifier>features</classifier>
149           <type>xml</type>
150         </dependency>
151         <!-- MD-SAL Related Features -->
152         <dependency>
153           <groupId>org.opendaylight.controller</groupId>
154           <artifactId>features-mdsal</artifactId>
155           <version>${feature.mdsal.version}</version>
156           <classifier>features</classifier>
157           <type>xml</type>
158         </dependency>
159         <dependency>
160           <groupId>org.opendaylight.controller</groupId>
161           <artifactId>features-flow</artifactId>
162           <version>${feature.flow.version}</version>
163           <classifier>features</classifier>
164           <type>xml</type>
165         </dependency>
166         <!-- AD-SAL Related Features -->
167         <dependency>
168           <groupId>org.opendaylight.controller</groupId>
169           <artifactId>features-adsal</artifactId>
170           <version>${feature.adsal.version}</version>
171           <classifier>features</classifier>
172           <type>xml</type>
173         </dependency>
174         <dependency>
175           <groupId>org.opendaylight.controller</groupId>
176           <artifactId>features-nsf</artifactId>
177           <version>${feature.nsf.version}</version>
178           <classifier>features</classifier>
179           <type>xml</type>
180         </dependency>
181         <!-- VTN Features -->
182         <dependency>
183           <groupId>org.opendaylight.vtn</groupId>
184           <artifactId>features-vtn-manager</artifactId>
185           <version>${feature.vtn-manager.version}</version>
186           <classifier>features</classifier>
187           <type>xml</type>
188         </dependency>
189
190
191         <!-- GBP Features -->
192         <dependency>
193           <groupId>org.opendaylight.groupbasedpolicy</groupId>
194           <artifactId>features-groupbasedpolicy</artifactId>
195           <version>${feature.groupbasedpolicy.version}</version>
196           <classifier>features</classifier>
197           <type>xml</type>
198         </dependency>
199
200         <!-- SFC features -->
201        <dependency>
202           <groupId>org.opendaylight.sfc</groupId>
203           <artifactId>features-sfc</artifactId>
204           <version>${feature.sfc.version}</version>
205           <classifier>features</classifier>
206           <type>xml</type>
207        </dependency>
208
209         <dependency>
210           <groupId>org.opendaylight.tcpmd5</groupId>
211           <artifactId>features-tcpmd5</artifactId>
212           <version>${feature.tcpmd5.version}</version>
213           <classifier>features</classifier>
214           <type>xml</type>
215         </dependency>
216
217         <dependency>
218           <groupId>org.opendaylight.bgpcep</groupId>
219           <artifactId>features-bgp</artifactId>
220           <version>${feature.bgp.version}</version>
221           <classifier>features</classifier>
222           <type>xml</type>
223         </dependency>
224
225         <!-- OVSDB Related Features -->
226         <dependency>
227           <groupId>org.opendaylight.ovsdb</groupId>
228           <artifactId>features-ovsdb</artifactId>
229           <version>${feature.ovsdb.version}</version>
230           <classifier>features</classifier>
231           <type>xml</type>
232         </dependency>
233
234         <!-- Plugin2oc Related Features -->
235         <dependency>
236           <groupId>org.opendaylight.plugin2oc</groupId>
237           <artifactId>features-plugin2oc</artifactId>
238           <version>0.2.0-SNAPSHOT</version>
239           <classifier>features</classifier>
240           <type>xml</type>
241         </dependency>
242
243         <!-- packetcable Related Features -->
244         <dependency>
245            <groupId>org.opendaylight.packetcable</groupId>
246            <artifactId>features-packetcable</artifactId>
247            <version>${feature.packetcable.version}</version>
248            <classifier>features</classifier>
249           <type>xml</type>
250         </dependency>
251
252         <!-- test to validate features.xml -->
253         <dependency>
254           <groupId>org.opendaylight.yangtools</groupId>
255           <artifactId>features-test</artifactId>
256           <version>${feature.yangtools.version}</version>
257         </dependency>
258       </dependencies>
259   </dependencyManagement>
260   <build>
261     <pluginManagement>
262       <plugins>
263         <plugin>
264           <groupId>org.apache.maven.plugins</groupId>
265           <artifactId>maven-surefire-plugin</artifactId>
266           <version>${maven.surefire.version}</version>
267         </plugin>
268       </plugins>
269     </pluginManagement>
270
271     <plugins>
272       <plugin>
273         <groupId>org.apache.maven.plugins</groupId>
274         <artifactId>maven-enforcer-plugin</artifactId>
275         <version>${enforcer.version}</version>
276         <executions>
277           <execution>
278             <id>enforce-maven</id>
279             <goals>
280               <goal>enforce</goal>
281             </goals>
282             <configuration>
283               <rules>
284                 <requireMavenVersion>
285                   <version>3.1.1</version>
286                 </requireMavenVersion>
287               </rules>
288             </configuration>
289           </execution>
290         </executions>
291       </plugin>
292     </plugins>
293   </build>
294 </project>