Change artifactId by Profile

2010-11-08 Thread Darren Hartford
Hey all, I have a number of builds that, depending on the profile selected, should deploy a different artifact. Usually this is related to branding using the profiles to change the /src/main/resources to instead use branded versions. Problem is, my current approach definitely has some issues wi

Re: Change artifactId by Profile

2010-11-08 Thread Vincent Latombe
I don't know about your context, but you should make different artifacts instead. Vincent 2010/11/8 Darren Hartford > Hey all, > I have a number of builds that, depending on the profile selected, should > deploy a different artifact. Usually this is related to branding using the > profiles to

Re: Change artifactId by Profile

2010-11-08 Thread Ron Wheeler
This has been covered before (many times). A common problem. Make a POM for each client that ONLY contains resources that are branded or configured for a specific client. Make each one depend on the common, shared core and then you can easily build and deploy each client's artifact's properly.