-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring-boot-maven-plugin:2.1.0.M3 repackage doesn't work #14529
Comments
Thanks for the report, but "does not work" doesn't provide us with enough information to diagnose the problem. If you would like us to spend some time investigating, you will have to spend some time describing the problem and providing a minimal sample that reproduces it. |
Thanks for quick response. Added sample code here
temp\lib\target\lib-1.0-SNAPSHOT-exec.jar file is not getting generated, though it shows in logs. When we change the spring boot version to 2.1.0.M2 in file temp/pom.xml and run again clean package. Everything works fine and -exec jars get generated. |
Thanks. I don't think this has anything to do with Boot itself. We upgraded a number of Maven Plugins in 2.1 M3 and I suspect one of those is now catching a problem that was not being caught previously. There are a few things that aren't right with your projects:
With these problems corrected, I can build your project using Maven 3.5.4 with Spring Boot 2.0 M3. If you require any further guidance, please ask a question on Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. |
I had the same issue with 2.1.0 |
@sleroy Are you sure you have the same problem? The problem reported here was caused by some problems in @sharmasourabh's project rather than in Spring Boot and was a problem during compilation rather than repackaging. If you're looking for some help, please ask a question on Stack Overflow or come and chat on Gitter. If you believe you've found a bug, please open a new issue with a complete, minimal example of the problem you're seeing. |
Spring Boot Version: 2.1.0.M3
Tool: spring-boot-maven-plugin
Issue:
Repackage does not work. When 2.1.0.M2 version is used repackage works as expected. App uses Java Modules.
The text was updated successfully, but these errors were encountered: