Setting environment variables for application Maven -
my question have pom file calls bat file sets environment variables application. call ant script uses these environment variables compile , execute. these environment variables cant recognized ant script , fails. believe because both run in different context. can guys let me know how link together.
org.codehaus.mojo exec-maven-plugin 1.1 pre_clean pre-clean exec env.bat maven-antrun-plugin compile compile run
yes. when batch file ends environment changes go out of scope. so, need call ant within .bat file or set environment before starting maven or set them in pom.
Comments
Post a Comment