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 13:26:23 UTC
[plc4x] 02/03: - Made sure the *.RSA and *.SF files are excluded in
the elasticsearch example
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
commit c7b93f5663dc7ebe01fa77a48deea6f5a7841614
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Aug 29 15:25:37 2019 +0200
- Made sure the *.RSA and *.SF files are excluded in the elasticsearch example
---
plc4j/examples/hello-storage-elasticsearch/pom.xml | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/plc4j/examples/hello-storage-elasticsearch/pom.xml b/plc4j/examples/hello-storage-elasticsearch/pom.xml
index a0df236..14ee733 100644
--- a/plc4j/examples/hello-storage-elasticsearch/pom.xml
+++ b/plc4j/examples/hello-storage-elasticsearch/pom.xml
@@ -110,6 +110,32 @@
<build>
<plugins>
+ <!-- Filter out some resources -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.1</version>
+ <executions>
+ <execution>
+ <id>generate-uber-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration combine.children="append">
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.RSA</exclude>
+ <exclude>META-INF/*.SF</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>