Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2228

Classloader problem loading jars from build extensions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: Dependencies
    • Labels:
      None

      Description

      When running "mvn install" and "mvn testwagonscm:test" in the attached test case you get a ClassCastException although the Class to assign to and the assigned one are the same. The problem seems to be that they come from different classloaders. This problem makes the project-info-report:scm goal fail.

      Same as MNG-2225, but using build extensions instead of jars in M2_HOME

        Attachments

        1. MNG-2228.tgz
          2 kB
          Carlos Sanchez

          Issue Links

            Activity

              People

              • Assignee:
                brettporter Brett Porter
                Reporter:
                carlos Carlos Sanchez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: