You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/29 11:29:11 UTC
[jira] Closed: (MNG-941) Deletion of ~/.m2 directory prevents (re)creation of plugin-registry.xml file with java.io.FileNotFoundException
[ http://jira.codehaus.org/browse/MNG-941?page=all ]
Brett Porter closed MNG-941:
----------------------------
Resolution: Duplicate
Fix Version: (was: 2.0-beta-3)
> Deletion of ~/.m2 directory prevents (re)creation of plugin-registry.xml file with java.io.FileNotFoundException
> ----------------------------------------------------------------------------------------------------------------
>
> Key: MNG-941
> URL: http://jira.codehaus.org/browse/MNG-941
> Project: Maven 2
> Type: Improvement
> Components: maven-core
> Environment: WIN XP Pro, SP2
> java version "1.5.0_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
> Reporter: John Allen
> Assignee: Brett Porter
> Priority: Minor
>
> Original Estimate: 15 minutes
> Remaining: 15 minutes
>
> Deletion of ~/.m2 directory prevents (re)creation of plugin-registry.xml file with java.io.FileNotFoundException
> Recreating ~/.m2 directory enabled plugin-registry.xml to be properly created by m2
> Output
> Running Maven2 with CLI options: -X -e install
> Running Maven2 with JVM options: -Dorg.apache.maven.global-settings=D:\Aelitis\tools\abs\conf\maven-global-settings.xml
> -Dmaven.repo.local=D:\Aelitis\repository
> + Error stacktraces are turned on.
> [DEBUG] Building Maven global-level plugin registry from: 'D:\Aelitis\tools\maven-2.0-beta-1\conf\plugin-registry.xml'
> [DEBUG] Building Maven user-level plugin registry from: 'D:\profiles\AllenJ4\.m2\plugin-registry.xml'
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Aelitis root project
> [INFO] task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [DEBUG] maven-install-plugin: resolved to version 2.0-beta-1 from repository central
> FATAL ERROR: Error executing Maven for a project
> Error stacktrace:
> org.apache.maven.reactor.ReactorException: Error executing project within the reactor
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:242)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> <snip/>
> Caused by: java.io.FileNotFoundException: D:\profiles\AllenJ4\.m2\plugin-registry.xml (The system cannot find the path specified)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org