You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristian Rink <ka...@zimmer428.net> on 2008/06/05 08:15:22 UTC
"temporary pom" for building project and dependencies?
Folks;
not sure whether this is a "common" use case, I wonder what's a good
way to have the following scenario done. We handle our projects using
maven2, and we are used to have things split up:
- There's a "core" project (jar) of the application which includes
commonly used classes and interfaces needed in all other applications.
- There are some "components" projects (jars, as well), depending upon
"core", used in some of the business applications.
- There are a bunch of, say, war artifacts offering exposing web
interfaces or web services, depending upon various "components".
My problem, by now, is that, in case of some change tthat cross these
module boundaries, I have to rebuild altogether "core", a few
"components" packages and the war artifact relying upon them. My
question is whether there is some way to, in case these projects are
independent, "abuse" maven to have, say, "core" and a set of
"components" automatically built and installed along with (and
possibly before) building the war artifact depending upon them? Is
there a common way of doing so, or should I reconsider my project
structure?
TIA and best regards,
Kristian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "temporary pom" for building project and dependencies?
Posted by Kristian Rink <ka...@zimmer428.net>.
David;
Am Thu, 5 Jun 2008 09:01:38 +0200
schrieb David Delbecq <da...@oma.be>:
> You can create a modules based pom that will build all your projects.
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation
Thanks a bunch, this indeed is quite what I was looking for, works like
a charm. :) Now I only need to find a way to make my NetBeans
automatically create such an "aggregated" pom (following Example 4) by
sorting dependent modules in the right order. But that's another thing
I guess. :)
Thanks loads and best regards,
Kristian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "temporary pom" for building project and dependencies?
Posted by David Delbecq <da...@oma.be>.
You can create a modules based pom that will build all your projects.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation
Le Thursday 05 June 2008 08:15:22 Kristian Rink, vous avez écrit :
> Folks;
>
> not sure whether this is a "common" use case, I wonder what's a good
> way to have the following scenario done. We handle our projects using
> maven2, and we are used to have things split up:
>
> - There's a "core" project (jar) of the application which includes
> commonly used classes and interfaces needed in all other applications.
>
> - There are some "components" projects (jars, as well), depending upon
> "core", used in some of the business applications.
>
> - There are a bunch of, say, war artifacts offering exposing web
> interfaces or web services, depending upon various "components".
>
> My problem, by now, is that, in case of some change tthat cross these
> module boundaries, I have to rebuild altogether "core", a few
> "components" packages and the war artifact relying upon them. My
> question is whether there is some way to, in case these projects are
> independent, "abuse" maven to have, say, "core" and a set of
> "components" automatically built and installed along with (and
> possibly before) building the war artifact depending upon them? Is
> there a common way of doing so, or should I reconsider my project
> structure?
>
> TIA and best regards,
> Kristian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
David Delbecq
Institut Royal Météorologique
Ext 557
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org