d044ce363416c00ace5aaf16bfa90b08086d76d2
[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   <modelVersion>4.0.0</modelVersion>
4   <prerequisites>
5     <maven>3.0</maven>
6   </prerequisites>
7   <groupId>org.opendaylight.integration</groupId>
8   <artifactId>root</artifactId>
9   <version>0.2.0-SNAPSHOT</version>
10   <name>OpenDaylight Integration Project</name>
11   <packaging>pom</packaging>
12   <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
13   <scm>
14     <connection>scm:git:ssh://git.opendaylight.org:29418/integration.git</connection>
15     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration.git</developerConnection>
16     <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
17     <tag>HEAD</tag>
18   </scm>
19   <properties>
20     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
21     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22     <feature.mdsal.version>1.1-SNAPSHOT</feature.mdsal.version>
23     <feature.flow.version>1.1-SNAPSHOT</feature.flow.version>
24     <feature.yangtools.version>0.6.2-SNAPSHOT</feature.yangtools.version>
25     <feature.adsal.version>0.8.1-SNAPSHOT</feature.adsal.version>
26     <feature.nsf.version>0.4.2-SNAPSHOT</feature.nsf.version>
27     <feature.ovsdb.version>1.0.0-SNAPSHOT</feature.ovsdb.version>
28     <feature.ovsdb.openstack.version>1.0.0-SNAPSHOT</feature.ovsdb.openstack.version>
29     <feature.lispflowmapping.version>1.1.11-SNAPSHOT</feature.lispflowmapping.version>
30     <feature.snbi.version>1.0.0-SNAPSHOT</feature.snbi.version>
31     <feature.ttp.version>0.0.1-SNAPSHOT</feature.ttp.version>
32     <feature.vtn-manager.version>0.2.0-SNAPSHOT</feature.vtn-manager.version>
33     <feature.bgp.version>0.3.1-SNAPSHOT</feature.bgp.version>
34     <karaf.branding.version>1.0.0-SNAPSHOT</karaf.branding.version>
35     <karaf.version>3.0.1</karaf.version>
36     <maven.surefire.version>2.16</maven.surefire.version>
37     <checkstyle.version>2.12</checkstyle.version>
38   </properties>
39   <modules>
40     <module>distributions/</module>
41     <module>features/</module>
42   </modules>
43
44   <repositories>
45
46     <!-- OpenDayLight Repo Mirror -->
47     <repository>
48       <id>opendaylight-mirror</id>
49       <name>opendaylight-mirror</name>
50       <url>${nexusproxy}/groups/public/</url>
51       <snapshots>
52           <enabled>false</enabled>
53       </snapshots>
54       <releases>
55           <enabled>true</enabled>
56           <updatePolicy>never</updatePolicy>
57       </releases>
58     </repository>
59     <!-- OpenDayLight Snapshot artifact -->
60     <repository>
61       <id>opendaylight-snapshot</id>
62       <name>opendaylight-snapshot</name>
63       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
64       <snapshots>
65           <enabled>true</enabled>
66       </snapshots>
67       <releases>
68           <enabled>false</enabled>
69       </releases>
70     </repository>
71   </repositories>
72
73   <pluginRepositories>
74     <pluginRepository>
75       <id>central2</id>
76       <name>central2</name>
77       <url>${nexusproxy}/repositories/central2/</url>
78     </pluginRepository>
79     <pluginRepository>
80       <id>opendaylight-snapshot</id>
81       <name>central2</name>
82       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
83     </pluginRepository>
84   </pluginRepositories>
85
86   <distributionManagement>
87     <!-- OpenDayLight Released artifact -->
88     <repository>
89       <id>opendaylight-release</id>
90       <url>${nexusproxy}/repositories/opendaylight.release/</url>
91     </repository>
92     <!-- OpenDayLight Snapshot artifact -->
93     <snapshotRepository>
94       <id>opendaylight-snapshot</id>
95       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
96     </snapshotRepository>
97     <site>
98       <id>${project.artifactId}-site</id>
99       <url>./</url>
100     </site>
101   </distributionManagement>
102   <dependencyManagement>
103       <dependencies>
104         <!-- Karaf basic pieces -->
105         <dependency>
106           <!-- scope is compile so all features (there is only one) are installed
107             into startup.properties and the feature repo itself is not installed -->
108           <groupId>org.apache.karaf.features</groupId>
109           <artifactId>framework</artifactId>
110           <version>${karaf.version}</version>
111           <type>kar</type>
112         </dependency>
113         <!-- scope is runtime so the feature repo is listed in the features
114           service config file, and features may be installed using the
115           karaf-maven-plugin configuration -->
116         <dependency>
117           <groupId>org.apache.karaf.features</groupId>
118           <artifactId>standard</artifactId>
119           <version>${karaf.version}</version>
120           <classifier>features</classifier>
121           <type>xml</type>
122         </dependency>
123
124         <!-- Karaf Branding -->
125         <dependency>
126           <groupId>org.opendaylight.controller</groupId>
127           <artifactId>karaf.branding</artifactId>
128           <version>${karaf.branding.version}</version>
129         </dependency>
130
131         <!-- Integration features -->
132         <dependency>
133           <groupId>org.opendaylight.integration</groupId>
134           <artifactId>features-integration</artifactId>
135           <version>${project.version}</version>
136           <classifier>features</classifier>
137           <type>xml</type>
138         </dependency>
139         <!-- MD-SAL Related Features -->
140         <dependency>
141           <groupId>org.opendaylight.controller</groupId>
142           <artifactId>features-mdsal</artifactId>
143           <version>${feature.mdsal.version}</version>
144           <classifier>features</classifier>
145           <type>xml</type>
146         </dependency>
147         <dependency>
148           <groupId>org.opendaylight.controller</groupId>
149           <artifactId>features-flow</artifactId>
150           <version>${feature.flow.version}</version>
151           <classifier>features</classifier>
152           <type>xml</type>
153         </dependency>
154         <!-- AD-SAL Related Features -->
155         <dependency>
156           <groupId>org.opendaylight.controller</groupId>
157           <artifactId>features-adsal</artifactId>
158           <version>${feature.adsal.version}</version>
159           <classifier>features</classifier>
160           <type>xml</type>
161         </dependency>
162         <dependency>
163           <groupId>org.opendaylight.controller</groupId>
164           <artifactId>features-nsf</artifactId>
165           <version>${feature.nsf.version}</version>
166           <classifier>features</classifier>
167           <type>xml</type>
168         </dependency>
169         <!-- VTN Features -->
170         <dependency>
171           <groupId>org.opendaylight.vtn</groupId>
172           <artifactId>features-vtn-manager</artifactId>
173           <version>${feature.vtn-manager.version}</version>
174           <classifier>features</classifier>
175           <type>xml</type>
176         </dependency>
177
178         <dependency>
179           <groupId>org.opendaylight.bgpcep</groupId>
180           <artifactId>features-bgp</artifactId>
181           <version>${feature.bgp.version}</version>
182           <classifier>features</classifier>
183           <type>xml</type>
184         </dependency>
185
186         <!-- OVSDB Related Features -->
187         <dependency>
188           <groupId>org.opendaylight.ovsdb</groupId>
189           <artifactId>features-ovsdb</artifactId>
190           <version>${feature.ovsdb.version}</version>
191           <classifier>features</classifier>
192           <type>xml</type>
193         </dependency>
194
195         <!-- test to validate features.xml -->
196         <dependency>
197           <groupId>org.opendaylight.yangtools</groupId>
198           <artifactId>features-test</artifactId>
199           <version>${feature.yangtools.version}</version>
200         </dependency>
201       </dependencies>
202   </dependencyManagement>
203   <build>
204     <pluginManagement>
205       <plugins>
206         <plugin>
207           <groupId>org.apache.maven.plugins</groupId>
208           <artifactId>maven-surefire-plugin</artifactId>
209           <version>{$maven.surefire.version}</version>
210         </plugin>
211       </plugins>
212     </pluginManagement>
213   </build>
214 </project>