Do not hard-code dependency plugin version
[nemo.git] / nemo-ui / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Huawei, Inc and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.mdsal</groupId>
14     <artifactId>binding-parent</artifactId>
15     <version>0.8.5-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>nemo-ui</artifactId>
21   <version>1.0.5-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <dlux.version>0.3.5-SNAPSHOT</dlux.version>
27   </properties>
28
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.dlux</groupId>
32       <artifactId>loader</artifactId>
33       <version>${dlux.version}</version>
34     </dependency>
35   </dependencies>
36
37   <build>
38     <resources>
39       <resource>
40         <directory>target/generated-resources</directory>
41       </resource>
42       <resource>
43         <directory>src/main/resources</directory>
44       </resource>
45     </resources>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.maven.plugins</groupId>
49         <artifactId>maven-dependency-plugin</artifactId>
50         <executions>
51           <execution>
52             <id>unpack-loader-resources</id>
53             <goals>
54               <goal>unpack-dependencies</goal>
55             </goals>
56             <phase>generate-resources</phase>
57             <configuration>
58               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
59               <groupId>org.opendaylight.nemo</groupId>
60               <includeArtifactIds>nemo-ui</includeArtifactIds>
61               <excludes>META-INF\/**</excludes>
62               <excludeTransitive>true</excludeTransitive>
63               <ignorePermissions>false</ignorePermissions>
64             </configuration>
65           </execution>
66         </executions>
67       </plugin>
68       <plugin>
69         <groupId>org.apache.felix</groupId>
70         <artifactId>maven-bundle-plugin</artifactId>
71         <extensions>true</extensions>
72         <configuration>
73           <instructions>
74             <Import-Package>
75               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
87   <scm>
88     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
89     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
90     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
91     <tag>HEAD</tag>
92   </scm>
93 </project>