Re: setting ant attribute with value from pom

2008-12-17 Thread SamehAnsary

Well my first shot at this is that you are embedding "artifact:pom" 
inside "artifact:dependencies".  The correct way is:






 



-- 
View this message in context: 
http://www.nabble.com/setting-ant-attribute-with-value-from-pom-tp21042019p21049065.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



setting ant attribute with value from pom

2008-12-16 Thread cause

Hello, 

I'm having problem setting ant attribute with a property passed from pom
file. 

Here is the pom part where I call ant target: 
  
 
 
  

Here is the ant file: 

 

 
 

 
${shared-repo} 
 
 
 
 
 

 

I'm interested in using ${shared-repo} parameter, but although echo prints
the correct value of this parameter, it doesn't set localRepository path
(and default is used instead). 
Hope my problem is clear and not too stupid :). Any help would be
appreciated. 
Thanks
-- 
View this message in context: 
http://www.nabble.com/setting-ant-attribute-with-value-from-pom-tp21042019p21042019.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org