RE: accessing the dependancies in maven.xml

2003-07-16 Thread Neil Blue
Great that works fine.

Cheers
Neil

-Original Message-
From: Brian Ewins [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 17:13
To: Maven Users List
Subject: Re: accessing the dependancies in maven.xml


You probably want 'pom.artifacts' if you want to get at the jar. 
'pom.dependencies' is a list of dependencies, but you can always get to 
the dependency via the jar. eg

 

 

this would give you the artifacts (so lib.file would give you the jar) 
plus the dependency fields via the 'dep' object. Alternatively, if you 
really just want dependencies:

 
 

does the trick.

Neil Blue wrote:

> Hello,
> 
> we are trying to access the collection of pom dependancies in the maven.xml file. Is 
> there a variable we can access that will give us access to the dependancy jar 
> information?
> 
> Thanks
> Neil
> 
> -
> 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]


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



Re: accessing the dependancies in maven.xml

2003-07-15 Thread Brian Ewins
You probably want 'pom.artifacts' if you want to get at the jar. 
'pom.dependencies' is a list of dependencies, but you can always get to 
the dependency via the jar. eg




this would give you the artifacts (so lib.file would give you the jar) 
plus the dependency fields via the 'dep' object. Alternatively, if you 
really just want dependencies:



does the trick.

Neil Blue wrote:

Hello,

we are trying to access the collection of pom dependancies in the maven.xml file. Is there a variable we can access that will give us access to the dependancy jar information?

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