You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ibbeken Michael <Mi...@prosieben.de> on 2003/09/09 09:31:24 UTC

overwriting goals in maven.xml

hi,

  i wonder that when overwriting e.g. goal 'jar:jar' it works as expected on invoking 'maven jar:jar' though
  it does not use my overwritten version of 'jar:jar' when invoking 'maven jar'. i have to overwrite 'jar' as
  well to get the expected behaviour.

  i suppose it has to do with the prereqs goal attribute of each goal which is resolved only in an isolated way
  in the currently active file (jelly.plugin OR maven.xml) where the active file is determined by the goal
  mentioned on the maven command line.

  is this a bug or a feature?

  would be nice if i only had to overwrite those goals that i want to instead of also overwriting those that
  depend on the goal i intend to overwrite.

thanks for comments,

  michael


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