fathom icon indicating copy to clipboard operation
fathom copied to clipboard

Maven launching arguments

Open ziguane opened this issue 7 years ago • 2 comments

Hello,

I need help with this please The profile arguments seem to be overriden when the project is launch with maven

mvn clean compile exec:java -Dexec.args="--profile devexec --mode dev"

Some logs below ... 12:06:49.483 [com.erelav.Launcher.main()] INFO fathom.conf.Settings - Runtime profile is 'devexec' 12:06:49.562 [com.erelav.Launcher.main()] DEBUG fathom.conf.Settings - Loaded config 'file:PATH_TO_PROJECT/target/classes/conf/devexec.conf' 12:06:49.567 [com.erelav.Launcher.main()] DEBUG fathom.conf.Settings - Failed to find working directory config file 'PATH_TO_PROJECT/devexec.conf' 1 ... 12:06:51.803 [com.erelav.Launcher.main()] INFO fathom.conf.Settings - Runtime profile is 'default' 12:06:51.818 [com.erelav.Launcher.main()] DEBUG fathom.conf.Settings - Loaded config 'file:PATH_TO_PROJECT/target/classes/conf/default.conf' 12:06:51.819 [com.erelav.Launcher.main()] DEBUG fathom.conf.Settings - Failed to find working directory config file 'PATH_TO_PROJECT/default.conf'...

What is the good way ?

ziguane avatar Aug 29 '16 16:08 ziguane

This sounds like a Maven working directory issue. I don't often use mvn:exec to run anything so I'm not the expert on adjusting all that.

gitblit avatar Sep 04 '16 16:09 gitblit

Did you ever solve this?

gitblit avatar Dec 08 '16 19:12 gitblit