Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-223

Move to a non-ancient maven-toolchain dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.3
    • 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.

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            noa@resare.com Daniel Resare
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: