mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
(chore) refactor build distribution
attaching the shaded standalone jars
This commit is contained in:
parent
a2915ff207
commit
c0f95f3e9d
5 changed files with 5 additions and 135 deletions
24
pom.xml
24
pom.xml
|
|
@ -184,7 +184,8 @@
|
|||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<finalName>validationtool-${project.version}-standalone</finalName>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<shadedClassifierName>standalone</shadedClassifierName>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>de.kosit.validationtool.cmd.CommandLineApplication</mainClass>
|
||||
|
|
@ -202,7 +203,8 @@
|
|||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<finalName>validationtool-${project.version}-java8-standalone</finalName>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<shadedClassifierName>java8-standalone</shadedClassifierName>
|
||||
<artifactSet>
|
||||
<excludes>
|
||||
<exclude>org.glassfish.jaxb:jaxb-runtime</exclude>
|
||||
|
|
@ -232,22 +234,6 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>standalone_dist</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/assembly-standalone.xml</descriptor>
|
||||
</descriptors>
|
||||
<attach>true</attach>
|
||||
<appendAssemblyId>true</appendAssemblyId>
|
||||
<outputDirectory>target/</outputDirectory>
|
||||
<workDirectory>target/assembly/standalone</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>full_dist</id>
|
||||
<phase>package</phase>
|
||||
|
|
@ -256,7 +242,7 @@
|
|||
</goals>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/assembly-full.xml</descriptor>
|
||||
<descriptor>src/assembly/assembly-dist.xml</descriptor>
|
||||
</descriptors>
|
||||
<attach>true</attach>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue