You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aaron Digulla <di...@hepe.com> on 2006/12/07 14:14:23 UTC

Sharing properties between maven and ant

Hello,

What is the most simple way to define a property once which can be seen both
my maven (for example, used in pom.xml) and ant?

Example: I have three third party JARs in my project and I want to install
them with "mvn install:file". Each JAR has it's own POM and I also need the
version in the ANT build.xml, so I can run mvn three times.

Regards,

-- 
Aaron Digulla
-- 
View this message in context: http://www.nabble.com/Sharing-properties-between-maven-and-ant-tf2774308s177.html#a7738926
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Sharing properties between maven and ant

Posted by Aaron Digulla <di...@hepe.com>.

Aaron Digulla wrote:
> 
> What is the most simple way to define a property once which can be seen
> both my maven (for example, used in pom.xml) and ant?
> 

>From the silence, I deduct this is in fact impossible.

Regards,

-- 
Aaron Digulla
-- 
View this message in context: http://www.nabble.com/Sharing-properties-between-maven-and-ant-tf2774308s177.html#a8020779
Sent from the Maven - Users mailing list archive at Nabble.com.


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