maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Chalumeau <nicolas.chalum...@gmail.com>
Subject Re: multiproject deps
Date Tue, 22 Mar 2005 12:37:09 GMT
A best structure should be :

- root project (multiproject)
   - project A - ear
   - project A.1 - ejbs
   - project A.2 - webapps (war)
   - project A.3 - webservices (war)

And then use X.X-SNAPSHOT as version number. In that case the
dependancies order will be resolve with multiproject.

Nicolas,

On Tue, 22 Mar 2005 11:46:34 +0100, Lukasz Bajorski <lbajorski@gmail.com> wrote:
> Hi All,
> 
> I've got following project structure:
> - project A - ear (multiproject)
>   - project A.1 - ejbs
>   - project A.2 - webapps (war)
>   - project A.3 - webservices (war)
> 
> I put dependencies on A.1, 2 and 3 in pom for project A (ear). When I
> run maven for project A (multiproject), it obviously breaks due to
> unsatisfied dependency.
> 
> What do I do to build subprojects (which create the necessary
> artifacts in local repo) before the main project using multiproject
> approach? I used preGoal for multiproject:site, but apparently project
> dependencies are resolved before maven.xml is processed ;)
> 
> --
> Lukasz Bajorski
> tel. +48 508 609 414   GG: 3318146
> www.jroller.com/page/benjie
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Mime
View raw message