Switched to using the single group repo from nexus.opendaylight.org
[controller.git] / opendaylight / md-sal / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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     <groupId>org.opendaylight.controller</groupId>
5     <artifactId>sal-parent</artifactId>
6     <version>1.0-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <scm>
9         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
10         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
11         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
12     </scm>
13
14     <modules>
15         <!--  Common APIs & Implementation -->
16         <module>sal-common</module>
17         <module>sal-common-api</module>
18         <module>sal-common-impl</module>
19         <module>sal-common-util</module>
20
21         <!-- Binding Independent -->
22         <module>sal-dom-api</module>
23         <module>sal-dom-broker</module>
24         <module>sal-dom-spi</module>
25
26         <!-- Binding Aware -->
27         <module>sal-binding-api</module>
28         <module>sal-binding-config</module>
29         <module>sal-binding-broker</module>
30         <module>sal-binding-it</module>
31
32         <!-- Samples -->
33         <module>samples</module>
34
35         <!-- Base Models -->
36         <module>model</module>
37
38         <!-- Compability Packages -->
39         <module>sal-compability</module>
40
41         <!-- Connectors -->
42         <module>sal-connector-api</module>
43         <module>sal-rest-connector</module>
44         <module>flow-management-compatibility</module>
45     </modules>
46
47     <properties>
48         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
50         <!-- Java Versions -->
51         <maven.compiler.source>1.7</maven.compiler.source>
52         <maven.compiler.target>1.7</maven.compiler.target>
53
54         <!-- Plugin Versions -->
55         <bundle.plugin.version>2.4.0</bundle.plugin.version>
56         <releaseplugin.version>2.3.2</releaseplugin.version>
57
58         <!-- Dependency Versions -->
59         <slf4j.version>1.7.2</slf4j.version>
60         <yang.version>0.5.9-SNAPSHOT</yang.version>
61         <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
62         <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
63         <guava.version>14.0.1</guava.version>
64         <osgi.core.version>5.0.0</osgi.core.version>
65         <junit.version>4.8.1</junit.version>
66         <xtend.version>2.4.3</xtend.version>
67         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
68         <jacoco.version>0.5.3.201107060350</jacoco.version>
69         <!-- Sonar properties using jacoco to retrieve integration test results -->
70         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
72         <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
73         <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
74         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
75         <sonar.branch>${user.name}-private-view</sonar.branch>
76         <sonar.language>java</sonar.language>
77     </properties>
78
79     <pluginRepositories>
80         <!-- OpenDayLight Repo Mirror -->
81         <pluginRepository>
82           <id>opendaylight-mirror</id>
83           <name>opendaylight-mirror</name>
84           <url>${nexusproxy}/groups/public/</url>
85           <snapshots>
86               <enabled>false</enabled>
87           </snapshots>
88           <releases>
89               <enabled>true</enabled>
90               <updatePolicy>never</updatePolicy>
91           </releases>
92         </pluginRepository>
93         <!-- OpenDayLight Snapshot artifact -->
94         <pluginRepository>
95           <id>opendaylight-snapshot</id>
96           <name>opendaylight-snapshot</name>
97           <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
98           <snapshots>
99               <enabled>true</enabled>
100           </snapshots>
101           <releases>
102               <enabled>false</enabled>
103           </releases>
104         </pluginRepository>
105     </pluginRepositories>
106
107
108     <repositories>
109         <!-- OpenDayLight Repo Mirror -->
110         <repository>
111           <id>opendaylight-mirror</id>
112           <name>opendaylight-mirror</name>
113           <url>${nexusproxy}/groups/public/</url>
114           <snapshots>
115               <enabled>false</enabled>
116           </snapshots>
117           <releases>
118               <enabled>true</enabled>
119               <updatePolicy>never</updatePolicy>
120           </releases>
121         </repository>
122         <!-- OpenDayLight Snapshot artifact -->
123         <repository>
124           <id>opendaylight-snapshot</id>
125           <name>opendaylight-snapshot</name>
126           <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
127           <snapshots>
128               <enabled>true</enabled>
129           </snapshots>
130           <releases>
131               <enabled>false</enabled>
132           </releases>
133         </repository>
134     </repositories>
135
136     <distributionManagement>
137         <!-- OpenDayLight Released artifact -->
138         <repository>
139             <id>opendaylight-release</id>
140             <url>${nexusproxy}/repositories/opendaylight.release/</url>
141         </repository>
142         <!-- OpenDayLight Snapshot artifact -->
143         <snapshotRepository>
144             <id>opendaylight-snapshot</id>
145             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
146         </snapshotRepository>
147         <!-- Site deployment -->
148         <site>
149             <id>website</id>
150             <url>${sitedeploy}</url>
151         </site>
152     </distributionManagement>
153
154
155     <dependencyManagement>
156         <dependencies>
157
158
159
160
161             <!-- YANG Tools Dependencies -->
162             <dependency>
163                 <groupId>org.opendaylight.yangtools</groupId>
164                 <artifactId>yang-binding</artifactId>
165                 <version>${yang.binding.version}</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.opendaylight.yangtools</groupId>
169                 <artifactId>yang-common</artifactId>
170                 <version>${yang.version}</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.opendaylight.yangtools</groupId>
174                 <artifactId>yang-data-api</artifactId>
175                 <version>${yang.version}</version>
176             </dependency>
177             <dependency>
178                 <groupId>org.opendaylight.yangtools</groupId>
179                 <artifactId>yang-model-api</artifactId>
180                 <version>${yang.version}</version>
181             </dependency>
182             <dependency>
183                 <groupId>org.opendaylight.yangtools</groupId>
184                 <artifactId>yang-data-util</artifactId>
185                 <version>${yang.version}</version>
186             </dependency>
187             <!-- SAL Dependencies -->
188             <dependency>
189                 <groupId>${project.groupId}</groupId>
190                 <artifactId>sal-connector-api</artifactId>
191                 <version>${project.version}</version>
192             </dependency>
193
194             <!-- Supporting Libraries -->
195             <dependency>
196                 <groupId>org.slf4j</groupId>
197                 <artifactId>slf4j-api</artifactId>
198                 <version>${slf4j.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>com.google.guava</groupId>
202                 <artifactId>guava</artifactId>
203                 <version>${guava.version}</version>
204             </dependency>
205             <dependency>
206                 <groupId>org.eclipse.xtend</groupId>
207                 <artifactId>org.eclipse.xtend.lib</artifactId>
208                 <version>${xtend.version}</version>
209             </dependency>
210
211             <!-- Testing Dependencies -->
212             <dependency>
213                 <groupId>junit</groupId>
214                 <artifactId>junit</artifactId>
215                 <version>${junit.version}</version>
216                 <scope>test</scope>
217             </dependency>
218             <dependency>
219                 <groupId>org.mockito</groupId>
220                 <artifactId>mockito-all</artifactId>
221                 <version>1.9.5</version>
222                 <scope>test</scope>
223             </dependency>
224         </dependencies>
225     </dependencyManagement>
226     <build>
227         <pluginManagement>
228             <plugins>
229                 <!--This plugin's configuration is used to store Eclipse
230                     m2e settings only. It has no influence on the Maven build itself. -->
231                 <plugin>
232                     <groupId>org.eclipse.m2e</groupId>
233                     <artifactId>lifecycle-mapping</artifactId>
234                     <version>1.0.0</version>
235                     <configuration>
236                         <lifecycleMappingMetadata>
237                             <pluginExecutions>
238                                 <pluginExecution>
239                                   <pluginExecutionFilter>
240                                     <groupId>org.jacoco</groupId>
241                                     <artifactId>jacoco-maven-plugin</artifactId>
242                                     <versionRange>[0.0,)</versionRange>
243                                     <goals>
244                                       <goal>prepare-agent</goal>
245                                       <goal>pre-test</goal>
246                                       <goal>post-test</goal>
247                                     </goals>
248                                   </pluginExecutionFilter>
249                                   <action>
250                                     <ignore />
251                                   </action>
252                                 </pluginExecution>
253                             </pluginExecutions>
254                         </lifecycleMappingMetadata>
255                     </configuration>
256                 </plugin>
257                 <plugin>
258                     <groupId>org.apache.maven.plugins</groupId>
259                     <artifactId>maven-release-plugin</artifactId>
260                     <version>${releaseplugin.version}</version>
261                 </plugin>
262                 <plugin>
263                     <groupId>org.apache.felix</groupId>
264                     <artifactId>maven-bundle-plugin</artifactId>
265                     <version>${bundle.plugin.version}</version>
266                     <extensions>true</extensions>
267                     <!--executions>
268                         <execution>
269                             <id>bundle-manifest</id>
270                             <phase>process-classes</phase>
271                             <goals>
272                                 <goal>manifest</goal>
273                             </goals>
274                         </execution>
275                     </executions-->
276                     <configuration>
277                         <instructions>
278                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
279                         </instructions>
280                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
281                     </configuration>
282                 </plugin>
283                 <plugin>
284                     <groupId>org.eclipse.xtend</groupId>
285                     <artifactId>xtend-maven-plugin</artifactId>
286                     <version>${xtend.version}</version>
287                     <executions>
288                         <execution>
289                             <goals>
290                                 <goal>compile</goal>
291                             </goals>
292                             <configuration>
293                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
294                             </configuration>
295                         </execution>
296                     </executions>
297                 </plugin>
298                 <plugin>
299                     <artifactId>maven-clean-plugin</artifactId>
300                     <version>${maven.clean.plugin.version}</version>
301                     <configuration>
302                         <filesets>
303                             <fileset>
304                                 <directory>${basedir}/src/main/xtend-gen</directory>
305                                 <includes>
306                                     <include>**</include>
307                                 </includes>
308                             </fileset>
309                         </filesets>
310                     </configuration>
311                 </plugin>
312                 <plugin>
313                     <groupId>org.jacoco</groupId>
314                     <artifactId>jacoco-maven-plugin</artifactId>
315                     <version>${jacoco.version}</version>
316                 </plugin>
317                 <!--This plugin's configuration is used to store Eclipse
318                     m2e settings only. It has no influence on the Maven build itself. -->
319                 <plugin>
320                     <groupId>org.eclipse.m2e</groupId>
321                     <artifactId>lifecycle-mapping</artifactId>
322                     <version>1.0.0</version>
323                     <configuration>
324                         <lifecycleMappingMetadata>
325                             <pluginExecutions>
326                                 <pluginExecution>
327                                     <pluginExecutionFilter>
328                                         <groupId>
329                                             org.opendaylight.yangtools
330                                         </groupId>
331                                         <artifactId>
332                                             yang-maven-plugin
333                                         </artifactId>
334                                         <versionRange>
335                                             [0.5,)
336                                         </versionRange>
337                                         <goals>
338                                             <goal>
339                                                 generate-sources
340                                             </goal>
341                                         </goals>
342                                     </pluginExecutionFilter>
343                                     <action>
344                                         <ignore></ignore>
345                                     </action>
346                                 </pluginExecution>
347                             </pluginExecutions>
348                         </lifecycleMappingMetadata>
349                     </configuration>
350                 </plugin>
351             </plugins>
352
353         </pluginManagement>
354         <plugins>
355             <plugin>
356                 <groupId>org.apache.felix</groupId>
357                 <artifactId>maven-bundle-plugin</artifactId>
358             </plugin>
359             <plugin>
360                 <groupId>org.apache.maven.plugins</groupId>
361                 <artifactId>maven-jar-plugin</artifactId>
362                 <version>2.4</version>
363             </plugin>
364             <plugin>
365                 <groupId>org.apache.maven.plugins</groupId>
366                 <artifactId>maven-javadoc-plugin</artifactId>
367                 <version>2.8.1</version>
368                 <configuration>
369                     <stylesheet>maven</stylesheet>
370                     <failOnError>false</failOnError>
371                 </configuration>
372                 <executions>
373                     <execution>
374                         <goals>
375                             <goal>aggregate</goal>
376                         </goals>
377                         <phase>site</phase>
378                     </execution>
379                 </executions>
380             </plugin>
381         </plugins>
382     </build>
383     <reporting>
384         <plugins>
385             <plugin>
386                 <groupId>org.codehaus.mojo</groupId>
387                 <artifactId>findbugs-maven-plugin</artifactId>
388                 <version>2.4.0</version>
389                 <configuration>
390                     <effort>Max</effort>
391                     <threshold>Low</threshold>
392                     <goal>site</goal>
393                 </configuration>
394             </plugin>
395             <plugin>
396                 <groupId>org.codehaus.mojo</groupId>
397                 <artifactId>jdepend-maven-plugin</artifactId>
398                 <version>2.0-beta-2</version>
399             </plugin>
400         </plugins>
401     </reporting>
402 </project>