-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Inline Maven property incrementals.url
for Maven 4 support
#666
Conversation
Building plugins with Maven 4 (alpha) fails with: > 'profiles.profile[consume-incrementals].repositories.repository.[incrementals].url' contains an expression but should be a constant. @ org.jenkins-ci.plugins:plugin:4.53 This has already been reported to Jenkins [1] and Maven [2] and was declared as an intentional change. [1] https://issues.jenkins.io/browse/JENKINS-67878 [2] https://issues.apache.org/jira/browse/MNG-7420
Did maven 4 get a rid of interpolation of URLs of any kind 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If merged, this would render the documentation at https://github.com/jenkinsci/incrementals-tools#offline-testing obsolete, implying the need for a corresponding documentation update.
This is due to Maven 4 support [1]. Building plugins with Maven 4 (alpha) fails with: > 'profiles.profile[consume-incrementals].repositories.repository.[incrementals].url' contains an expression but should be a constant. @ org.jenkins-ci.plugins:plugin:4.53 This has already been reported to Jenkins [2] and Maven [3] and was declared as an intentional change. [1] jenkinsci/plugin-pom#666 [2] https://issues.jenkins.io/browse/JENKINS-67878 [3] https://issues.apache.org/jira/browse/MNG-7420
I have give it a go updating the instructions with jenkinsci/incrementals-tools#33 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the instructions you provided in the other PR, and they seem to work fine. Thanks!
incrementals.url
for Maven 4 support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine. jenkinsci/pom
would need a corresponding change if it did not already happen. So far as I recall, the only purpose of defining this in a property was to make it easier to test the Incrementals infrastructure, which is long since stable.
Building plugins with Maven 4 (alpha) fails with:
This has already been reported to Jenkins [1] and Maven [2] and was declared as an intentional change.
[1] https://issues.jenkins.io/browse/JENKINS-67878
[2] https://issues.apache.org/jira/browse/MNG-7420
Ensure you have provided tests - that demonstrates feature works or fixes the issue