> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 17, 2004 2:50 PM
> To: Maven Users List
> Cc: 'Maven Users List'
> Subject: RE: Again about the POM Parser in Maven 1
> 
> 

> Probably I have misunderstand you ....sorry for wasting in 
> case your time.

No problem. Probably you did misuderstand me.

I asked you to look at like 106 of this class

http://maven.apache.org/reference/plugins/xdoc/xref/org/apache/maven/Depende
ncyDescriberBean.html#106


This methods takes dependecy as parameter, constructs the path to
corespoding POM, parses that POM and returns it.
Either I am missing something but this is more or less what you want to do. 
The first half of this method contains the code which generates the path
which leads to POM, 
second half shows how to use it when you want to get (parsed) POM. 
There is no requiremnt that some POM should exists before. 
So it is not very different from your code and I don't know why your version
is not working.

Which version of maven are you using? <id> tag was indeed required at some
moment in time but that was ages ago...

Michal

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

Reply via email to