Trevor, 

> -----Original Message-----
> From: Trevor Paterson [mailto:[email protected]] 
> Sent: donderdag 18 december 2008 11:50
> To: [email protected]
> Subject: RE: Deploy a POM with Properties Filterred/interpolated
> 
> thanks, but...
> 
> using the maven-release-plugin would push us down the route 
> of using maven to integrate builds with SCM (subversion)...
> this is not a route we want to go down at the moment, we 
> handle SVN integration manually. What we want is to have a 
> generateReleasePoms type funcionality in the deploy plugin so 
> we can deploy release artifacts to our local Archiva 
> repository with meaningful Poms.
> 
> At the moment we can hack this by making a 
> filterred/interpolated copy of the POM and then cleaning this 
> to remove unwanted directives using a script: then deploy the 
> artifact with this hacked POM. 

The first "solution" that comes to mind is running the
maven-release-plugin in dryRun mode (see the docs). This generates the
proposed release-pom.xml. The build-helper-maven-plugin (1) can help you
to deploy this file to the repository. After deployment, you trigger an
mvn release:clean to get rid of these intermediate files.

(1)
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.
html

FYI, this is just out of the top of my head. I never tried it myself,
but I hope it can put you on the right track.

Ringo
*************************************************************

Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie 
bevatten die vertrouwelijk is en/of beschermd door intellectuele 
eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). 
Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of 
gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen 
dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft 
ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te 
verwijderen. 

This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the addressees. Any use of the information contained herein 
(including but not limited to total or partial reproduction or distribution in 
any form) by other persons than the addressees is prohibited. If you have 
received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes éventuelles peuvent contenir des informations 
confidentielles et/ou protégées par des droits de propriété intellectuelle. Ce 
message est adressé exclusivement à son (ses) destinataire(s). Toute 
utilisation du contenu de ce message (y compris la reproduction ou diffusion 
partielle ou complète sous toute forme) par une autre personne que le(s) 
destinataire(s) est formellement interdite. Si vous avez reçu ce message par 
erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu.

*************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to