4101e4c2509ece822e1fb648fe44554a2f052214
[dlux.git] / bundles / general / 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     <groupId>org.opendaylight.dlux</groupId>
6     <artifactId>bundles</artifactId>
7     <version>0.3.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <groupId>org.opendaylight.dlux</groupId>
11   <artifactId>dlux.common.general</artifactId>
12   <packaging>bundle</packaging>
13   <dependencies>
14     <dependency>
15       <groupId>org.osgi</groupId>
16       <artifactId>org.osgi.core</artifactId>
17     </dependency>
18     <dependency>
19       <groupId>org.osgi</groupId>
20       <artifactId>org.osgi.compendium</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>org.apache.felix</groupId>
24       <artifactId>org.osgi.compendium</artifactId>
25       <version>${apache.felix.osgi.compendium.version}</version>
26     </dependency>
27     <dependency>
28       <groupId>org.slf4j</groupId>
29       <artifactId>jcl-over-slf4j</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.dlux</groupId>
33       <artifactId>loader</artifactId>
34       <version>${project.version}</version>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.dlux</groupId>
38       <artifactId>dlux.common.general.resources</artifactId>
39       <version>${core.resources.version}</version>
40     </dependency>
41   </dependencies>
42  <build>
43    <resources>
44       <resource>
45         <directory>target/generated-resources</directory>
46       </resource>
47       <resource>
48         <directory>src/main/resources</directory>
49       </resource>
50     </resources>
51     <plugins>
52      <plugin>
53         <groupId>org.apache.maven.plugins</groupId>
54         <artifactId>maven-dependency-plugin</artifactId>
55         <version>2.6</version>
56         <executions>
57      <!--loader Resources-->
58           <execution>
59             <id>unpack-loader-resources</id>
60             <goals>
61               <goal>unpack-dependencies</goal>
62             </goals>
63             <phase>generate-resources</phase>
64             <configuration>
65               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
66               <groupId>org.opendaylight.dlux</groupId>
67               <includeArtifactIds>dlux.common.general.resources</includeArtifactIds>
68               <excludes>META-INF\/**</excludes>
69               <excludeTransitive>true</excludeTransitive>
70               <ignorePermissions>false</ignorePermissions>
71             </configuration>
72           </execution>
73         </executions>
74       </plugin>
75       <plugin>
76         <groupId>org.apache.felix</groupId>
77         <artifactId>maven-bundle-plugin</artifactId>
78         <extensions>true</extensions>
79         <configuration>
80           <instructions>
81             <Import-Package>org.osgi.service.http,
82                             org.osgi.framework;version="1.0.0",
83                             org.opendaylight.dlux.loader,
84                             org.slf4j
85             </Import-Package>
86             <Export-Package></Export-Package>
87           </instructions>
88         </configuration>
89       </plugin>
90     </plugins>
91   </build>
92   <scm>
93     <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
94     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
95     <tag>HEAD</tag>
96     <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>
97   </scm>
98 </project>