tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Get rid of maven-compat

Open laeubi opened this issue 3 years ago • 3 comments

We have a lots of maven-compat references and this is APi that will be gone with maven 4 so we should start migration see https://github.com/apache/maven/pull/765

laeubi avatar Jul 13 '22 14:07 laeubi

The only one I could found where we are really depending on compat API is in tycho-core with MirrorSelector

FYI @cstamas

All the rest can simply use maven-core instead see https://github.com/eclipse/tycho/pull/1139

laeubi avatar Jul 13 '22 14:07 laeubi

It seems I was too optimistic. Now the test execution failed, I tried to make maven-core test-scoped but then compilation failed ???

laeubi avatar Jul 13 '22 15:07 laeubi

Yeah, I've been removing maven-compat bit by bit for the last few years. It's never that simple :). I could only recommend doing it in smaller chunks so you can have some progress at least.

akurtakov avatar Jul 13 '22 15:07 akurtakov