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>
5 <groupId>org.opendaylight.dlux</groupId>
6 <artifactId>dlux-parent</artifactId>
7 <version>0.1.0-SNAPSHOT</version>
8 <relativePath>../../</relativePath>
10 <artifactId>loader.implementation</artifactId>
11 <version>1.0.0-SNAPSHOT</version>
12 <packaging>bundle</packaging>
15 <groupId>org.opendaylight.dlux</groupId>
16 <artifactId>loader</artifactId>
17 <version>1.0.0-SNAPSHOT</version>
20 <groupId>org.osgi</groupId>
21 <artifactId>org.osgi.core</artifactId>
22 <version>4.3.0</version>
25 <groupId>org.osgi</groupId>
26 <artifactId>org.osgi.compendium</artifactId>
27 <version>4.3.0</version>
30 <groupId>org.slf4j</groupId>
31 <artifactId>slf4j-api</artifactId>
34 <groupId>javax.servlet</groupId>
35 <artifactId>javax.servlet-api</artifactId>
36 <version>3.0.1</version>
39 <groupId>org.opendaylight.dlux</groupId>
40 <artifactId>dlux.loader.resources</artifactId>
41 <version>${loader.resources.version}</version>
47 <directory>target/generated-resources</directory>
50 <directory>src/main/resources</directory>
54 <!--Clean extracted resources-->
56 <artifactId>maven-clean-plugin</artifactId>
57 <version>2.5</version>
61 <directory>${project.basedir}/src/main/resources/</directory>
63 <include>dlux/</include>
64 <include>index/</include>
67 <followSymlinks>false</followSymlinks>
72 <!--Copy resources from the dlux-web/build dir-->
74 <artifactId>maven-resources-plugin</artifactId>
75 <version>2.6</version>
78 <id>copy-src-resources</id>
79 <phase>validate</phase>
81 <goal>copy-resources</goal>
84 <outputDirectory>${project.basedir}/src/main/resources/dlux</outputDirectory>
87 <directory>${project.basedir}/../../dlux-web/build/</directory>
89 <include>src/main.js</include>
90 <include>src/app/app.controller.js</include>
91 <include>src/app/app.module.js</include>
92 <include>src/app/app.routingConfig.js</include>
93 <include>vendor/**</include>
94 <include>assets/**</include>
97 <exclude>assets/yang2xml/</exclude>
99 <filtering>false</filtering>
106 <phase>validate</phase>
108 <goal>copy-resources</goal>
111 <outputDirectory>${project.basedir}/src/main/resources/index</outputDirectory>
114 <directory>${project.basedir}/../../dlux-web/build/</directory>
116 <include>index.html</include>
118 <filtering>false</filtering>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-dependency-plugin</artifactId>
128 <version>2.6</version>
130 <!--loader Resources-->
132 <id>unpack-loader-resources</id>
134 <goal>unpack-dependencies</goal>
136 <phase>generate-resources</phase>
138 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
139 <groupId>org.opendaylight.dlux</groupId>
140 <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
141 <excludes>META-INF\/**</excludes>
142 <excludeTransitive>true</excludeTransitive>
143 <ignorePermissions>false</ignorePermissions>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-checkstyle-plugin</artifactId>
153 <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders -->
154 <excludes>**/*</excludes>
158 <groupId>org.apache.felix</groupId>
159 <artifactId>maven-bundle-plugin</artifactId>
160 <version>2.4.0</version>
161 <extensions>true</extensions>
164 <Import-Package>org.osgi.framework,
165 org.opendaylight.dlux.loader,
166 org.opendaylight.dlux.loader.implementation,
167 org.osgi.service.http,
171 <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package>
178 <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
179 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
181 <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>