You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jan Haderka (JIRA)" <ji...@codehaus.org> on 2005/06/24 15:19:53 UTC

[jira] Created: (MAVEN-1636) cryptic error message

cryptic error message
---------------------

         Key: MAVEN-1636
         URL: http://jira.codehaus.org/browse/MAVEN-1636
     Project: maven
        Type: Bug
  Components: plugin manager  
    Versions: 1.1-beta-1    
 Environment: Windows XP, network profile
    Reporter: Jan Haderka
    Priority: Trivial


Using nework profile with top level directory of the profile without privilege to create new directoriew, makes maven to fail on first startup with a bit cryptic message: 
org.apache.maven.MavenException: Unable to extract plugin: C:\Maven 1.1-beta-1\plugins\maven-nsis-plugin-1.1.jar
        at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1097)
...
--- Nested Exception ---
java.io.FileNotFoundException: \\server\username$\.maven\cache\maven-nsis-plugin-1.1\META-INF\MANIFEST.MF (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)
        at org.apache.maven.util.Expand.extractFile(Expand.java:147)
        at org.apache.maven.util.Expand.expandFile(Expand.java:85)
        at org.apache.maven.util.Expand.execute(Expand.java:67)
        at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1093)
...

The reason for failure is not that plugin is corrupted but that .maven directory can't be created.
Work around is to set MAVEN_HOME_LOCAL to point somewhere in the user space.

-- 
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


[jira] Updated: (MAVEN-1636) cryptic error message

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1636?page=all ]

Brett Porter updated MAVEN-1636:
--------------------------------

    Fix Version: 1.1-beta-2

> cryptic error message
> ---------------------
>
>          Key: MAVEN-1636
>          URL: http://jira.codehaus.org/browse/MAVEN-1636
>      Project: maven
>         Type: Bug
>   Components: plugin manager
>     Versions: 1.1-beta-1
>  Environment: Windows XP, network profile
>     Reporter: Jan Haderka
>     Priority: Trivial
>      Fix For: 1.1-beta-2

>
>
> Using nework profile with top level directory of the profile without privilege to create new directoriew, makes maven to fail on first startup with a bit cryptic message: 
> org.apache.maven.MavenException: Unable to extract plugin: C:\Maven 1.1-beta-1\plugins\maven-nsis-plugin-1.1.jar
>         at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1097)
> ...
> --- Nested Exception ---
> java.io.FileNotFoundException: \\server\username$\.maven\cache\maven-nsis-plugin-1.1\META-INF\MANIFEST.MF (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)
>         at org.apache.maven.util.Expand.extractFile(Expand.java:147)
>         at org.apache.maven.util.Expand.expandFile(Expand.java:85)
>         at org.apache.maven.util.Expand.execute(Expand.java:67)
>         at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1093)
> ...
> The reason for failure is not that plugin is corrupted but that .maven directory can't be created.
> Work around is to set MAVEN_HOME_LOCAL to point somewhere in the user space.

-- 
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