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>1.0.0-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>
44 <groupId>org.opendaylight.dlux</groupId>
45 <artifactId>dlux.loader.resources</artifactId>
46 <version>${loader.resources.version}</version>
49 <groupId>junit</groupId>
50 <artifactId>junit</artifactId>
54 <groupId>org.slf4j</groupId>
55 <artifactId>slf4j-simple</artifactId>
62 <directory>target/generated-resources</directory>
65 <directory>src/main/resources</directory>
69 <!--Clean extracted resources-->
71 <artifactId>maven-clean-plugin</artifactId>
75 <directory>${project.basedir}/src/main/resources/</directory>
77 <include>dlux/</include>
78 <include>index/</include>
81 <followSymlinks>false</followSymlinks>
86 <!--Copy resources from the dlux-web/build dir-->
88 <artifactId>maven-resources-plugin</artifactId>
91 <id>copy-src-resources</id>
92 <phase>validate</phase>
94 <goal>copy-resources</goal>
97 <outputDirectory>${project.basedir}/target/generated-resources/dlux</outputDirectory>
100 <directory>${project.basedir}/../../dlux-web/build/</directory>
102 <include>src/main.js</include>
103 <include>src/app/app.controller.js</include>
104 <include>src/app/app.module.js</include>
105 <include>src/app/routingConfig.js</include>
106 <include>src/common/config/env.module.js</include>
107 <include>vendor/**</include>
108 <include>assets/**</include>
111 <exclude>assets/yang2xml/</exclude>
113 <filtering>false</filtering>
120 <phase>validate</phase>
122 <goal>copy-resources</goal>
125 <outputDirectory>${project.basedir}/target/generated-resources/index</outputDirectory>
128 <directory>${project.basedir}/../../dlux-web/build/</directory>
130 <include>index.html</include>
132 <filtering>false</filtering>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-dependency-plugin</artifactId>
142 <version>2.6</version>
145 <id>unpack-loader-resources</id>
147 <goal>unpack-dependencies</goal>
149 <phase>generate-resources</phase>
151 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
152 <groupId>org.opendaylight.dlux</groupId>
153 <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
154 <excludes>META-INF\/**</excludes>
155 <excludeTransitive>true</excludeTransitive>
156 <ignorePermissions>false</ignorePermissions>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-checkstyle-plugin</artifactId>
165 <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders -->
166 <excludes>**/*</excludes>
170 <groupId>org.apache.felix</groupId>
171 <artifactId>maven-bundle-plugin</artifactId>
172 <extensions>true</extensions>
175 <Import-Package>org.osgi.framework,
176 org.opendaylight.dlux.loader,
177 org.osgi.service.http,
181 <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package>
185 <!-- Disable offline link detection which breaks the build here -->
187 <artifactId>maven-javadoc-plugin</artifactId>
189 <detectOfflineLinks>false</detectOfflineLinks>
195 <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
196 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
198 <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>