Hi Markus,

Maria Odea Ching wrote:

Hi Markus,

Having a central repository for all the project dependencies is one of the main highlights of maven. There are also avaliable plugins for generating ejb files and client jars (See http://maven.apache.org/plugins/). As for filtering, you can use it to filter resource files that
you want to include in your wars, jars, etc.

Regards,
Odea


Markus M. May wrote:

Hello,
we have a very huge project here. This project consists of many
"components" or "modules" which have inter-dependencies all over. One of
the problems we face is, that these modules does change often (e.g. for
bug-fixes) and therefor we need to update the dependencies
(version-number) all the time.

You can use a combination of:
1. Defining versions on the root pom through the dependency management section. Skip the dependency versions in your modules since they will inherit the parent pom's. 2. Use SNAPSHOTS for modules that you change often because they're still under development. Other projects that depends on your project using the SNAPSHOT will download the latest copy you upload (timestamp based).

Right now, we are using ANT 1.6 and would
like to resolve this issue probably with Maven2. We believe that
transitive dependencies are the way to go.
Therefor we would like to store the dependencies for all components in a
central place, where one could update them pretty easily.
Also each component generates more then one artifact (one for the EJBs,
one common and at least one for the client side, and sometimes one for
the resources - this is needed for JWS). Would this be possible with
Maven2 as well? I heard something about masks and filters -are they the
right way to go?

Yes this is possible. It would be ideal if you define each packaging as an individual module. You would also need the proper plugins. Here's a list for your reference: http://maven.apache.org/plugins/index.html


Greets

Markus


---------------------------------------------------------------------
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]

Regards,
John

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

Reply via email to