I’m built a small spring boot MQTT application I am going to run on a raspberry pi. I’ve pulled the generated image, however it is failing on the pi since docker images are generally built fr x64. Is there a way with the spring boot plugin to specify the architecture where the docker buildx will ..
Tag : maven-plugin
I am using spring-boot-maven-plugin to build a docker image from my app with this command: spring-boot::build-image And I need to change default size of jvm direct memory (default is 10m) with this jvm argument: -XX:MaxDirectMemorySize=64M and this is my desperate attempt to do that in pom.xml of app where I was trying everything what came ..
I’m trying to create a executable jar file for a existing maven project through command line. I know maven-jar-plugin can do this by adding plugin to pom.xml but we prefer not to add plugin. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>app-export-promotion-client${app.version}/lib/</classpathPrefix> <mainClass>com.app.setup_promotion.server.manager.PromotionExportManager</mainClass> </manifest> </archive> </configuration> </plugin> But here we are trying to achieve ..
I was trying to build the docker image for a project I’m working onto. It’s based on jhipster, after configuring the project it tells me to run the following maven command: ./mvnw -ntp -Pprod verify jib:dockerBuild Unfortunately it doesn’t seem to work, it returns me this errors: [WARNING] The credential helper (docker-credential-pass) has nothing for ..