Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
It turns out that the maven-toolchain-1.0.jar available form maven central has some serious issues resulting in it not being extractable by the oracle provided jar tool (the toplevel directories in the archives are empty files and not directories, which breaks extraction)
Some tools (IntelliJ in my case) expect to be able to extract jarfiles to be able to see the contents.
Looking into the maven-toolchain artifact it seems like it has moved into maven-core for 3.x versions, but for 2.x versions it kind of tracks the maven release.
Because of this, I propose that we use $mavenVersion for the maven-toolchain dependency (2.0.9 in our case) which seems to do the right thing and works around my broken-jar-problem nicely.