I am invoking dist:build-bin using multiproject:goal.  For my WAR projects
it doesn't make sense to generate a distribution.  Since I can only have one
maven.multiproject.includes property I'm not sure how I can specify this.  I
also have projects which are utility jars used by other projects and should
not have a distribution at all.  It seems that if the multiproject plugin
could look at the maven.multiproject.type and decide to build the JAR dist
or a plain WAR.  It would also be nice to specify a project doesn't build
any distribution.

So far my attempt at this is by overriding the dist goal.  Here is how I do
it for a WAR project.  for a jar that doesn't need a dist I think an empty
goal would work.  I'm curious what others think about this approach, and if
there is a possibility for adding a feature to Maven to handle this.

<project

  <goal name="dist:build-bin">
        <attainGoal name="war:war"/>
  </goal>

</project>


Regards,
Michael Mattox


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


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

Reply via email to