You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matteo Centonza <ma...@metatype.it> on 2009/09/18 11:35:58 UTC

pom ant task and resource collections (maven-ant-tasks)

Hi,

i'm fairly new to maven so, sorry if already asked.

I'm trying to access to maven properties from inside
ant through the pom task.

Properties are there if i use the direct reference
${<property name>} but are not selected through
resource collection constructs such as:

<artifact:pom file="pom.xml" id="pom"/>

<propertyset id="pom.properties">
  <propertyref prefix="pom"/>
</propertyset>

<echoproperties>
  <propertyset refid="pom.properties"/>
</echoproperties>

It seems to me that the pom task does not populate
resource collections.

Has anybody experienced this?

I'm using:

mvn-ant-task 2.0.9
ant-1.7.0 (and ant-1.8alpha)

Thanks in advance,

-m


-- 
Matteo Centonza <ma...@metatype.it>
http://www.metatype.it

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