maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Maczka" <>
Subject RE: New WAR changes problems
Date Wed, 18 Jun 2003 17:44:08 GMT

> -----Original Message-----
> From: Vincent Massol []
> Sent: Wednesday, June 18, 2003 5:45 PM
> 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:

Install deploy component is under development. I hope to have it finished
for tommorow.
Anomalies are expected. Sorry for that!

> 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="${}/${}"
>         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>.

It's different story here:

artifact:install is taking care to create repository root relative path,
file name (with version) using information taken from
POM and the artifact type (we will be able here to use RepositoryLayout
service from maven-new).



will do the same. The original file name is simply ignored.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message