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 <packaging>bundle</packaging>
14 <groupId>org.opendaylight.dlux</groupId>
15 <artifactId>loader</artifactId>
16 <version>0.1.0-SNAPSHOT</version>
19 <groupId>org.osgi</groupId>
20 <artifactId>org.osgi.core</artifactId>
21 <version>4.3.0</version>
24 <groupId>org.osgi</groupId>
25 <artifactId>org.osgi.compendium</artifactId>
26 <version>4.3.0</version>
29 <groupId>org.slf4j</groupId>
30 <artifactId>slf4j-api</artifactId>
33 <groupId>javax.servlet</groupId>
34 <artifactId>javax.servlet-api</artifactId>
35 <version>3.0.1</version>
38 <groupId>org.opendaylight.dlux</groupId>
39 <artifactId>dlux.loader.resources</artifactId>
40 <version>${loader.resources.version}</version>
46 <directory>target/generated-resources</directory>
49 <directory>src/main/resources</directory>
53 <!--Clean extracted resources-->
55 <artifactId>maven-clean-plugin</artifactId>
56 <version>2.5</version>
60 <directory>${project.basedir}/src/main/resources/</directory>
62 <include>dlux/</include>
63 <include>index/</include>
66 <followSymlinks>false</followSymlinks>
71 <!--Copy resources from the dlux-web/build dir-->
73 <artifactId>maven-resources-plugin</artifactId>
74 <version>2.6</version>
77 <id>copy-src-resources</id>
78 <phase>validate</phase>
80 <goal>copy-resources</goal>
83 <outputDirectory>${project.basedir}/src/main/resources/dlux</outputDirectory>
86 <directory>${project.basedir}/../../dlux-web/build/</directory>
88 <include>src/main.js</include>
89 <include>src/app/app.controller.js</include>
90 <include>src/app/app.module.js</include>
91 <include>src/app/app.routingConfig.js</include>
92 <include>vendor/**</include>
93 <include>assets/**</include>
96 <exclude>assets/yang2xml/</exclude>
98 <filtering>false</filtering>
105 <phase>validate</phase>
107 <goal>copy-resources</goal>
110 <outputDirectory>${project.basedir}/src/main/resources/index</outputDirectory>
113 <directory>${project.basedir}/../../dlux-web/build/</directory>
115 <include>index.html</include>
117 <filtering>false</filtering>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-dependency-plugin</artifactId>
127 <version>2.6</version>
129 <!--loader Resources-->
131 <id>unpack-loader-resources</id>
133 <goal>unpack-dependencies</goal>
135 <phase>generate-resources</phase>
137 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
138 <groupId>org.opendaylight.dlux</groupId>
139 <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
140 <excludes>META-INF\/**</excludes>
141 <excludeTransitive>true</excludeTransitive>
142 <ignorePermissions>false</ignorePermissions>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-checkstyle-plugin</artifactId>
152 <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders -->
153 <excludes>**/*</excludes>
157 <groupId>org.apache.felix</groupId>
158 <artifactId>maven-bundle-plugin</artifactId>
159 <version>2.4.0</version>
160 <extensions>true</extensions>
163 <Import-Package>org.osgi.framework,
164 org.opendaylight.dlux.loader,
165 org.opendaylight.dlux.loader.implementation,
166 org.osgi.service.http,
170 <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package>
177 <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
178 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
180 <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>