Bump odlparent-3.0.2-SNAPSHOT to 3.0.2
[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.7.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         <yangtools.version>2.0.0</yangtools.version>
56         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
57         <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
58         <nexus.repository.release>opendaylight.release</nexus.repository.release>
59         <maven.javadoc.skip>true</maven.javadoc.skip>
60     </properties>
61
62     <dependencies>
63         <dependency>
64             <groupId>junit</groupId>
65             <artifactId>junit</artifactId>
66             <scope>test</scope>
67         </dependency>
68
69         <dependency>
70             <groupId>com.google.guava</groupId>
71             <artifactId>guava</artifactId>
72         </dependency>
73     </dependencies>
74
75     <modules></modules>
76
77     <build>
78         <directory>${project.basedir}/target</directory>
79         <outputDirectory>${project.build.directory}/classes</outputDirectory>
80         <finalName>${project.artifactId}-${project.version}</finalName>
81         <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
82         <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
83         <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
84         <resources>
85             <resource>
86                 <directory>${project.basedir}/src/main/resources</directory>
87             </resource>
88         </resources>
89         <testResources>
90             <testResource>
91                 <directory>${project.basedir}/src/test/resources</directory>
92             </testResource>
93         </testResources>
94         <plugins>
95
96         <plugin>
97           <artifactId>maven-checkstyle-plugin</artifactId>
98           <version>${checkstyle.version}</version>
99           <dependencies>
100             <dependency>
101               <groupId>org.opendaylight.odlparent</groupId>
102               <artifactId>checkstyle</artifactId>
103               <version>3.0.2</version>
104             </dependency>
105             <dependency>
106               <groupId>org.opendaylight.odlparent</groupId>
107               <artifactId>odl-license</artifactId>
108               <version>3.0.2</version>
109             </dependency>
110           </dependencies>
111
112           <executions>
113             <execution>
114               <id>check-license</id>
115               <goals>
116                 <goal>check</goal>
117               </goals>
118               <phase>process-sources</phase>
119               <configuration>
120                 <configLocation>check-license.xml</configLocation>
121                 <includeResources>false</includeResources>
122                 <includeTestResources>false</includeTestResources>
123                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
124                 <excludes>
125                   org/opendaylight/yang/gen/**,
126                   **/protobuff/messages/**,
127                   **/thrift/gen/*.java,
128                   **/org/umu/cops/**
129                 </excludes>
130                 <failsOnError>false</failsOnError>
131                 <consoleOutput>true</consoleOutput>
132               </configuration>
133             </execution>
134           </executions>
135         </plugin>
136
137             <plugin>
138                 <groupId>org.apache.felix</groupId>
139                 <artifactId>maven-bundle-plugin</artifactId>
140                 <configuration>
141                     <instructions>
142                         <Export-Package>org.pcmm*, org.umu.cops*</Export-Package>
143                     </instructions>
144                 </configuration>
145             </plugin>
146             <plugin>
147                 <artifactId>maven-compiler-plugin</artifactId>
148                 <configuration>
149                     <source>1.7</source>
150                     <target>1.7</target>
151                 </configuration>
152             </plugin>
153         </plugins>
154     </build>
155
156   <profiles>
157     <!-- Disable Java 8 linter since umu/cops fails it -->
158     <profile>
159       <id>jdk8</id>
160       <activation>
161         <jdk>[1.8,)</jdk>
162       </activation>
163       <properties>
164         <additionalparam>-Xdoclint:none</additionalparam>
165       </properties>
166     </profile>
167   </profiles>
168 </project>