checkstyle: enable LocalVariableName
[neutron.git] / neutron-spi / 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.neutron</groupId>
6     <artifactId>project-neutron-parent</artifactId>
7     <version>0.8.0-SNAPSHOT</version>
8     <relativePath>../parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.neutron</groupId>
12   <artifactId>neutron-spi</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>model</artifactId>
33       <version>${project.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.mdsal.model</groupId>
37       <artifactId>ietf-inet-types-2013-07-15</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.mdsal.model</groupId>
41       <artifactId>ietf-yang-types-20130715</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.mdsal.model</groupId>
45       <artifactId>yang-ext</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>commons-net</groupId>
49       <artifactId>commons-net</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.osgi</groupId>
53       <artifactId>org.osgi.core</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.slf4j</groupId>
57       <artifactId>slf4j-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>javax.validation</groupId>
66       <artifactId>validation-api</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.eclipse.persistence</groupId>
70       <artifactId>org.eclipse.persistence.antlr</artifactId>
71       <scope>test</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.eclipse.persistence</groupId>
75       <artifactId>org.eclipse.persistence.core</artifactId>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79        <groupId>org.eclipse.persistence</groupId>
80        <artifactId>org.eclipse.persistence.moxy</artifactId>
81        <scope>test</scope>
82     </dependency>
83     <dependency>
84       <groupId>com.fasterxml.jackson.core</groupId>
85       <artifactId>jackson-annotations</artifactId>
86     </dependency>
87   </dependencies>
88   <build>
89     <plugins>
90       <plugin>
91           <artifactId>maven-checkstyle-plugin</artifactId>
92           <configuration>
93             <suppressionsLocation>../parent/checkstyle-suppressions.xml</suppressionsLocation>
94             <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
95             <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
96             <consoleOutput>true</consoleOutput>
97              <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
98           </configuration>
99           <executions>
100             <execution>
101               <goals>
102                 <goal>check</goal>
103               </goals>
104               <phase>process-sources</phase>
105             </execution>
106           </executions>
107       </plugin>
108       <plugin>
109         <groupId>org.apache.felix</groupId>
110         <artifactId>maven-bundle-plugin</artifactId>
111         <extensions>true</extensions>
112         <configuration>
113           <instructions>
114             <Import-Package>*</Import-Package>
115           </instructions>
116           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
117         </configuration>
118       </plugin>
119       <plugin>
120         <groupId>org.apache.maven.plugins</groupId>
121         <artifactId>maven-compiler-plugin</artifactId>
122         <inherited>true</inherited>
123         <configuration>
124           <compilerArgs>
125             <arg>-Xlint:unchecked</arg>
126             <arg>-Xlint:deprecation</arg>
127           </compilerArgs>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
132   <scm>
133     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
134     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
135     <tag>HEAD</tag>
136     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
137   </scm>
138   <distributionManagement>
139     <!-- Site deployment -->
140     <site>
141       <id>opendaylight-site</id>
142       <url>${nexus.site.url}/${project.artifactId}/</url>
143     </site>
144   </distributionManagement>
145
146   <!--
147       Maven Site Configuration
148
149       The following configuration is necessary for maven-site-plugin to
150       correctly identify the correct deployment path for OpenDaylight Maven
151       sites.
152   -->
153   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
154 </project>