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