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/10/22 09:45:52 UTC

maven-dist-plugin/maven-multiproject-plugin

hi everybody,

  i have been using maven here for quite some time now and find it a 
  valuable tool.

  currently, i am setting up a multiproject with quite some subproject,
  one of which is an ear subproject.

  as we have several remote repositories here and no cvs, we have
  built our own deploy plugin.

  when i try to run the multiproject with the following list of goals 'dist:build,deploy:custom'
  i happened to find out that the dist:build plugin always builds the jar:jar goal even though
  one subproject is supposed to produce an ear.

  i suggest that the dist plugin uses a plugin property to set that defines what goal is to run.


  the original code looks like this:

<snip>
  <goal name="dist:prepare-bin-filesystem" prereqs="xdoc:init, jar:jar, javadoc:generate" description="Builds the binary distribution file system."> 
</snip>


  while the suggested change would look like this

<snip>
  <goal
    name="dist:prepare-bin-filesystem"
    prereqs="xdoc:init, ${maven.multiproject.type}:${maven.multiproject.type}, javadoc:generate"
    description="Builds the binary distribution file system.">
</snip>


  any comments are welcome


thanx, michael





---------------------------------------------------------------------------------

 Michael Ibbeken
 ProSieben Information Service GmbH
 CMS - Content Management Systems
 Gutenbergstrasse 3
 85774 Unterföhring
 Besucheranschrift:
 Osterfeldstrasse 82
 85737 Ismaning
 tel.: +49 (0) 89 / 9507-5108
 fax.: +49 (0) 89 / 9507-5192
 email: Michael.Ibbeken@ProSieben.de
 { privat: +49 (0) 173 / 56 78 728 }
 { privat: michael@ibbeken.com }

---------------------------------------------------------------------------------



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