[~/build.properties] my.cvs.userid=matt my.cvs.server=cvs my.cvs.root=/cvsroot
[project.xml]
<repository>
<developerConnection>scm:cvs:ext:[EMAIL
PROTECTED]:${my.cvs.root}:/my/module</developerConnection>
</repository>I don't imagine it would be difficult (although I haven't tested it) to do something similar with the version element of dependencies.
Matt
[EMAIL PROTECTED] wrote:
The project.xml can use variables defined in the pom, like you have mentioned below.
I'm not sure which other properties are available at interpolation time. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
Stephen McConnell <[EMAIL PROTECTED]> wrote on 31/10/2003 07:48:00 AM:
James CE Johnson wrote:
This (parameterized versions) would be *so* helpful!Drat.The project.xml file isn't executed as a jelly script. It's treated as an expression.
I guess that also explains why I can't set properties/variables in maven.xml and have them evaluated in project.xml:
maven.xml:
... <property name="foo.version" value="1.2.3"/>
project.xml:
<dependency> <id>foo</id> <version>${foo.version}</version> </dependency>
Steve.
----------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Stephen J. McConnell mailto:[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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
