You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pete <pe...@gmail.com> on 2006/09/21 17:34:22 UTC

MavenProject property added by MOJO not inherited?

1) I have a MOJO that adds property to the MavenProject, using :-

      project.getProperties().put("myNewProperty", value);

This mojo gets invoked during the parent pom's generate-resources

2) But I then find that child poms cannot see the property, even
though they have the above as a parent.

Are properties like this supposed to be inherited ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org