Skip to content

Commit

Permalink
Rename release packages when shade profile is active
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjsix committed Aug 6, 2024
1 parent 3066ed9 commit 040dc9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion core/assembly-fat.xml → core/assembly-shaded.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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>fat</id>
<id>shaded</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
Expand Down
File renamed without changes.
19 changes: 9 additions & 10 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
Expand Down Expand Up @@ -187,7 +187,6 @@
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down Expand Up @@ -237,9 +236,9 @@
</goals>
<configuration>
<finalName>restheart</finalName>
<appendAssemblyId>true</appendAssemblyId>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly-with-deps.xml</descriptor>
<descriptor>assembly.xml</descriptor>
</descriptors>
<attach>false</attach>
<tarLongFileMode>posix</tarLongFileMode>
Expand Down Expand Up @@ -355,16 +354,16 @@
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>fat</id>
<id>shaded</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>restheart</finalName>
<appendAssemblyId>false</appendAssemblyId>
<appendAssemblyId>true</appendAssemblyId>
<descriptors>
<descriptor>assembly-fat.xml</descriptor>
<descriptor>assembly-shaded.xml</descriptor>
</descriptors>
<attach>false</attach>
<tarLongFileMode>posix</tarLongFileMode>
Expand Down Expand Up @@ -521,9 +520,9 @@
<artifactId>restheart-mongoclient-provider</artifactId>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId> <!-- required to override test dependency declared to fix karate test hanging due to conflict in GraalVM releases -->
<artifactId>js-language</artifactId>
<scope>runtime</scope>
<groupId>org.graalvm.js</groupId> <!-- required to override test dependency declared to fix karate test hanging due to conflict in GraalVM releases -->
<artifactId>js-language</artifactId>
<scope>runtime</scope>
</dependency>
<!-- uncomment to add test plugins to the native image -->
<!-- <dependency>
Expand Down

0 comments on commit 040dc9b

Please sign in to comment.