mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[pipertts] Fix dependency unpack on Windows (#20362)
Override inherited maven-dependency-plugin execution `embed-dependencies` to exclude native platform folders during unpack: - **/win-*/** - **/debian-*/** - **/macos-*/** This prevents unpacking macOS symlink entries that fail on Windows due to missing symlink privileges. The resulting jar should not affected, as those are excluded from packaging anyway. Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -24,6 +24,18 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>embed-dependencies</id>
|
||||
<configuration>
|
||||
<excludes>**/win-*/**,**/debian-*/**,**/macos-*/**</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user