Last active
August 22, 2022 09:23
-
-
Save hotzen/2da60295a410589078086b7f06af3fee to your computer and use it in GitHub Desktop.
include pre-supplied jar files in maven-assembly-plugin - to be used in conjunction with https://gist.github.com/hotzen/d4667f4a7109f03b008d73e60f8e41d9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> | |
<id>jar-with-system-dependencies</id> | |
<formats> | |
<format>jar</format> | |
</formats> | |
<includeBaseDirectory>false</includeBaseDirectory> | |
<dependencySets> | |
<dependencySet> | |
<outputDirectory>/</outputDirectory> | |
<useProjectArtifact>true</useProjectArtifact> | |
<unpack>true</unpack> | |
<scope>runtime</scope> | |
</dependencySet> | |
<dependencySet> | |
<outputDirectory>/</outputDirectory> | |
<unpack>true</unpack> | |
<scope>system</scope> | |
</dependencySet> | |
</dependencySets> | |
</assembly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment