> -----Original Message-----
> From: Nathan Coast [mailto:[EMAIL PROTECTED]]
> Sent: 03 October 2002 16:15
> To: Turbine Maven Users List
> Subject: how to set up projects with inter-dependencies
>
> Hi,
>
> I'm looking at porting a fairly large app on behalf of a client to
being
> managed by Maven. One thing I'm struggling with at the moment is how
to
> configure the individual projects to handle the inter-project
> dependencies. I can see how to build the whole project using the
reactor
> but I'm not sure that does what I need.
>
> As a developer I might have multiple projects that I will be working
on
> simultaneously, a web app and some related ejb jars. I need the
webapp
> to compile against the classes I have just modified in the ejbs. How
do
> you achieve this? I can see how to specify the dependencies to
SNAPSHOT
> jars and to upload the latest snapshot to the local repository. Is
this
> the correct way to achieve what I want? If yes, is there any way to
> further automate the process?
I am using the reactor to perform this. In my maven.xml, the reactor
calls the dependent project goals. Ideally these dependent project
publishes everything that other projects may need in the local
repository as artifacts. However, ATM, only jars artifacts are really
supported (but there's been progress recently in CVS - I haven't looked
yet). The next step is to have "war:install", "ear:install",
"rar:install", etc in the different plugins and then be able to specify
dependencies on these artifacts in your project.xml.
At least, that's my vision...
>
> e.g. webapp depends on ejb. Whilst building the webapp, maven detects
> that the classes within the ejb have been modified. So rebuilds the
ejb
> snapshot jar and uploads to local repository before building the
webapp.
>
I'm doing this with the reactor.
-Vincent
> Thanks Nathan
>
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>