7f8bc6c1139827062c1a876fd4370845c2521a92
[packetcable.git] / packetcable-driver / 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
6     <parent>
7         <groupId>org.opendaylight.packetcable</groupId>
8         <artifactId>packetcable</artifactId>
9         <version>1.8.0-SNAPSHOT</version>
10         <relativePath>..</relativePath>
11     </parent>
12     <artifactId>packetcable-driver</artifactId>
13     <packaging>bundle</packaging>
14
15     <description>
16         A lightweight implementation of PCMM COPS PDP client
17     </description>
18
19     <url></url>
20     <inceptionYear>2013</inceptionYear>
21
22     <licenses>
23         <license>
24         </license>
25     </licenses>
26
27     <mailingLists>
28         <mailingList>
29         </mailingList>
30     </mailingLists>
31
32     <developers>
33         <developer>
34         </developer>
35     </developers>
36
37     <contributors>
38         <contributor>
39         </contributor>
40     </contributors>
41
42     <scm>
43         <connection></connection>
44         <developerConnection></developerConnection>
45         <url></url>
46     </scm>
47
48     <issueManagement>
49         <system></system>
50         <url></url>
51     </issueManagement>
52
53     <properties>
54         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55         <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
56         <nexus.repository.release>opendaylight.release</nexus.repository.release>
57         <maven.javadoc.skip>true</maven.javadoc.skip>
58     </properties>
59
60     <dependencies>
61         <dependency>
62             <groupId>junit</groupId>
63             <artifactId>junit</artifactId>
64             <scope>test</scope>
65         </dependency>
66
67         <dependency>
68             <groupId>com.google.guava</groupId>
69             <artifactId>guava</artifactId>
70         </dependency>
71     </dependencies>
72
73     <modules></modules>
74
75     <build>
76         <directory>${project.basedir}/target</directory>
77         <outputDirectory>${project.build.directory}/classes</outputDirectory>
78         <finalName>${project.artifactId}-${project.version}</finalName>
79         <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
80         <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
81         <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
82         <resources>
83             <resource>
84                 <directory>${project.basedir}/src/main/resources</directory>
85             </resource>
86         </resources>
87         <testResources>
88             <testResource>
89                 <directory>${project.basedir}/src/test/resources</directory>
90             </testResource>
91         </testResources>
92         <plugins>
93
94         <plugin>
95           <artifactId>maven-checkstyle-plugin</artifactId>
96           <version>${checkstyle.version}</version>
97           <dependencies>
98             <dependency>
99               <groupId>org.opendaylight.odlparent</groupId>
100               <artifactId>checkstyle</artifactId>
101               <version>3.0.2</version>
102             </dependency>
103             <dependency>
104               <groupId>org.opendaylight.odlparent</groupId>
105               <artifactId>odl-license</artifactId>
106               <version>3.0.2</version>
107             </dependency>
108           </dependencies>
109
110           <executions>
111             <execution>
112               <id>check-license</id>
113               <goals>
114                 <goal>check</goal>
115               </goals>
116               <phase>process-sources</phase>
117               <configuration>
118                 <configLocation>check-license.xml</configLocation>
119                 <includeResources>false</includeResources>
120                 <includeTestResources>false</includeTestResources>
121                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
122                 <excludes>
123                   org/opendaylight/yang/gen/**,
124                   **/protobuff/messages/**,
125                   **/thrift/gen/*.java,
126                   **/org/umu/cops/**
127                 </excludes>
128                 <failsOnError>false</failsOnError>
129                 <consoleOutput>true</consoleOutput>
130               </configuration>
131             </execution>
132           </executions>
133         </plugin>
134
135             <plugin>
136                 <groupId>org.apache.felix</groupId>
137                 <artifactId>maven-bundle-plugin</artifactId>
138                 <configuration>
139                     <instructions>
140                         <Export-Package>org.pcmm*, org.umu.cops*</Export-Package>
141                     </instructions>
142                 </configuration>
143             </plugin>
144             <plugin>
145                 <artifactId>maven-compiler-plugin</artifactId>
146                 <configuration>
147                     <source>1.7</source>
148                     <target>1.7</target>
149                 </configuration>
150             </plugin>
151         </plugins>
152     </build>
153
154   <profiles>
155     <!-- Disable Java 8 linter since umu/cops fails it -->
156     <profile>
157       <id>jdk8</id>
158       <activation>
159         <jdk>[1.8,)</jdk>
160       </activation>
161       <properties>
162         <additionalparam>-Xdoclint:none</additionalparam>
163       </properties>
164     </profile>
165   </profiles>
166 </project>