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 <[email protected]>
http://www.metatype.it

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to