Hi, I came across a problem i can't seam to solve. I have a set of properties that i need to use in all maven modules. All modules inherit from the same parent pom. So far no problem: I defined the properties in the parent pom properties section and they are all inherited in the child poms. Now, I had to make 2 build configurations, each with different values for these properties. Sounds like profiles can come in handy right? Well, apparently, profiles are not inherited. The properties themselves are of course inherited so if I build the project from the parent pom i can activate the right profile and all child projects will see the correct set of properties, but when I build only a specific module, there is no way of activating the profile of the parent pom. I could of course define the profiles in settings.xml but that would make my project unportable. Another option would be to use the maven properties plugin to load the properties from a file, but where would I put this file so it can be accessed from every module?
Any suggestions? Thanks -- View this message in context: http://www.nabble.com/Profiles-tp25241403p25241403.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
