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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -