You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Stein <jo...@versatile.com> on 2005/10/28 16:42:30 UTC

maven 2 specify properties file

i have an antrun plugin that runs in integration test phase to copy war 
file to a local webapps folder.  i want each developer to be able to 
specify the webapps folder.  how can i get maven to read the property 
${webapps.folder} out of a properties file?

i saw a post on m2 beta that suggests

<profile>
       <id>env-test</id>
       <activation>
         <*property*>
           <name>env</name>
           <value>test</value>
         </*property*>
       </activation>
       <properties>
         <appProperties>test.properties</appProperties>
       </properties>
     </profile>

but appProperties doesn't seem to work on maven 2.0

-- 
John Stein

john.stein@versatile.com
717.439.0787 mobile
jdsetown AIM, Yahoo IM



Perfect Order has changed its name to Versatile, which more 
correctly represents the combined capabilities of Versatile 
Mobile Systems and Perfect Order.  From the data center to 
users on the move, Versatile turns data into knowledge.  

Please visit our new web site at http://www.versatile.com