views:

23

answers:

2

How do I program one Mojo to set another Mojo's configuration? For example: Mojo A requires configuration parameter A.foo to be defined. A user can either specify A.foo manually or run plugin B which will calculate the value for him/her.

+1  A: 

I guess the maven way would be to set a property in the first Mojo and to access it from the other Mojo.

Pascal Thivent