I have a parent Maven project which has 3 modules. In an active profile
I define 3 properties. When I do a reactor build, the modules build
correctly. When I try to build the modules separately, the properties
which I defined in the profile are not resolved. Here is what I tried
to do to solve this:
* Create a properties block in the parent project with
<properties>
<name>${name}></name> <!--where name is defined in the
profile-->
</properties>
* Create a properties block in the module project with
<properties>
<name>${name}></name> <!--where name is defined in the
profile and the parent project-->
</properties>
Both options failed. Please suggest what I could do or whether you
think this is a bug. Thanks.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message.
Any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited. [v.E.1]