add -Xlint:unchecked and -Xlint:deprecation to compiler argument
[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.7.0-SNAPSHOT</version>
8     <relativePath>../parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.neutron</groupId>
12   <artifactId>neutron-spi</artifactId>
13   <version>0.7.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.9.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</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.mdsal.model</groupId>
41       <artifactId>ietf-yang-types</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         <groupId>org.apache.felix</groupId>
92         <artifactId>maven-bundle-plugin</artifactId>
93         <extensions>true</extensions>
94         <configuration>
95           <instructions>
96             <Import-Package>*</Import-Package>
97           </instructions>
98           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
99         </configuration>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-compiler-plugin</artifactId>
104         <inherited>true</inherited>
105         <configuration>
106           <compilerArgs>
107             <arg>-Xlint:unchecked</arg>
108             <arg>-Xlint:deprecation</arg>
109           </compilerArgs>
110         </configuration>
111       </plugin>
112     </plugins>
113   </build>
114   <scm>
115     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
116     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
117     <tag>HEAD</tag>
118     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
119   </scm>
120   <distributionManagement>
121     <!-- Site deployment -->
122     <site>
123       <id>opendaylight-site</id>
124       <url>${nexus.site.url}/${project.artifactId}/</url>
125     </site>
126   </distributionManagement>
127
128   <!--
129       Maven Site Configuration
130
131       The following configuration is necessary for maven-site-plugin to
132       correctly identify the correct deployment path for OpenDaylight Maven
133       sites.
134   -->
135   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
136 </project>