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