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
33         <!-- Testing dependencies -->
34         <dependency>
35             <groupId>junit</groupId>
36             <artifactId>junit</artifactId>
37         </dependency>
38     </dependencies>
39
40         <build>
41                 <plugins>
42                         <plugin>
43                                 <groupId>org.apache.felix</groupId>
44                                 <artifactId>maven-bundle-plugin</artifactId>
45                                 <version>${maven.bundle.version}</version>
46                                 <extensions>true</extensions>
47                                 <configuration>
48                                         <instructions>
49                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
50                                                 <Export-Package>
51                                                         org.opendaylight.protocol.util
52                                                 </Export-Package>
53                                         </instructions>
54                                 </configuration>
55                         </plugin>
56                         <plugin>
57                                 <groupId>org.apache.maven.plugins</groupId>
58                                 <artifactId>maven-jar-plugin</artifactId>
59                                 <version>2.4</version>
60                                 <executions>
61                                         <execution>
62                                                 <phase>package</phase>
63                                                 <goals>
64                                                         <goal>test-jar</goal>
65                                                 </goals>
66                                         </execution>
67                                 </executions>
68                         </plugin>
69                 </plugins>
70         </build>
71 </project>