> -----Oorspronkelijk bericht-----
> Van: Tomas Pollak [mailto:[email protected]] 
> Verzonden: dinsdag 22 december 2009 0:36
> Aan: [email protected]
> CC: [email protected]
> Onderwerp: [mojo-user] Avoid duplication in POM for different profiles
> 
> Hi all,
> 
> I have a inquiry regarding a best practice to avoid duplication.
> 
> I have defined two profiles for my project. Let's call them 
> integration-test and deployment-test.
> For both of them I have to copy a file to a certain location 
> for the tests to run. This is done using the resources plugin.
> They also both define the surefire settings each to run its 
> test suite.
> 
> However the XML snippet for copying the file with the 
> resources plugin is exactly the same. Is there a way to 
> factor this common configuration? 

Maybe: add another profile that does the shared stuff..

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet 
de geadresseerde bent of dit bericht abusievelijk aan u is gezonden, wordt u 
verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat 
aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband 
houdt met risico's verbonden aan het elektronisch verzenden van berichten. 

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. The State accepts no 
liability for damage of any kind resulting from the risks inherent in the 
electronic transmission of messages.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to