Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-256

invoking purge-local-repository leads to deletion of %JDK_HOME%/lib/tools.jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.6
    • Component/s: purge-local-repository
    • Labels:
      None
    • Environment:

      Description

      RELEVANT PARTS of maven output:

      [DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact
      [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
      [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1
      [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
      [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
      [DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
      [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
      [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
      [DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:compile (selected for compile)
      [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile (selected for compile)
      [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:compile (removed - nearer found: 1.1)
      [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected for compile)
      [DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:compile (selected for compile)
      [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile (selected for compile)
      [DEBUG] junit:junit:jar:3.8.1:compile (removed - nearer found: 4.8.1)
      [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:compile (removed - nearer found: 1.1)
      [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile (selected for compile)
      [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.4:compile (selected for compile)
      [DEBUG] com.sun:tools:jar:1.5.0:system (selected for system)

      ...

      [INFO] Processing artifact: com.sun:tools:jar:1.5.0
      [INFO] Deleting: c:\bea10\jdk160_05\jre\..\lib\tools.jar
      [INFO] Re-resolving.
      [DEBUG] System artifact: com.sun:tools:jar:1.5.0:system is not a file: c:\bea10\jdk160_05\jre\..\lib\tools.jar

        Attachments

          Activity

            People

            • Assignee:
              pgier Paul Gier
              Reporter:
              marmax Marian Stránecký
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: