maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <wayne...@gmail.com>
Subject Re: Executing goals without installing artifacts to local repository
Date Tue, 03 Oct 2006 17:03:52 GMT
I can only speak to your first question -- yes this is intended
behavior. You cannot build from /master/ear without previously
installing the ejb and war artifacts.

I don't use the eclipse plugin right now.

Wayne

On 10/3/06, Rafal Hajdacki <rafal@hajdacki.com> wrote:
> Hi,
>
> I have classic multimodule Maven2 J2EE project with following structure:
>
> /master
>     /ejb
>         pom.xml
>     /war
>         pom.xml (depends on ejb)
>     /ear
>         pom.xml (depends on war and ejb)
>     pom.xml
>
> From '/master' directory it is possible to execute 'package' goal without
> deploying artifacts to local repository and ear artifact will be created.
> However this can't be done from '/master/ear' because Maven fails due to
> missing dependency artifacts. Is this intended behaviour?
>
> Second problem is, that when I execute 'eclipse:eclipse' goal from
> '/master' directory Maven fails in '/master/ear' module due to missing
> dependencies (war, ejb).  Is it eclipse plugin bug or something else?
>
> General question is:
> Should all maven plugins support execution of goals from master pom
> without installing artifacts of dependent modules to local repository?
>
> Regards,
> --
> Rafal Hajdacki
>
>
> ---------------------------------------------------------------------
> 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