Release Carbon
[unimgr.git] / dlux / cpeui / cpeui-bundle / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>cpeui</artifactId>
6         <groupId>org.opendaylight.unimgr</groupId>
7         <version>0.2.0-Carbon</version>
8     </parent>
9     <artifactId>cpeui-bundle</artifactId>
10     <packaging>bundle</packaging>
11     <!-- <name> formatting is used by autorelease to parse and notify projects on
12          build failure. Please do not modify this unless you have a good reason. -->
13     <name>ODL :: unimgr :: ${project.artifactId}</name>
14     <dependencies>
15         <dependency>
16             <groupId>org.osgi</groupId>
17             <artifactId>org.osgi.core</artifactId>
18             <version>${osgi.core.version}</version>
19         </dependency>
20         <dependency>
21             <groupId>org.osgi</groupId>
22             <artifactId>org.osgi.compendium</artifactId>
23             <version>${osgi.core.version}</version>
24         </dependency>
25         <dependency>
26             <groupId>org.apache.felix</groupId>
27             <artifactId>org.osgi.compendium</artifactId>
28             <version>${apache.felix.compendium}</version>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.dlux</groupId>
32             <artifactId>loader</artifactId>
33             <version>${dlux.loader.version}</version>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.unimgr</groupId>
37             <artifactId>cpeui-module</artifactId>
38             <version>0.2.0-Carbon</version>
39         </dependency>
40     </dependencies>
41     <build>
42         <resources>
43             <resource>
44                 <directory>target/generated-resources</directory>
45             </resource>
46             <resource>
47                 <directory>src/main/resources</directory>
48             </resource>
49         </resources>
50         <plugins>
51             <plugin>
52                 <groupId>org.apache.maven.plugins</groupId>
53                 <artifactId>maven-dependency-plugin</artifactId>
54                 <executions>
55                     <!--loader Resources-->
56                     <execution>
57                         <id>unpack-loader-resources</id>
58                         <goals>
59                             <goal>unpack-dependencies</goal>
60                         </goals>
61                         <phase>generate-resources</phase>
62                         <configuration>
63                             <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
64                             <groupId>org.opendaylight.cpeui</groupId>
65                             <includeArtifactIds>cpeui-module</includeArtifactIds>
66                             <excludes>META-INF\/**</excludes>
67                             <excludeTransitive>true</excludeTransitive>
68                             <ignorePermissions>false</ignorePermissions>
69                         </configuration>
70                     </execution>
71                 </executions>
72             </plugin>
73             <plugin>
74                 <groupId>org.apache.felix</groupId>
75                 <artifactId>maven-bundle-plugin</artifactId>
76                 <extensions>true</extensions>
77                 <configuration>
78                     <instructions>
79                         <Import-Package>org.osgi.service.http,
80                             org.osgi.framework;version="1.0.0",
81                             org.opendaylight.dlux.loader
82                         </Import-Package>
83                         <Export-Package></Export-Package>
84                     </instructions>
85                 </configuration>
86             </plugin>
87         </plugins>
88     </build>
89 </project>