-
Notifications
You must be signed in to change notification settings - Fork 358
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
Failure with Maven CI friendly versioning; unresolved placeholder in download URL #3022
Comments
Btw, I can see |
@famod Thanks for the report! It looks like OpenRewrite is having issues with the Maven CI friendly version properties in the parent |
Sure, but that's the thing: there is no difference!
<parent>
<groupId>somecompany.someproject</groupId>
<artifactId>register-archive-parent</artifactId>
<version>${revision}.${changelist}${sha1}</version>
</parent>
<artifactId>register-archive-shared</artifactId>
<parent>
<groupId>somecompany.someproject</groupId>
<artifactId>register-parent</artifactId>
<version>${revision}.${changelist}${sha1}</version>
</parent>
<artifactId>register-server</artifactId> Maybe related, maybe not: the failing |
|
From the root.
No, there is also this chain: The other chain is: To give more context: What might be relevant is that we list most modules in <dependency>
<groupId>somecompany.someproject</groupId>
<artifactId>register-archive-shared</artifactId>
<version>${project.version}</version>
</dependency> |
hmm -- yeah, if you're able to isolate this into a test project / |
A version range in parent also fails in similar way.
causes :
Parent version is not resolved before it is used? |
Nice, Thanks. |
Closing this as a release with @knutwannheden 's fix is now available. Let us know if it is still a problem |
@sambsnyd @knutwannheden I'm afraid to report that 4.43.0 of the maven-plugin does not fix this issue. 😕 |
Trace looks a bit different now:
|
When running
curl -Ls https://sh.jbang.dev | bash -s - --fresh upgrade-to-quarkus3@quarkusio
, I'm getting the following error in one of my modules (and only in that one!):This
archive-server
module is located inarchive/server
. The other two modules where a Quarkus app is built (not sure this matters) are located inserver
andtestdata-server
and those two are not failing! So the nesting depth might be relevant?Then again there are two other simple lib-like modules under
archive/
that don't fail. There are even more modules next toserver
andtestdata-server
that don't fail either.pom-xml setup is as follows:
archive/server/pom.xml
:archive:
root parent (has no parent):
sha1
is set viaexport MAVEN_OPTS="${MAVEN_OPTS} -Dsha1=-dev3"
(in.envrc
fordirenv
, but that shouldn't matter`).I cannot share the project (closed source) and so far I haven't been able to create a reproducer.
Any thoughts? @nmck257 maybe?
/cc @gsmet
The text was updated successfully, but these errors were encountered: