Skip to content

Commit d8db26b

Browse files
authored
[SERV-994] Fix release build with workaround (#61)
1 parent a7ef76e commit d8db26b

File tree

2 files changed

+2
-50
lines changed

2 files changed

+2
-50
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
maven_args: >
4444
-Drevision=${{ github.event.release.tag_name }}
4545
-ntp -Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=error -Ddocker.showLogs=true
46-
-DskipNexusStagingDeployMojo=true -DautoReleaseAfterClose=false -Dgpg.skip=true
46+
-DskipNexusStagingDeployMojo=true -DautoReleaseAfterClose=false -Dgpg.skip=true -DskipTests
4747
-Ddocker.registry.username=${{ secrets.DOCKER_USERNAME }}
4848
-Ddocker.registry.account=${{ secrets.DOCKER_REGISTRY_ACCOUNT}}
4949
-Ddocker.registry.password=${{ secrets.DOCKER_PASSWORD }}

pom.xml

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@
624624
<goal>push</goal>
625625
</goals>
626626
<configuration>
627+
<filter>hauth</filter>
627628
<images>
628629
<image>
629630
<!-- Registry account, if supplied, must end in a slash (e.g. "account/") -->
@@ -726,17 +727,6 @@
726727
</args>
727728
</configuration>
728729
</execution>
729-
<execution>
730-
<id>snyk-monitor</id>
731-
<goals>
732-
<goal>monitor</goal>
733-
</goals>
734-
<configuration>
735-
<args>
736-
<arg>--org=${env.UCLALIBRARY_SNYK_ORG}</arg>
737-
</args>
738-
</configuration>
739-
</execution>
740730
</executions>
741731
</plugin>
742732
</plugins>
@@ -773,44 +763,6 @@
773763
</build>
774764
</profile>
775765

776-
<!-- A profile to use to do a native compile using GraalVM's native-image -->
777-
<profile>
778-
<id>native-compile</id>
779-
<build>
780-
<plugins>
781-
<!-- This packages the code so the native-image plugin can access it -->
782-
<plugin>
783-
<artifactId>maven-jar-plugin</artifactId>
784-
<version>${jar.plugin.version}</version>
785-
</plugin>
786-
<!-- This creates a native binary from the packaged jar and its dependencies -->
787-
<plugin>
788-
<groupId>org.graalvm.nativeimage</groupId>
789-
<artifactId>native-image-maven-plugin</artifactId>
790-
<version>${graalvm.version}</version>
791-
<executions>
792-
<execution>
793-
<goals>
794-
<goal>native-image</goal>
795-
</goals>
796-
</execution>
797-
</executions>
798-
<configuration>
799-
<imageName>${project.artifactId}</imageName>
800-
<mainClass>io.vertx.core.Launcher</mainClass>
801-
<buildArgs>
802-
<buildArg>--static</buildArg>
803-
<buildArg>--libc=musl</buildArg>
804-
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
805-
<buildArg>-H:+PrintClassInitialization</buildArg>
806-
<buildArg>-H:TraceClassInitialization=com.sun.org.apache.xerces.internal.impl.XMLEntityScanner,io.netty.channel.socket.InternetProtocolFamily</buildArg>
807-
</buildArgs>
808-
</configuration>
809-
</plugin>
810-
</plugins>
811-
</build>
812-
</profile>
813-
814766
<profile>
815767
<id>linux-os</id>
816768
<activation>

0 commit comments

Comments
 (0)