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