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