Questions tagged [spring-boot-maven-plugin]

Use this tag for questions related to Spring Boot Maven Plugin that allows to package executable jar or war archives and run an application “in-place”.

Maven plugin provided by the Spring Boot framework that allows you to package executable jar or war archives and run an application “in-place”.

525 questions
0
votes
1 answer

multimodule dependency management issue in spring boot

I am having a problem with spring boot multimodule jar deployment I have 3 components like below. Parent --Child1 --Child2 Child2 has dependency of child1 But when i take jar child1 classes are not present in the jar. I am getting…
Selva
  • 1,620
  • 3
  • 33
  • 63
0
votes
0 answers

control is not coming to view i. JSP /HTML in Spring boot

I am new in Spring boot. I have created a Spring boot project(Spring MVC + JDBC) from Spring initializer https://start.spring.io/. My MVC controller is working fine i.e the control is coming to the controller. From the controller, the control is not…
0
votes
1 answer

maven transitive dependency wrong version

I deployed a jar A with the following dependency: io.projectreactor reactor-core 3.3.1.RELEASE I have another project B and project C both with…
ysfseu
  • 666
  • 1
  • 10
  • 20
0
votes
0 answers

How can I configure Maven not to add version info to library names in executable jar file?

I am developing a software using Spring Framework. I use some external libraries and add them to the jar by declaring them in the pom.xml file as system scope dependencies. When spring-boot-maven-plugin add them into the executable jar, it changes…
0
votes
1 answer

Why do I need to add Spring Boot plugin but I don't need to add install plugin in Maven pom.xml?

I'm learning about Maven and I want to ask you why do I need to add the Spring Boot Maven plugin in the pom.xml if I want to run it? org.springframework.boot
elvis
  • 956
  • 9
  • 33
  • 56
0
votes
0 answers

Make Springboot Application into a maven plugin

Is it possible to make a custom maven plugin out of a springboot application? I have a springboot service that I would like to autowire into my maven plugin Mojo class? My maven plugin is a separate project and I have added the springboot project…
0
votes
1 answer

Spring Boot Maven Plugin - What does the "attach" setting do?

The Spring Boot Maven Plugin has a boolean property called "attach", documented here. I've read the documentation, but I don't understand the documentation. Would anyone be willing to explain this to me? When this property is set to "true", what…
Mathew Alden
  • 1,458
  • 2
  • 15
  • 34
0
votes
1 answer

How to use inlinedConfScript to configure JAVA_OPTS with maven?

I have tried to configure it like this but there will be an exception! org.springframework.boot spring-boot-maven-plugin
0
votes
1 answer

How to replace Spring Boot 1.4/1.5 main-class in MANIFEST.MF to package and use my custom JarLauncher class

I want to extend the org.springframework.boot.loader.JarLauncher to add my specialization. How can I replace the attribute Main-Class in MANIFEST.MF from: Manifest-Version: 1.0 Implementation-Title: my-project Implementation-Version:…
Beto Neto
  • 3,962
  • 7
  • 47
  • 81
0
votes
0 answers

Wildfly server 10 Memory leak on deployment or undeployment

I am using wildfly server 10 as well as wildfly server 17. I am facing the memory leak issue multiple times when I am deploying and undeploying the applications. My server is install on Ubuntu 18.04 with 4 GB Memory / 80 GB Disk / BLR1 - Ubuntu…
0
votes
2 answers

Spring-boot : Problem deploying WAR file in Tomcat 7

All, I built a sample app using spring-boot, maven and it worked fine in my IDE using mvn spring-boot:run. But, when I attempt to deploy the app as a WAR(mvn clean install) in Tomcat 7 I get the following error. Please help me find the reason for…
Thulasi
  • 126
  • 3
  • 19
0
votes
1 answer

Cant reach end-points when running docker image

I'm following a guide on how to dockerize a maven springboot server and I can run the docker image succesfully using "winpty docker run -it -p 9999:8080 springio/spring-docker-template" but I can't access any of its endpoints. Even though the output…
Tiago Redaelli
  • 560
  • 5
  • 17
0
votes
0 answers

How to add external jars in/with Maven WITHOUT installing locally

Currently the way I'm referencing my Jars through my Spring Boot application is by using Maven dependency manager with a system path. example1.1 example1.1
0
votes
0 answers

Want to print properties loaded during spring boot application startup

Can Anyone explain me what is happening in the below code? What is the use of MapPropertySource? What other options instead of MapPropertySource source and applicationConfig? Why are we filtering in foreach? public void…
Hari
  • 89
  • 1
  • 2
  • 9
0
votes
1 answer

Configure resources differently for each profile in spring-boot

I need to set up my spring-boot project in a way that if you start it with the profile 'local', no 'external' .properties files (placed in the same directory as the jar) are accepted. When starting the jar with any other profile though, they should…
Medwe
  • 318
  • 1
  • 12