Return-Path: Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 95035 invoked by uid 500); 18 Jun 2003 15:51:40 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 95022 invoked from network); 18 Jun 2003 15:51:39 -0000 Received: from smtp-ft1.fr.colt.net (213.41.78.25) by daedalus.apache.org with SMTP; 18 Jun 2003 15:51:39 -0000 Received: from vma (host.242.109.41.213.rev.coltfrance.com [213.41.109.242]) by smtp-ft1.fr.colt.net with ESMTP id h5IFpej27643 for ; Wed, 18 Jun 2003 17:51:40 +0200 From: "Vincent Massol" To: "'Maven Developers List'" Subject: RE: New WAR changes problems Date: Wed, 18 Jun 2003 17:51:09 +0200 Message-ID: <00ad01c335b1$711d1240$0895fd0a@vma> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <00ac01c335b0$a9f33370$0895fd0a@vma> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----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: > 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: 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