On Fri, 2002-12-20 at 14:10, Chan, Charles wrote:
> Hi, I think I can answer for myself but I have got more questions. :)
> 
> 1. I can access the dependencies jars from within maven.xml by using the
> ${pom.dependencies} variable. I can iterate over the list. However, how do I
> reference a particluar one? e.g. I want to use only EJBGen jar file.

If you are planning to make this usable across many projects I would
suggest making a plugin. This is an easier form to make something
workable across projects. Not only can you share the plugin amongst your
projects but you can share it with everyone else too.

You can access a specific dependency using:

${pom.getDependencyPath('ejbgen')}

Given that 'ejbgen' is what you have listed as the dependencies id in
your POM.

> 2. Still not sure about this one.

The reactor in CVS cannot currently share a maven.xml file but I have
altered the reactor to do so. I will check everything in next week
sometime.

> 3. Yes, project.xml supports Jelly.

Yes, but _strongly_ recommend not using jelly in your project.xml file
except for variable interpolation.

> Can someone help me with 1 and 2?
> 
> Thanks
> Charles
> 
> 
> 
> -----Original Message-----
> From: Chan, Charles [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 20, 2002 11:45 AM
> To: '[EMAIL PROTECTED]'
> Subject: maven newbie questions
> 
> 
> Hi, I am new to Maven.. As I tried to migrate my Ant scripts to Maven, I
> have some questions:
> 
> 1. My project uses EJBGen, so I figured that the only way to migrate my
> EJBGen task to Maven is to define a "goal" in "maven.xml". My question is,
> when I am in "maven.xml", how do I know the dependency JAR files defined in
> "project.xml"?
> 
> 2. I have several projects that uses EJBGen too, how can I share "maven.xml"
> across them all? Some posting in the mailing list suggested Reactor but I
> don't understand how reactor works...
> 
> 4. Does project.xml understands Jelly tags?
> 
> Any help is appreciated.
> Charles
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to