You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by e9...@seznam.cz on 2012/10/18 13:36:17 UTC

how get parameter from another module?

Hello,

I am going thru all modules in my reactor and do some work. But i need to know, if one of the project has some property or not. eg:

<module>one<module>
<module>two<module>
<module>thre<module>

in module two i call my own plugin which has this part of code:

for (MavenProject p : reactorProjects)  {
  //need to know how do this:
  if(p.getPropertiesFromPomXML().getWantedParameter() == true){
     do some job
  }
}

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