add -Xlint:unchecked and -Xlint:deprecation to compiler argument
[neutron.git] / transcriber / 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.5.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10   <groupId>org.opendaylight.neutron</groupId>
11   <artifactId>transcriber</artifactId>
12   <version>0.7.0-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14   <properties>
15     <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
16     <sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
17   </properties>
18   <build>
19     <plugins>
20       <plugin>
21         <groupId>org.apache.felix</groupId>
22         <artifactId>maven-bundle-plugin</artifactId>
23         <extensions>true</extensions>
24         <configuration>
25           <instructions>
26             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
27           </instructions>
28           <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
29         </configuration>
30       </plugin>
31       <plugin>
32         <groupId>org.apache.maven.plugins</groupId>
33         <artifactId>maven-compiler-plugin</artifactId>
34         <inherited>true</inherited>
35         <configuration>
36           <compilerArgs>
37             <arg>-Xlint:unchecked</arg>
38             <arg>-Xlint:deprecation</arg>
39           </compilerArgs>
40         </configuration>
41       </plugin>
42     </plugins>
43   </build>
44   <dependencies>
45     <dependency>
46       <groupId>org.opendaylight.neutron</groupId>
47       <artifactId>neutron-spi</artifactId>
48       <version>${project.version}</version>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.neutron</groupId>
52       <artifactId>model</artifactId>
53       <version>${project.version}</version>
54     </dependency>
55     <dependency>
56       <groupId>org.osgi</groupId>
57       <artifactId>org.osgi.core</artifactId>
58     </dependency>
59   </dependencies>
60   <scm>
61     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
62     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
63     <tag>HEAD</tag>
64     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
65   </scm>
66
67   <!--
68       Maven Site Configuration
69
70       The following configuration is necessary for maven-site-plugin to
71       correctly identify the correct deployment path for OpenDaylight Maven
72       sites.
73   -->
74   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
75
76   <distributionManagement>
77     <site>
78       <id>opendaylight-site</id>
79       <url>${nexus.site.url}/${project.artifactId}/</url>
80     </site>
81   </distributionManagement>
82 </project>