Adding checkstyle checks to hostconfig
[neutron.git] / neutron-hostconfig / ovs / 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   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>config-parent</artifactId>
7     <version>0.6.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.neutron</groupId>
12   <artifactId>neutron-hostconfig-ovs</artifactId>
13   <version>0.8.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15   <properties>
16     <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
17   </properties>
18   <dependencyManagement>
19     <dependencies>
20       <dependency>
21         <groupId>org.opendaylight.mdsal.model</groupId>
22         <artifactId>mdsal-model-artifacts</artifactId>
23         <version>0.10.0-SNAPSHOT</version>
24         <type>pom</type>
25         <scope>import</scope>
26       </dependency>
27     </dependencies>
28   </dependencyManagement>
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.neutron</groupId>
32       <artifactId>neutron-spi</artifactId>
33       <version>${project.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.neutron</groupId>
37       <artifactId>model</artifactId>
38       <version>${project.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.ovsdb</groupId>
42       <artifactId>utils.mdsal-utils</artifactId>
43       <version>1.4.0-SNAPSHOT</version>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.ovsdb</groupId>
47       <artifactId>utils.southbound-utils</artifactId>
48       <version>1.4.0-SNAPSHOT</version>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.neutron</groupId>
52       <artifactId>neutron-hostconfig-utils</artifactId>
53       <version>${project.version}</version>
54     </dependency>
55     <dependency>
56       <groupId>org.osgi</groupId>
57       <artifactId>org.osgi.core</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.slf4j</groupId>
61       <artifactId>slf4j-api</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller</groupId>
65       <artifactId>config-api</artifactId>
66       <version>0.6.0-SNAPSHOT</version>
67     </dependency>
68   </dependencies>
69   <build>
70     <plugins>
71       <plugin>
72         <artifactId>maven-checkstyle-plugin</artifactId>
73         <configuration>
74           <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
75           <consoleOutput>true</consoleOutput>
76           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
77         </configuration>
78         <executions>
79           <execution>
80             <goals>
81               <goal>check</goal>
82             </goals>
83             <phase>process-sources</phase>
84           </execution>
85         </executions>
86       </plugin>
87       <plugin>
88         <groupId>org.apache.maven.plugins</groupId>
89         <artifactId>maven-compiler-plugin</artifactId>
90         <inherited>true</inherited>
91         <configuration>
92           <compilerArgs>
93             <arg>-Xlint:unchecked</arg>
94             <arg>-Xlint:deprecation</arg>
95           </compilerArgs>
96         </configuration>
97       </plugin>
98     </plugins>
99   </build>
100   <scm>
101     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
102     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
103     <tag>HEAD</tag>
104     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
105   </scm>
106   <distributionManagement>
107     <!-- Site deployment -->
108     <site>
109       <id>opendaylight-site</id>
110       <url>${nexus.site.url}/${project.artifactId}/</url>
111     </site>
112   </distributionManagement>
113
114   <!--
115       Maven Site Configuration
116
117       The following configuration is necessary for maven-site-plugin to
118       correctly identify the correct deployment path for OpenDaylight Maven
119       sites.
120   -->
121   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
122 </project>