diff options
Diffstat (limited to 'sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/loader/impl/pom.xml')
-rw-r--r-- | sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/loader/impl/pom.xml | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/loader/impl/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/loader/impl/pom.xml new file mode 100644 index 00000000..a7892d2c --- /dev/null +++ b/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/loader/impl/pom.xml @@ -0,0 +1,198 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.opendaylight.dlux</groupId> + <artifactId>dlux-parent</artifactId> + <version>0.5.1-Carbon</version> + <relativePath>../../</relativePath> + </parent> + <artifactId>loader.implementation</artifactId> + <packaging>bundle</packaging> + <dependencies> + <dependency> + <groupId>org.opendaylight.dlux</groupId> + <artifactId>dlux-web</artifactId> + <version>${project.parent.version}</version> + </dependency> + <dependency> + <groupId>org.opendaylight.dlux</groupId> + <artifactId>loader</artifactId> + <version>${project.parent.version}</version> + </dependency> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.core</artifactId> + </dependency> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.compendium</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>${javax.servlet-api.version}</version> + </dependency> + <dependency> + <groupId>org.opendaylight.dlux</groupId> + <artifactId>dlux.loader.resources</artifactId> + <version>${loader.resources.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <resources> + <resource> + <directory>target/generated-resources</directory> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + <plugins> + <!--Clean extracted resources--> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.5</version> + <configuration> + <filesets> + <fileset> + <directory>${project.basedir}/src/main/resources/</directory> + <includes> + <include>dlux/</include> + <include>index/</include> + </includes> + <excludes></excludes> + <followSymlinks>false</followSymlinks> + </fileset> + </filesets> + </configuration> + </plugin> + <!--Copy resources from the dlux-web/build dir--> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>copy-src-resources</id> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${project.basedir}/target/generated-resources/dlux</outputDirectory> + <resources> + <resource> + <directory>${project.basedir}/../../dlux-web/build/</directory> + <includes> + <include>src/main.js</include> + <include>src/app/app.controller.js</include> + <include>src/app/app.module.js</include> + <include>src/app/routingConfig.js</include> + <include>src/common/config/env.module.js</include> + <include>vendor/**</include> + <include>assets/**</include> + </includes> + <excludes> + <exclude>assets/yang2xml/</exclude> + </excludes> + <filtering>false</filtering> + </resource> + </resources> + </configuration> + </execution> + <execution> + <id>copy-index</id> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${project.basedir}/target/generated-resources/index</outputDirectory> + <resources> + <resource> + <directory>${project.basedir}/../../dlux-web/build/</directory> + <includes> + <include>index.html</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <!-- <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>unpack-loader-resources</id> + <goals> + <goal>unpack-dependencies</goal> + </goals> + <phase>generate-resources</phase> + <configuration> + <outputDirectory>${project.build.directory}/generated-resources</outputDirectory> + <groupId>org.opendaylight.dlux</groupId> + <includeArtifactIds>dlux.loader.resources</includeArtifactIds> + <excludes>META-INF\/**</excludes> + <excludeTransitive>true</excludeTransitive> + <ignorePermissions>false</ignorePermissions> + </configuration> + </execution> + </executions> + </plugin> --> + <plugin> + + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <!-- Exclusion doesn't seem to work for the yang.xml files within the resources folders --> + <excludes>**/*</excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.4.0</version> + <extensions>true</extensions> + <configuration> + <instructions> + <Import-Package>org.osgi.framework, + org.opendaylight.dlux.loader, + org.osgi.service.http, + javax.servlet, + javax.servlet.http,* + </Import-Package> + <Export-Package>org.opendaylight.dlux.loader.implementation</Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> + <scm> + <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection> + <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection> + <tag>HEAD</tag> + <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url> + </scm> +</project> |