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

Classloader problem loading jars from build extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.4
    • 2.0.5
    • Dependencies
    • 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 Gonzalez

        Issue Links

          Activity

            People

              brett Brett Porter
              carlos Carlos Sanchez Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: