Initial code drop
[bgpcep.git] / framework / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6         <parent>
7                 <groupId>org.opendaylight.protocol</groupId>
8                 <artifactId>protocol-parent</artifactId>
9                 <version>0.1</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>framework</artifactId>
14         <description>Common protocol framework</description>
15         <packaging>bundle</packaging>
16         <version>1.0</version>
17         <name>${project.artifactId}</name>
18         <prerequisites>
19                 <maven>3.0.4</maven>
20         </prerequisites>
21
22         <dependencies>
23                 <dependency>
24                         <groupId>com.google.guava</groupId>
25                         <artifactId>guava</artifactId>
26                         <version>${guava.version}</version>
27                 </dependency>
28                 <dependency>
29                         <groupId>org.slf4j</groupId>
30                         <artifactId>slf4j-api</artifactId>
31                         <version>${slf4j.version}</version>
32                 </dependency>
33                 <dependency>
34                         <groupId>org.opendaylight.protocol</groupId>
35                         <artifactId>util</artifactId>
36                         <version>1.0</version>
37                 </dependency>
38                 <dependency>
39                         <groupId>org.opendaylight.protocol</groupId>
40                         <artifactId>mockito-configuration</artifactId>
41                         <version>1.0</version>
42                         <scope>test</scope>
43                 </dependency>
44         </dependencies>
45
46         <build>
47                 <plugins>
48                         <plugin>
49                                 <groupId>org.apache.felix</groupId>
50                                 <artifactId>maven-bundle-plugin</artifactId>
51                                 <version>${maven.bundle.version}</version>
52                                 <extensions>true</extensions>
53                                 <configuration>
54                                         <instructions>
55                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
56                                                 <Import-Package>
57                                                         com.google.common.base,
58                                                         com.google.common.collect,
59                                                         org.opendaylight.protocol.concepts,
60                                                         org.slf4j,
61                             javax.net.ssl,
62                             org.opendaylight.protocol.util,
63                                                         javax.annotation,
64                                                         javax.management,
65                                                 </Import-Package>
66                                                 <Export-Package>
67                                                         org.opendaylight.protocol.framework,
68                                                 </Export-Package>
69                                         </instructions>
70                                 </configuration>
71                         </plugin>
72                         <plugin>
73                                 <groupId>org.apache.maven.plugins</groupId>
74                                 <artifactId>maven-checkstyle-plugin</artifactId>
75                                 <version>${checkstyle.version}</version>
76                                 <configuration>
77                                         <configLocation>build/checkstyle/checkstyle-checker-api.xml</configLocation>
78                                         <outputDirectory>${basedir}/target/checkstyle/report</outputDirectory>
79                                 </configuration>
80                         </plugin>
81                         <plugin>
82                                 <groupId>org.apache.maven.plugins</groupId>
83                                 <artifactId>maven-jar-plugin</artifactId>
84                                 <version>2.4</version>
85                                 <executions>
86                                         <execution>
87                                                 <phase>package</phase>
88                                                 <goals>
89                                                         <goal>test-jar</goal>
90                                                 </goals>
91                                         </execution>
92                                 </executions>
93                         </plugin>
94                 </plugins>
95         </build>
96
97         <distributionManagement>
98                 <site>
99                         <id>${project.artifactId}</id>
100                         <name>COMMON-PROTOCOL Module site</name>
101                         <url>${basedir}/target/site/${project.artifactId}</url>
102                 </site>
103         </distributionManagement>
104
105 </project>