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