1eca8076621eb8279edd8427ac4007d8f2d69ffe
[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     <karaf.branding.version>1.0.0-SNAPSHOT</karaf.branding.version>
30     <karaf.version>3.0.1</karaf.version>
31     <maven.surefire.version>2.16</maven.surefire.version>
32     <checkstyle.version>2.12</checkstyle.version>
33   </properties>
34   <modules>
35     <module>distributions/</module>
36     <module>features/</module>
37   </modules>
38
39   <repositories>
40
41     <!-- OpenDayLight Repo Mirror -->
42     <repository>
43       <id>opendaylight-mirror</id>
44       <name>opendaylight-mirror</name>
45       <url>${nexusproxy}/groups/public/</url>
46       <snapshots>
47           <enabled>false</enabled>
48       </snapshots>
49       <releases>
50           <enabled>true</enabled>
51           <updatePolicy>never</updatePolicy>
52       </releases>
53     </repository>
54     <!-- OpenDayLight Snapshot artifact -->
55     <repository>
56       <id>opendaylight-snapshot</id>
57       <name>opendaylight-snapshot</name>
58       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
59       <snapshots>
60           <enabled>true</enabled>
61       </snapshots>
62       <releases>
63           <enabled>false</enabled>
64       </releases>
65     </repository>
66   </repositories>
67
68   <pluginRepositories>
69     <pluginRepository>
70       <id>central2</id>
71       <name>central2</name>
72       <url>${nexusproxy}/repositories/central2/</url>
73     </pluginRepository>
74     <pluginRepository>
75       <id>opendaylight-snapshot</id>
76       <name>central2</name>
77       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
78     </pluginRepository>
79   </pluginRepositories>
80
81   <distributionManagement>
82     <!-- OpenDayLight Released artifact -->
83     <repository>
84       <id>opendaylight-release</id>
85       <url>${nexusproxy}/repositories/opendaylight.release/</url>
86     </repository>
87     <!-- OpenDayLight Snapshot artifact -->
88     <snapshotRepository>
89       <id>opendaylight-snapshot</id>
90       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
91     </snapshotRepository>
92     <site>
93       <id>${project.artifactId}-site</id>
94       <url>./</url>
95     </site>
96   </distributionManagement>
97   <dependencyManagement>
98       <dependencies>
99         <!-- Karaf basic pieces -->
100         <dependency>
101           <!-- scope is compile so all features (there is only one) are installed
102             into startup.properties and the feature repo itself is not installed -->
103           <groupId>org.apache.karaf.features</groupId>
104           <artifactId>framework</artifactId>
105           <version>${karaf.version}</version>
106           <type>kar</type>
107         </dependency>
108         <!-- scope is runtime so the feature repo is listed in the features
109           service config file, and features may be installed using the
110           karaf-maven-plugin configuration -->
111         <dependency>
112           <groupId>org.apache.karaf.features</groupId>
113           <artifactId>standard</artifactId>
114           <version>${karaf.version}</version>
115           <classifier>features</classifier>
116           <type>xml</type>
117         </dependency>
118
119         <!-- Karaf Branding -->
120         <dependency>
121           <groupId>org.opendaylight.controller</groupId>
122           <artifactId>karaf.branding</artifactId>
123           <version>${karaf.branding.version}</version>
124         </dependency>
125
126         <!-- Integration features -->
127         <dependency>
128           <groupId>org.opendaylight.integration</groupId>
129           <artifactId>features-integration</artifactId>
130           <version>${project.version}</version>
131           <classifier>features</classifier>
132           <type>xml</type>
133         </dependency>
134         <!-- MD-SAL Related Features -->
135         <dependency>
136           <groupId>org.opendaylight.controller</groupId>
137           <artifactId>features-mdsal</artifactId>
138           <version>${feature.mdsal.version}</version>
139           <classifier>features</classifier>
140           <type>xml</type>
141         </dependency>
142         <dependency>
143           <groupId>org.opendaylight.controller</groupId>
144           <artifactId>features-flow</artifactId>
145           <version>${feature.flow.version}</version>
146           <classifier>features</classifier>
147           <type>xml</type>
148         </dependency>
149         <!-- AD-SAL Related Features -->
150         <dependency>
151           <groupId>org.opendaylight.controller</groupId>
152           <artifactId>features-adsal</artifactId>
153           <version>${feature.adsal.version}</version>
154           <classifier>features</classifier>
155           <type>xml</type>
156         </dependency>
157         <dependency>
158           <groupId>org.opendaylight.controller</groupId>
159           <artifactId>features-nsf</artifactId>
160           <version>${feature.nsf.version}</version>
161           <classifier>features</classifier>
162           <type>xml</type>
163         </dependency>
164
165         <!-- OVSDB Related Features -->
166         <dependency>
167           <groupId>org.opendaylight.ovsdb</groupId>
168           <artifactId>features-ovsdb</artifactId>
169           <version>${feature.ovsdb.version}</version>
170           <classifier>features</classifier>
171           <type>xml</type>
172         </dependency>
173
174         <!-- test to validate features.xml -->
175         <dependency>
176           <groupId>org.opendaylight.yangtools</groupId>
177           <artifactId>features-test</artifactId>
178           <version>${feature.yangtools.version}</version>
179         </dependency>
180       </dependencies>
181   </dependencyManagement>
182   <build>
183     <pluginManagement>
184       <plugins>
185         <plugin>
186           <groupId>org.apache.maven.plugins</groupId>
187           <artifactId>maven-surefire-plugin</artifactId>
188           <version>{$maven.surefire.version}</version>
189         </plugin>
190       </plugins>
191     </pluginManagement>
192   </build>
193 </project>