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>
51 <!--Clean extracted resources-->
53 <artifactId>maven-clean-plugin</artifactId>
54 <version>2.5</version>
58 <directory>${project.basedir}/src/main/resources/</directory>
60 <include>dlux/</include>
61 <include>index/</include>
64 <followSymlinks>false</followSymlinks>
69 <!--Copy resources from the dlux-web/build dir-->
71 <artifactId>maven-resources-plugin</artifactId>
72 <version>2.6</version>
75 <id>copy-src-resources</id>
76 <phase>validate</phase>
78 <goal>copy-resources</goal>
81 <outputDirectory>${project.basedir}/src/main/resources/dlux</outputDirectory>
84 <directory>${project.basedir}/../../dlux-web/build/</directory>
86 <include>src/main.js</include>
87 <include>src/app/app.controller.js</include>
88 <include>src/app/app.module.js</include>
89 <include>src/app/app.routingConfig.js</include>
90 <include>vendor/**</include>
91 <include>assets/**</include>
94 <exclude>assets/yang2xml/</exclude>
96 <filtering>false</filtering>
103 <phase>validate</phase>
105 <goal>copy-resources</goal>
108 <outputDirectory>${project.basedir}/src/main/resources/index</outputDirectory>
111 <directory>${project.basedir}/../../dlux-web/build/</directory>
113 <include>index.html</include>
115 <filtering>false</filtering>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-dependency-plugin</artifactId>
125 <version>2.6</version>
127 <!--loader Resources-->
129 <id>unpack-loader-resources</id>
131 <goal>unpack-dependencies</goal>
133 <phase>generate-resources</phase>
135 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
136 <groupId>org.opendaylight.dlux</groupId>
137 <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
138 <excludes>META-INF\/**</excludes>
139 <excludeTransitive>true</excludeTransitive>
140 <ignorePermissions>false</ignorePermissions>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-checkstyle-plugin</artifactId>
150 <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders -->
151 <excludes>**/*</excludes>
155 <groupId>org.apache.felix</groupId>
156 <artifactId>maven-bundle-plugin</artifactId>
157 <extensions>true</extensions>
160 <Import-Package>org.osgi.framework,
161 org.opendaylight.dlux.loader,
162 org.opendaylight.dlux.loader.implementation,
163 org.osgi.service.http,
167 <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package>
174 <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
175 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
177 <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>