Skip to content

Commit bf600ea

Browse files
EvgenyB1001ars18wrw
authored andcommitted
Rework maven descriptor to make rups jar correct
1 parent 769611b commit bf600ea

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@
133133
<goal>single</goal>
134134
</goals>
135135
<configuration>
136-
<descriptorRefs>
137-
<descriptorRef>jar-with-dependencies</descriptorRef>
138-
</descriptorRefs>
136+
<descriptors>
137+
<descriptor>src/assembly/jar-with-dependencies-excluded-poms.xml</descriptor>
138+
</descriptors>
139139
<appendAssemblyId>false</appendAssemblyId>
140140
<archive>
141141
<manifest>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
4+
<id>jar-with-dependencies-excluded-poms</id>
5+
<formats>
6+
<format>jar</format>
7+
</formats>
8+
<includeBaseDirectory>false</includeBaseDirectory>
9+
<dependencySets>
10+
<dependencySet>
11+
<unpackOptions>
12+
<excludes>
13+
<exclude>**/io/pom.xml</exclude>
14+
<exclude>**/io/pom.properties</exclude>
15+
<exclude>**/kernel/pom.xml</exclude>
16+
<exclude>**/kernel/pom.properties</exclude>
17+
<exclude>**/logback-classic/pom.xml</exclude>
18+
<exclude>**/logback-classic/pom.properties</exclude>
19+
<exclude>**/logback-core/pom.xml</exclude>
20+
<exclude>**/logback-core/pom.properties</exclude>
21+
<exclude>**/slf4j-api/pom.xml</exclude>
22+
<exclude>**/slf4j-api/pom.properties</exclude>
23+
</excludes>
24+
</unpackOptions>
25+
<outputDirectory>/</outputDirectory>
26+
<useProjectArtifact>true</useProjectArtifact>
27+
<unpack>true</unpack>
28+
<scope>runtime</scope>
29+
</dependencySet>
30+
</dependencySets>
31+
</assembly>

0 commit comments

Comments
 (0)