I'm not familiar with the glassfish plugin. Eitehr the plugin has built in
support for using an artifact dependency or you have to use the dependency
plugin to first fetch the (jar) artifact and then point the glassfish plugin
to use that jar.
dependency plugin goal:
http://maven.apache.org/plugin
I created a pom dedicated for the deployment and declared dependencies on my
ejb/web projects but now how can I reference the artifact in the repository
from glassfish-plugin elements?
I am a beginner sorry...
Valentin Jacquemin
On Tue, Sep 15, 2009 at 11:15 AM, Valentin Jacquemin
wrote:
> >Or
>Or is it
some kind of feature for developers to easily get it deployed?
No no it's only a personal prototype that i am creating on my own... I am
not really accustomed to maven yet.
Creating a separate project for the deployment could be the way for me.
Thanks!
Valentin Jacquemin
On Tue, Sep
What you have is an aggregating pom, which happens to be the parent pom as
well (I guess).
Why not create a separate project that does the deployment? It should have
dependencies on the artifacts that you want to deploy. You shouldn't
configure the glassfish deploy plugin to use a build/target fold
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,
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 wrote:
> Hi,
>
> I created a m
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 no