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