Here is my structure:
pom
|-------- ejb
| |----- pom
|--------web
|----- pom
In parent pom i use the glassfish plugin to deploy each artifact produced
(ejb, web). In the glassfish plugin i have to specify each component to
deploy and I wanted to fetch the build directory, project name for each one
but I am not able til now.... I use the glassfish plugin in the parent
because every component will be deployed in the same domain, thus i can set
only once the glassfish instance config...
This may sound weird for sure... I am open for better solutions.
Valentin Jacquemin
On Tue, Sep 15, 2009 at 10:52 AM, Anders Hammar <[email protected]> wrote:
> Out of a logical (design) perspective that sounds weird. The parent
> shouldn't have any dependency on the siblings; it's the other way around.
> Are you talking about a parent project or an aggregating project?
>
> /Anders
>
> On Tue, Sep 15, 2009 at 10:39, Valentin Jacquemin <[email protected]
> >wrote:
>
> > Hi,
> >
> > I created a maven structure with a parent pom and for the moment 2
> modules
> > (web, ejb). I was wondering whether it's possible to references
> properties
> > of those underdeath modules from the parent pom?
> >
> > Something like ${modules.ejb.build.directory}... Is there a reference on
> > this topic? I were not able to find anything on that subject the maven
> > site....
> >
> > Thanks, regards
> >
> > Valentin Jacquemin
> >
>