Maven exec:java target runs in the same JVM as Maven itself.
I would like to be able to pass some properties to the java binary (in particular, -ea -Djava.util.logging.config.file=logging.properties ), but this is not obvious how to do this.
Note. I want to pass JVM properties, not arguments to the application. Ideally, I would like to list them in pom.xml , but I understand that it is probably unlikely due to the launch of Maven. As a workaround, the goal is exec:exec , which sets all the classpaths, etc., as if I were calling exec:java , would be nice.
source share