[ http://jira.codehaus.org/browse/MAVEN-1636?page=all ]
Arnaud Heritier updated MAVEN-1636: ----------------------------------- Fix Version: (was: 1.1-beta-3) > 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