You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/08/29 08:21:34 UTC
[plc4x] branch develop updated: - Updated the configuration to not
require an external artifact, but use an internal one.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 294a6ad - Updated the configuration to not require an external artifact, but use an internal one.
294a6ad is described below
commit 294a6ad5582492770e84595345eb34b8d5d7fa1f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Aug 29 10:21:28 2019 +0200
- Updated the configuration to not require an external artifact, but use an internal one.
---
plc4j/examples/hello-webapp/webapp/pom.xml | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/plc4j/examples/hello-webapp/webapp/pom.xml b/plc4j/examples/hello-webapp/webapp/pom.xml
index 28e5ad6..e09e0b1 100644
--- a/plc4j/examples/hello-webapp/webapp/pom.xml
+++ b/plc4j/examples/hello-webapp/webapp/pom.xml
@@ -61,24 +61,14 @@
<executions>
<!-- Unpack the client content into this module in order to be able to serve the client too. -->
<execution>
- <!--
- REMARK: This might fail if you don't at least build till the "package" phase.
- The reason is that in this case the dependency reference points to a directory instead of an archive.
- -->
<id>copy-client</id>
<phase>prepare-package</phase>
<goals>
- <goal>unpack</goal>
+ <goal>unpack-dependencies</goal>
</goals>
<configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.plc4x.examples</groupId>
- <artifactId>plc4j-hello-webapp-client</artifactId>
- <type>war</type>
- <outputDirectory>${project.build.outputDirectory}/static/</outputDirectory>
- </artifactItem>
- </artifactItems>
+ <includeArtifactIds>plc4j-hello-webapp-client</includeArtifactIds>
+ <outputDirectory>${project.build.outputDirectory}/static/</outputDirectory>
</configuration>
</execution>
</executions>