Repository: incubator-edgent-samples Updated Branches: refs/heads/develop [created] 82e4b8076
- Added the config to make the servlet.war available to the examples in "edgent-samples-topology" Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/commit/9a0ef885 Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/tree/9a0ef885 Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/diff/9a0ef885 Branch: refs/heads/develop Commit: 9a0ef885b63a85ff6dd88a54506f3fea31639887 Parents: 6e8d3e2 Author: Christofer Dutz <christofer.d...@c-ware.de> Authored: Mon Aug 14 15:39:23 2017 +0200 Committer: Christofer Dutz <christofer.d...@c-ware.de> Committed: Mon Aug 14 15:39:23 2017 +0200 ---------------------------------------------------------------------- topology/pom.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/blob/9a0ef885/topology/pom.xml ---------------------------------------------------------------------- diff --git a/topology/pom.xml b/topology/pom.xml index 76231e2..0a2581c 100644 --- a/topology/pom.xml +++ b/topology/pom.xml @@ -32,6 +32,36 @@ <name>Apache Edgent: Samples: Topology</name> + <build> + <plugins> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.0.1</version> + <executions> + <execution> + <id>copy</id> + <phase>generate-test-resources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.edgent.console</groupId> + <artifactId>edgent-console-servlets</artifactId> + <version>${project.version}</version> + <type>war</type> + <outputDirectory>${project.build.directory}/war-resources</outputDirectory> + <destFileName>servlets.war</destFileName> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + <dependencies> <!-- parent pom has Edgent provider and SLF4J dependencies -->