Category : 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 ..

Read more

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 ..

Read more