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