-
Notifications
You must be signed in to change notification settings - Fork 41.1k
After upgrading, deploy:deploy uploads jars to a pom only endpoint #40919
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
Comments
Are you certain that downgrading the deploy plugin took effect? I think #40727 is the most likely cause. |
I included this in my root pom:
which leads to the defined version within a generated effective pom, so I believe this is the case. But I also suspect something around that. I just can't find proof. |
My logs call me a liar. It's not effective (basically rendering the effective pom the liar 🗡️ ) Using spring-boot-parent 3.2.6 unconditionally leads to maven-deploy-plugin 3.1.2 and my settings are not effective. |
If you're using
|
Thank you, although this was already defined, it was defined at the wrong place. I placed the property and plugin management in my root pom, but it had to be in the same pom which inherited from the spring-boot-parent (I just missed that hierarchical split situation). So now we definitely know it's from this change... shall we continue this here? Can someone verify my use case as relevant for spring-boot? |
No, I don't think so. This should be reported to the maintainers of the deploy plugin so that they can investigate the apparent regression. Downgrading the deploy plugin to 3.1.1 should hopefully serve as a workaround in the meantime.
I can't see any reason why your use case isn't relevant. Spring Boot's not really involved with the deploy process. It just manages the version of the deploy plugin and, other than a jar that's deployed potentially being produced by |
Hi,
I'm having issues after upgrading from spring-boot-parent 3.2.5 to either 3.2.6 or 3.3.0.
What I'm doing is running maven to first build (a multi-module project including a parent pom module) using mvn install, then in a separate step running mvn with the explicit goals listed (to only run deploy without prior goals).
Now what's wrong? After the upgrade, it's uploading a jar built from the parent pom module as pom in the deploy:deploy step. I have no clue why that happens, but will provide a minimal project to reproduce (will take some time) and some lines from my project/logs here below. In the meantime, could you please help me identify the change leading to that behavior?
Some excerpts from my setup:
welp, and that's the beginning of a jar file instead of the expected xml. Response from artifactory, which doesn't like that at all:
I tried various maven-deploy-plugin versions (3.1.0 to 3.1.2), which didn't affect the outcome.
The text was updated successfully, but these errors were encountered: