Merge "Add eclipse nemo plugin jars for x86 and x64."
[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.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>nemo-ui</artifactId>
21   <version>1.0.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <dlux.version>0.3.0-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         <version>2.6</version>
51         <executions>
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.nemo</groupId>
61               <includeArtifactIds>nemo-ui</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>
76               org.osgi.service.http,
77               org.osgi.framework;version="1.0.0",
78               org.opendaylight.dlux.loader,
79               org.slf4j
80             </Import-Package>
81             <Export-Package></Export-Package>
82           </instructions>
83         </configuration>
84       </plugin>
85     </plugins>
86   </build>
87
88   <scm>
89     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
90     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
91     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
92     <tag>HEAD</tag>
93   </scm>
94 </project>