Hi, I'm using Maven 3.0.3. I'm running an Ant-run exec command.
<plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>compile</phase> <configuration> <exec failonerror="true" executable="stcmd"> ... <arg value="CIRQUE_${env}_COMPLETE_`date +"%Y%m%d-%T"`" /> My question is, what is the proper way to write the shell expression, `date +"%Y%m%d-%T"`, in the argument? Right now, I'm getting Maven parse errors ... [ERROR] The project (/Users/davea/Documents/workspace-sts-2.6.0.SR1/mycoUSA2/Technology/myregion/cirquedusoleil/pom.xml) has 1 error [ERROR] Non-parseable POM /Users/davea/Documents/workspace-sts-2.6.0.SR1/mycoUSA2/Technology/myregion/cirquedusoleil/pom.xml: start tag unexpected character % (position: TEXT seen ...ue="-nl" />\r\n\t\t\t\t\t\t\t\t\t<arg value="CIRQUE_${env}_COMPLETE_`date +"%... @57:54) @ line 57, column 54 -> [Help 2 Thanks, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/How-do-I-pass-a-shell-expression-into-exec-arg-tp4413089p4413089.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org