Update to work on Sodium SR1
[l2switch.git] / parent / 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"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.mdsal</groupId>
7     <artifactId>binding-parent</artifactId>
8     <version>4.0.6</version>
9     <relativePath/>
10   </parent>
11   <groupId>org.opendaylight.l2switch</groupId>
12   <artifactId>l2switch-parent</artifactId>
13   <version>0.8.0-SNAPSHOT</version>
14   <packaging>pom</packaging>
15
16   <dependencyManagement>
17     <dependencies>
18       <dependency>
19         <groupId>org.opendaylight.controller</groupId>
20         <artifactId>mdsal-artifacts</artifactId>
21         <version>1.10.1</version>
22         <scope>import</scope>
23         <type>pom</type>
24       </dependency>
25       <dependency>
26         <groupId>org.opendaylight.openflowplugin</groupId>
27         <artifactId>openflowplugin-artifacts</artifactId>
28         <version>0.9.1</version>
29         <scope>import</scope>
30         <type>pom</type>
31       </dependency>
32       <dependency>
33         <groupId>org.opendaylight.l2switch</groupId>
34         <artifactId>l2switch-artifacts</artifactId>
35         <version>${project.version}</version>
36         <scope>import</scope>
37         <type>pom</type>
38       </dependency>
39     </dependencies>
40   </dependencyManagement>
41
42   <distributionManagement>
43     <!-- OpenDayLight Released artifact -->
44     <repository>
45       <id>opendaylight-release</id>
46       <url>${nexusproxy}/repositories/opendaylight.release/</url>
47     </repository>
48     <!-- OpenDayLight Snapshot artifact -->
49     <snapshotRepository>
50       <id>opendaylight-snapshot</id>
51       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
52     </snapshotRepository>
53     <site>
54       <id>${project.artifactId}-site</id>
55       <url>./</url>
56     </site>
57   </distributionManagement>
58
59   <build>
60       <plugins>
61           <plugin>
62               <groupId>org.apache.maven.plugins</groupId>
63               <artifactId>maven-checkstyle-plugin</artifactId>
64               <configuration>
65                   <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
66               </configuration>
67           </plugin>
68           <plugin>
69               <groupId>com.github.spotbugs</groupId>
70               <artifactId>spotbugs-maven-plugin</artifactId>
71               <configuration>
72                   <failOnError>true</failOnError>
73               </configuration>
74           </plugin>
75       </plugins>
76   </build>
77
78
79 </project>