Hi, Is there a way to access custom properties in the POM in an Ant file which is called during the build life cycle? Suppose I have the following items defined in the POM file: <properties> <my.property>TestValue</my.property> </properties> <build> ... <plugins> ... <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>package</phase> <configuration> <tasks> <ant antfile="src/main/ant/build.xml"> <target name="test-target"/> </ant> </tasks> </configuration> </execution> </executions> </plugin> ... </plugin> ... </build> The build.xml uses the Maven Ant Tasks to reference the POM, but I can't find anywhere how to access custom defined properties... Thanks in advance! Kris Senden Software Engineer
Centric Retail Solutions NV Siemenslaan 12 8020 Oostkamp Belgium * +32 (0) 50.833.333 * +32 (0) 50.833.399 * [EMAIL PROTECTED] Visit our website : www.centric.be <http://www.centric.be/> The information included in this message is personal and/or confidential and intended exclusively for the addressees as stated. This message and/or the accompanying documents may contain confidential information and should be handled accordingly. If you are not the intended reader of this message, we urgently request that you notify Centric immediately and that you delete this e-mail and any copies of it from your system and destroy any printouts immediately. It is forbidden to distribute, reproduce, use or disclose the information in this e-mail to third parties without obtaining prior permission from Centric. We expressly point out that there are risks associated with the use of e-mail. Centric and the companies within the group shall not accept any liability whatsoever for damage resulting from the use of e-mail. Legally binding obligations can only arise for Centric by means of a written instrument, signed by an authorized representative of Centric. P Please consider your environmental responsibility before printing this e-mail