You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marian Stránecký (JIRA)" <ji...@codehaus.org> on 2010/03/03 17:43:55 UTC
[jira] Created: (MDEP-256) invoking purge-local-repository leads to
deletion of %JDK_HOME%/lib/tools.jar
invoking purge-local-repository leads to deletion of %JDK_HOME%/lib/tools.jar
-----------------------------------------------------------------------------
Key: MDEP-256
URL: http://jira.codehaus.org/browse/MDEP-256
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Components: purge-local-repository
Affects Versions: 2.0
Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_05
Java home: c:\bea10\jdk160_05\jre
Default locale: cs_CZ, platform encoding: Cp1250
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Marian Stránecký
Assignee: Brian Fox
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MDEP-256) invoking purge-local-repository leads to deletion
of %JDK_HOME%/lib/tools.jar
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEP-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated MDEP-256:
---------------------------
Fix Version/s: 2.6
Assignee: Paul Gier (was: Brian Fox)
> invoking purge-local-repository leads to deletion of %JDK_HOME%/lib/tools.jar
> -----------------------------------------------------------------------------
>
> Key: MDEP-256
> URL: https://jira.codehaus.org/browse/MDEP-256
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: purge-local-repository
> Affects Versions: 2.0
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_05
> Java home: c:\bea10\jdk160_05\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Marian Stránecký
> Assignee: Paul Gier
> Fix For: 2.6
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MDEP-256) invoking purge-local-repository leads to deletion
of %JDK_HOME%/lib/tools.jar
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEP-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier closed MDEP-256.
--------------------------
Resolution: Fixed
I added a check to avoid trying to purge any system dependencies since these cannot easily be reresolved.
http://svn.apache.org/viewvc?view=revision&revision=1399958
> invoking purge-local-repository leads to deletion of %JDK_HOME%/lib/tools.jar
> -----------------------------------------------------------------------------
>
> Key: MDEP-256
> URL: https://jira.codehaus.org/browse/MDEP-256
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: purge-local-repository
> Affects Versions: 2.0
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_05
> Java home: c:\bea10\jdk160_05\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Marian Stránecký
> Assignee: Paul Gier
> Fix For: 2.6
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira