On 15/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks, it the meantime I had the same idea. > > Do you have an advice to achieve the right naming for the jar file? (for > example domain-prod.jar, domain-test.jar and so on.)
You can use the <finalName> element in profile/build to customise the final jar name - although not too sure how this would work if the jar was a dependency of another maven project. I use profile resources in the same way for one of my projects, although to avoid duplicates of all resources between profiles I keep common resources in src/main/resources, and then profile-specific resources in src/profile/xxx/resources. This does have the drawback of having respecify the two resource dirs (common and profile) in all profiles, which led me to raise http://jira.codehaus.org/browse/MNG-895. Does anyone have any suggestions to allow inheritence of resource dirs from within a profile for these scenarios? Cheers, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
