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