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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to