maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: New WAR changes problems
Date Wed, 18 Jun 2003 15:51:09 GMT


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: 18 June 2003 17:45
> To: 'Maven Developers List'
> Subject: New WAR changes problems
> 
> Hi,
> 
> I have 2 problems with the new changes brought to the war plugin WRT
> artifact deployment:
> 
> 1/ When I run maven, I get:
> 
> war:war:
>     [echo] Building WAR everest-csrweb
>     [war] Updating war:
>
E:\Vma\Projets\Encours\tsss\everest\dev\modules\csrweb\target\everest-cs
> rweb
> .war
> Copying: from
>
'E:\Vma\Projets\Encours\tsss\everest\dev\modules\csrweb/target/everest-c
> srweb.war' to:
>  'C:\Documents and Settings\Vincent
> Massol/.maven/repository/everest/wars'
> 
> BUILD FAILED
> Unable to obtain goal [war:install] -- null:165:11: <artifact:install>
> null
> Total time:  22 seconds
> 
> Note1: If I run "maven war" from the project it works fine
> Note2: It fails when I run maven through the reactor...

Sorry, this is wrong! I'm getting the same error whether I run it with
or without the reactor. Here's some more information:

BUILD FAILED
java.lang.reflect.InvocationTargetException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[war:install] -- null:165:11: <art
ifact:install> null
[...]
Caused by: org.apache.maven.MavenException: Cannot install file:
'everest/wars'. Reason: C:\Document
s and Settings\Vincent Massol\.maven\repository\everest\wars (Access is
denied)
        at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doInstall(Def
aultArtifactDeplo
yer.java:174)

I don't understand why the access is denied. Anyway, after removing
manually the everest/wars directory it worked fine.

[snip]

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message