Hi, I don't want to put my build.properties -file in the home directory of my project (normally at the same place as the project.properties -file).
project1 |- project.xml |- maven.xml |- project.properties |- CONFIG1/build.properties |- CONFIG2/build.properties So, i want to dynamically switch (copy a config*/build.properties to the 'live' project home directory or something like that via a preGoal in maven.xml) to a build.properties based on the type of config (config 1 or config2). I want to set this type as a property in the 'project.properties'-file. The problem is that the maven-engine (proces) is already started at the time of copying, so the copied build.properties isn't used at all. Is this the right way or are there alternatieves ? The reason i'm doing this is dat the properties in the build.properties are totally different for each CONFIG. TIA -wil-
