I've changed the parameter from String to File, but the problem still exist.
I thought at first that it had something to do with the File parameter residing in a bean, so I tried with both File (fileFile) and String (stringFile) directly. Using Linux so paths should have slashes /. bean (backslash \ exists after target): [DEBUG] (s) outputFile = /home/jimisola/p4clients/lt/iso/main/product/common/target\generated-resources/buildinfo-java-common-1.4.0.0-SNAPSHOT.properties File (<fileFile>slash/backslash\</fileFile>) [DEBUG] (f) fileFile = /home/jimisola/p4clients/lt/iso/main/product/common/slash/backslash\ String (<stringFile>slash/backslash\</stringFile>): [DEBUG] (f) stringFile = slash/backslash\ Using File obviously replaced input (slash/backslash\) with the absolute path, but backslashes are not replaced. Am I missing out on something? Should this be handled by Maven and dependency injection mechanism (Plexus)? Regards, Jimisola -- View this message in context: http://www.nabble.com/Using-Java-System-Properties-in-pom.xml-tf2161474.html#a6010105 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
