At last, I can get profile activator to work.

However, it seems no rule when would context.getProjectDirectory()
return non-null value.

I have tried in a project with several modules, as:

   project1/
        module1/
        module2/
        module3/
        module4/
        module5/

Run `mvn package` under project1/, and the results show:

   module1: project directory=/home/....
   module2: null
   module3: project directory=/home/....
   module4: null
   module5: null

So, I'm just confused.

And most of the fields Profile and ProfileActivationContext given to
be null. Only very few information I can use.


Lenik

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to