Merge "Rework build to move the parent out"
[bgpcep.git] / util / 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.bgpcep</groupId>
8                 <artifactId>commons.parent</artifactId>
9         <version>0.3.0-SNAPSHOT</version>
10         <relativePath>../commons/parent</relativePath>
11         </parent>
12
13         <modelVersion>4.0.0</modelVersion>
14         <artifactId>util</artifactId>
15         <description>Protocol utilities</description>
16         <packaging>bundle</packaging>
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                 </dependency>
27                 <dependency>
28                         <groupId>commons-codec</groupId>
29                         <artifactId>commons-codec</artifactId>
30                         <version>${commonscodec.version}</version>
31         </dependency>
32         <dependency>
33             <groupId>org.slf4j</groupId>
34             <artifactId>slf4j-api</artifactId>
35         </dependency>
36
37         <!-- Testing dependencies -->
38         <dependency>
39             <groupId>junit</groupId>
40             <artifactId>junit</artifactId>
41         </dependency>
42     </dependencies>
43
44         <build>
45                 <plugins>
46                         <plugin>
47                                 <groupId>org.apache.felix</groupId>
48                                 <artifactId>maven-bundle-plugin</artifactId>
49                                 <version>${maven.bundle.version}</version>
50                                 <extensions>true</extensions>
51                                 <configuration>
52                                         <instructions>
53                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
54                                                 <Export-Package>
55                                                         org.opendaylight.protocol.util
56                                                 </Export-Package>
57                                         </instructions>
58                                 </configuration>
59                         </plugin>
60                         <plugin>
61                                 <groupId>org.apache.maven.plugins</groupId>
62                                 <artifactId>maven-jar-plugin</artifactId>
63                                 <version>2.4</version>
64                                 <executions>
65                                         <execution>
66                                                 <phase>package</phase>
67                                                 <goals>
68                                                         <goal>test-jar</goal>
69                                                 </goals>
70                                         </execution>
71                                 </executions>
72                         </plugin>
73                 </plugins>
74         </build>
75 </project>