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...

2/ The war:install goal fails to add the version to the artifact and no
artifact should go in the Maven repository without having a version in
its name.

With the previous implementation it was easy to add the version. However
with the new one:

     <artifact:install
        artifact="${maven.war.build.dir}/${maven.war.final.name}"
        type="war"
        project="${pom}"
        />

there is no way to rename the war... One solution (not nice) would to
perform a copy prior to calling <artifact:install>.

Note: I'm assuming we want to keep maven.war.final.name without the
version in it as some have expressed this need.

Thanks
-Vincent


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

Reply via email to