Simplify bundle plugin configuration
[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                                 <extensions>true</extensions>
50                                 <configuration>
51                                         <instructions>
52                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
53                                         </instructions>
54                                 </configuration>
55                         </plugin>
56                         <plugin>
57                                 <groupId>org.apache.maven.plugins</groupId>
58                                 <artifactId>maven-jar-plugin</artifactId>
59                                 <executions>
60                                         <execution>
61                                                 <phase>package</phase>
62                                                 <goals>
63                                                         <goal>test-jar</goal>
64                                                 </goals>
65                                         </execution>
66                                 </executions>
67                         </plugin>
68                 </plugins>
69         </build>
70 </project>