BEGIN ERROR:

war:war:
    [echo] Building WAR WebShop-App
    [jar] Building jar: C:\workspace\webshop\WebShop-App\target\WebShop-App.war
    [echo] [war:war] Renaming of WAR to include version number.
    [move] Moving 1 files to C:\workspace\webshop\WebShop-App\target

BUILD FAILED
File...... file:/C:/Documents and Settings/CTaylor/.maven/plugins/maven-war-plug
in-1.4/
Element... artifact:install
Line...... 153
Column.... 27
Artifact file: 'c:\workspace\webshop\WebShop-App/target/WebShop-App.war' must ex
ist
Total time: 15 seconds
Finished at: Fri Feb 13 11:40:38 PST 2004

END ERROR:

Now, I have the following code within my 'maven.xml':

<!-- Renaming of WAR to include version number -->
        <postGoal name="war:war">
                <echo>[war:war] Renaming of WAR to include version number.</echo>
                <move file="${basedir}/target/${maven.war.final.name}" 
tofile="${basedir}/target/${maven.final.name}.war">
                </move>
        </postGoal>


It creates the WebShop-App-0.9.8.war but war:install goal is expecting to copy
WebShop-App.war. 

Thanks in advance,

-Conrad




> [EMAIL PROTECTED] wrote:
> > Hi, I received an error message and nothing was copied to the below named directory
> > everytime I try to use the goal, 'war:install'.
> 
> It would be interesting to see what the error message is...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to