Output many ears with diff config files from same Maven/TeamCity projects

Hi, I'm considering adopting Maven and TeamCity for builds, but would like to know how to handle multiple jar files with the same classes but different configuration files.

Currently I'm using Ant to swap ejb-jar, web, proprietary and jnlp configuration files that are unique to each .jar or .ejb archive.

I don't know how to handle this in Mavenperhaps there's a plug-inand then how does TeamCity deal with this???

I'd like the artifacts, each with different configuration files, to be available from TeamCity interface.

example

branch1.ear
---ejb A
-


ejb-jar.xml
-


sun-ejb-jar.xml
---war A
-


web.xml
-


sun-web.xml
-


proprietary xml
---war B
-


web.xml
-


sun-web.xml
-


jnlp

branch2.ear
---ejb A
-


ejb-jar.xml
-


sun-ejb-jar.xml
---war A
-


web.xml
-


sun-web.xml
-


proprietary xml
---war B
-


web.xml
-


sun-web.xml
-


jnlp

etc...

Edited by: Rupert on Sep 12, 2008 9:23 PM

1 comment
Comment actions Permalink

Sorry for the long delay. The question is still relevant? If yes please leave a comment or create a separate thread.

Kind regards,
Marina
0

Please sign in to leave a comment.