fathom
fathom copied to clipboard
Maven launching arguments
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 ?
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.
Did you ever solve this?