> -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > 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="${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>. > 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). <artifact:install artifact="foo" type="war" project="${pom}" <artifact:install artifact="lkjlkjlkjlkjlklk" type="war" project="${pom}" will do the same. The original file name is simply ignored. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]