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.5.4-SNAPSHOT</version>
8 <relativePath>../../</relativePath>
10 <artifactId>loader.implementation</artifactId>
11 <packaging>bundle</packaging>
14 <groupId>org.opendaylight.dlux</groupId>
15 <artifactId>dlux-web</artifactId>
16 <version>${project.parent.version}</version>
19 <groupId>org.opendaylight.dlux</groupId>
20 <artifactId>loader</artifactId>
21 <version>${project.parent.version}</version>
24 <groupId>org.osgi</groupId>
25 <artifactId>org.osgi.core</artifactId>
28 <groupId>org.osgi</groupId>
29 <artifactId>org.osgi.compendium</artifactId>
32 <groupId>org.slf4j</groupId>
33 <artifactId>slf4j-api</artifactId>
36 <groupId>com.google.guava</groupId>
37 <artifactId>guava</artifactId>
40 <groupId>javax.servlet</groupId>
41 <artifactId>javax.servlet-api</artifactId>
42 <version>${javax.servlet-api.version}</version>
45 <groupId>org.opendaylight.dlux</groupId>
46 <artifactId>dlux.loader.resources</artifactId>
47 <version>${loader.resources.version}</version>
50 <groupId>junit</groupId>
51 <artifactId>junit</artifactId>
55 <groupId>org.slf4j</groupId>
56 <artifactId>slf4j-simple</artifactId>
63 <directory>target/generated-resources</directory>
66 <directory>src/main/resources</directory>
70 <!--Clean extracted resources-->
72 <artifactId>maven-clean-plugin</artifactId>
73 <version>2.5</version>
77 <directory>${project.basedir}/src/main/resources/</directory>
79 <include>dlux/</include>
80 <include>index/</include>
83 <followSymlinks>false</followSymlinks>
88 <!--Copy resources from the dlux-web/build dir-->
90 <artifactId>maven-resources-plugin</artifactId>
91 <version>2.6</version>
94 <id>copy-src-resources</id>
95 <phase>validate</phase>
97 <goal>copy-resources</goal>
100 <outputDirectory>${project.basedir}/target/generated-resources/dlux</outputDirectory>
103 <directory>${project.basedir}/../../dlux-web/build/</directory>
105 <include>src/main.js</include>
106 <include>src/app/app.controller.js</include>
107 <include>src/app/app.module.js</include>
108 <include>src/app/routingConfig.js</include>
109 <include>src/common/config/env.module.js</include>
110 <include>vendor/**</include>
111 <include>assets/**</include>
114 <exclude>assets/yang2xml/</exclude>
116 <filtering>false</filtering>
123 <phase>validate</phase>
125 <goal>copy-resources</goal>
128 <outputDirectory>${project.basedir}/target/generated-resources/index</outputDirectory>
131 <directory>${project.basedir}/../../dlux-web/build/</directory>
133 <include>index.html</include>
135 <filtering>false</filtering>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-dependency-plugin</artifactId>
145 <version>2.6</version>
148 <id>unpack-loader-resources</id>
150 <goal>unpack-dependencies</goal>
152 <phase>generate-resources</phase>
154 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
155 <groupId>org.opendaylight.dlux</groupId>
156 <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
157 <excludes>META-INF\/**</excludes>
158 <excludeTransitive>true</excludeTransitive>
159 <ignorePermissions>false</ignorePermissions>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-checkstyle-plugin</artifactId>
169 <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders -->
170 <excludes>**/*</excludes>
174 <groupId>org.apache.felix</groupId>
175 <artifactId>maven-bundle-plugin</artifactId>
176 <version>2.4.0</version>
177 <extensions>true</extensions>
180 <Import-Package>org.osgi.framework,
181 org.opendaylight.dlux.loader,
182 org.osgi.service.http,
186 <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package>
193 <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
194 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
196 <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>