Skip to content

Commit

Permalink
Merge pull request #86 from abes-esr/FIX_log4j_jar
Browse files Browse the repository at this point in the history
FIX_log4j_jar :
  • Loading branch information
pierre-maraval authored Feb 20, 2024
2 parents 3702e57 + b1acf9e commit 27e9fb2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@
<mainClass>fr.abes.kbart2kafka.Kbart2kafkaApplication</mainClass>
</manifest>
</archive>
<descriptors>
<descriptor>src/assembly/dep.xml</descriptor>
</descriptors>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
Expand All @@ -248,9 +251,6 @@
<include>**/*.sql</include>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/Log4j2Plugins.dat</exclude>
</excludes>
</resource>
</resources>
<pluginManagement>
Expand Down
18 changes: 18 additions & 0 deletions src/assembly/dep.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>dep</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>**/Log4j2Plugins.dat</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 27e9fb2

Please sign in to comment.