Skip to content
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

Align mvnd m39 with Maven 3.9.x re config interpolation #933

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Apr 18, 2024

Port Maven 3.9.6 config and new properties (session.root/top) interpolation into Daemon m39.

The IT got this property as it triggers exception (failure) if mvn39 could not "discover" top directory.

Fixes #910

Port Maven 3.9.7 config and new properties (session.root/top)
into Daemon m39.

The IT got this property as it triggers exception (failure)
if mvn39 could not "discover" top directory.

Fixes apache#910
@cstamas cstamas requested review from gnodet and ppalaga April 18, 2024 11:22
@cstamas cstamas self-assigned this Apr 18, 2024
@cstamas
Copy link
Member Author

cstamas commented Apr 18, 2024

@wendigo ping

@cstamas cstamas merged commit 1fc7a98 into apache:master Apr 19, 2024
4 checks passed
@cstamas cstamas deleted the issue-910 branch April 19, 2024 14:25
@cstamas
Copy link
Member Author

cstamas commented Apr 20, 2024

@wendigo Would be grateful if you build mvnd locally and try it with Trino build, it should now work OOTB. No need for native and all that, just mvn clean install and use it on Trino build. Thanks!

@wendigo
Copy link

wendigo commented Apr 20, 2024

Will do @cstamas

@wendigo
Copy link

wendigo commented Apr 20, 2024

@cstamas unfortunately still doesn't work for our case. I've tried reapplying: trinodb/trino@ff1cddb and that works in mvn but not in mvnd

@wendigo
Copy link

wendigo commented Apr 20, 2024

Adding -Dmodernizer.violationsFile=${session.rootDirectory}/.mvn/modernizer/violations.xml to the .mvn/maven.config ends with the exception:

[ERROR] Failed to execute goal org.gaul:modernizer-maven-plugin:2.7.0:modernizer (modernizer) on project trino-root: Error opening violation file: ${session.rootDirectory}/.mvn/modernizer/violations.xml: ${session.rootDirectory}/.mvn/modernizer/violations.xml (No such file or directory) -> [Help 1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maven.config ${session.rootDirectory} interpolation is not working
3 participants