87ebbd3c974c0030a1825ba64bb27a279d623a6b
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / odlChat / odlChat-bundle / 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"
3  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4  <modelVersion>4.0.0</modelVersion>
5  <parent>
6   <artifactId>odlChat</artifactId>
7   <groupId>com.highstreet.technologies.odl.dlux</groupId>
8   <version>0.5.1-SNAPSHOT</version>
9  </parent>
10  <artifactId>odlChat-bundle</artifactId>
11  <name>${prefix} ${project.artifactId}</name>
12  <packaging>bundle</packaging>
13  <dependencies>
14   <dependency>
15    <groupId>org.osgi</groupId>
16    <artifactId>org.osgi.core</artifactId>
17    <version>${osgi.core.version}</version>
18   </dependency>
19   <dependency>
20    <groupId>org.osgi</groupId>
21    <artifactId>org.osgi.compendium</artifactId>
22    <version>${osgi.core.version}</version>
23   </dependency>
24   <dependency>
25    <groupId>org.apache.felix</groupId>
26    <artifactId>org.osgi.compendium</artifactId>
27    <version>${apache.felix.compendium}</version>
28   </dependency>
29   <dependency>
30    <groupId>org.opendaylight.dlux</groupId>
31    <artifactId>loader</artifactId>
32    <version>${dlux.loader.version}</version>
33   </dependency>
34   <dependency>
35    <groupId>com.highstreet.technologies.odl.dlux</groupId>
36    <artifactId>odlChat-module</artifactId>
37    <version>0.5.1-SNAPSHOT</version>
38   </dependency>
39  </dependencies>
40  <build>
41   <resources>
42    <resource>
43     <directory>target/generated-resources</directory>
44    </resource>
45    <resource>
46     <directory>src/main/resources</directory>
47    </resource>
48   </resources>
49   <plugins>
50    <plugin>
51     <groupId>org.apache.maven.plugins</groupId>
52     <artifactId>maven-dependency-plugin</artifactId>
53     <version>2.6</version>
54     <executions>
55      <!--loader Resources -->
56      <execution>
57       <id>unpack-loader-resources</id>
58       <goals>
59        <goal>unpack-dependencies</goal>
60       </goals>
61       <phase>generate-resources</phase>
62       <configuration>
63        <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
64        <groupId>com.highstreet.technologies.odl.dlux</groupId>
65        <includeArtifactIds>odlChat-module</includeArtifactIds>
66        <excludes>META-INF\/**</excludes>
67        <excludeTransitive>true</excludeTransitive>
68        <ignorePermissions>false</ignorePermissions>
69       </configuration>
70      </execution>
71     </executions>
72    </plugin>
73    <plugin>
74     <groupId>org.apache.felix</groupId>
75     <artifactId>maven-bundle-plugin</artifactId>
76     <extensions>true</extensions>
77     <configuration>
78      <instructions>
79       <Import-Package>org.osgi.service.http,
80        org.osgi.framework;version="1.0.0",
81        org.opendaylight.dlux.loader
82       </Import-Package>
83       <Export-Package></Export-Package>
84      </instructions>
85     </configuration>
86    </plugin>
87
88    <!-- <plugin>
89     <artifactId>maven-resources-plugin</artifactId>
90     <version>3.0.1</version>
91     <executions>
92      <execution>
93       <id>copy-resources</id>
94       <!- - here the phase you need - ->
95       <phase>package</phase>
96       <goals>
97        <goal>copy-resources</goal>
98       </goals>
99       <configuration>
100        <outputDirectory>../../deploy</outputDirectory>
101        <resources>
102         <resource>
103          <directory>target</directory>
104          <includes>
105           <include>${project.artifactId}-${project.version}.jar</include>
106          </includes>
107          <filtering>true</filtering>
108         </resource>
109        </resources>
110       </configuration>
111      </execution>
112     </executions>
113    </plugin> -->
114   </plugins>
115  </build>
116 </project>