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