Feilpe Vieira Silva wrote:

another issue:

I�m trying to follow the great article at
http://www-106.ibm.com/developerworks/java/library/j-maven/

this article suggested me to create a project tree such as:

schoolbus
     |
    +----- schoolbus-core
    +----- schoolbus-quaestio

and then to create a project file for each sub-project with the
<extends> tag....



What you should do is

schoolbus
   +-- core
   +-- quaestio
   +-- deployable application

In schoolbus/project.xml -- no dependencies, just common information
in core/project.xml -- extend schoolbus/project.xml
in quaestio/project.xml -- extend schoolbus/project.xml, depend on core.jar
in deployable application -- extend schoolbus/project.xml, depend on core.jar, quaestio.jar


then you can do from schoolbus "maven multiproject:install" to build all installable artifacts in the correct order.

--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED]



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



Reply via email to