Hi,

im developing a plugin and have a Mojo similar to this:

class MyMojo {

  /**
   * @paremeter expression="${pom.xxx}"
   */
  private String name;

  /**
   * @paremeter
   */
  private File folder

...

}

I want the value of folder to use the private field "name" of MyMojo to build up the complete value. So e.g. /folder/${name}/folder. I can't use the same expression as in name because if the plugin user overrides the field "name" the field "folder" should change accordingly and the user should not(!) have to change both values. My current idea is to implement a getter-method for folder which constructs the value but i'm interested if it would be possible to reference another mojo parameter inside an expression. Is this somehow possible?

Thanks very much in advance.

best regards
Sebastian



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to