You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tim Kettler <ti...@udo.edu> on 2003/02/18 18:29:16 UTC

Newbie Question

Hi,

I just downloaded and installed maven-1.0-beta8. After setting
MAVEN_HOME and adding $MAVEN_HOME/bin to my path, I typed 'maven' in my
home directory and expected to see something like an argument
explanation. Instead I got an exception that it can't extract the
'maven-idea-plugin'. The exception header is:

org.apache.maven.MavenException: Unable to extract plugin:
/opt/jakarta/maven/plugins/maven-idea-plugin-1.1.jar

with the nested exception that the file is not found
(FileNotFoundException).

But the file exists and is readable:

$echo $MAVEN_HOME
/opt/jakarta/maven

$test -f $MAVEN_HOME/plugins/maven-idea-plugin-1.1.jar && echo 'EXISTS'
EXISTS

$ll $MAVEN_HOME/plugins/ | grep idea
-rw-r--r--    1 root     root         7668 2003-02-12 23:26
maven-idea-plugin-1.1.jar


Is this the expected behavior??
If not: Any hints?

-Tim



Re: Newbie Question

Posted by Ben Walding <be...@walding.com>.
The first time maven runs it unpacks the plugins into directories under 
$MAVEN_HOME/plugins

Make sure the user you are running maven as the first time has write 
access to this directory

Tim Kettler wrote:

>Hi,
>
>I just downloaded and installed maven-1.0-beta8. After setting
>MAVEN_HOME and adding $MAVEN_HOME/bin to my path, I typed 'maven' in my
>home directory and expected to see something like an argument
>explanation. Instead I got an exception that it can't extract the
>'maven-idea-plugin'. The exception header is:
>
>org.apache.maven.MavenException: Unable to extract plugin:
>/opt/jakarta/maven/plugins/maven-idea-plugin-1.1.jar
>
>with the nested exception that the file is not found
>(FileNotFoundException).
>
>But the file exists and is readable:
>
>$echo $MAVEN_HOME
>/opt/jakarta/maven
>
>$test -f $MAVEN_HOME/plugins/maven-idea-plugin-1.1.jar && echo 'EXISTS'
>EXISTS
>
>$ll $MAVEN_HOME/plugins/ | grep idea
>-rw-r--r--    1 root     root         7668 2003-02-12 23:26
>maven-idea-plugin-1.1.jar
>
>
>Is this the expected behavior??
>If not: Any hints?
>
>-Tim
>
>
>  
>