-
Notifications
You must be signed in to change notification settings - Fork 1
Maven
HOA PHAN edited this page Oct 4, 2023
·
5 revisions
mvn dependency:get -DartifactId=spring-boot-dependencies -DgroupId=org.springframework.boot -Dversion=2.13.3
mvn dependency:purge-local-repository
export MAVEN_OPTS="-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.compiler=DEBUG -Dorg.slf4j.simpleLogger.defaultLogLevel=INFO"
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<from>
<image>xxxxx</image>
</from>
<container>
<jvmFlags>
<!--
To see available options, in the pod do:
java -XX:+PrintFlagsFinal -version
-->
<jvmFlag>-Dfile.encoding=UTF-8</jvmFlag>
<jvmFlag>-XX:+UseContainerSupport</jvmFlag>
<jvmFlag>-XX:MaxRAMPercentage=80.0</jvmFlag>
<jvmFlag>-XX:InitialRAMPercentage=80.0</jvmFlag>
<jvmFlag>-Dhibernate.types.print.banner=false</jvmFlag>
<jvmFlag>-Duser.timezone=Australia/Sydney</jvmFlag>
<jvmFlag>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote.port=9999</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote.rmi.port=9999</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote.authenticate=false</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote.ssl=false</jvmFlag>
<jvmFlag>-Dcom.sun.management.jmxremote.local.only=false</jvmFlag>
<jvmFlag>-Djava.rmi.server.hostname=127.0.0.1</jvmFlag>
<jvmFlag>-Dconductor.worker.pollInterval=10000</jvmFlag>
<jvmFlag>-Dconductor.worker.pollCount=10</jvmFlag>
</jvmFlags>
</container>
</configuration>
</plugin>