In my project https://github.com/oracle/weblogic-monitoring-exporter/, one 
option is to specify a file path on the command line, such as:

mvn clean install -Dconfiguration=samples/configuration/servlets.yml

and this works whether the path is actually absolute or relative, since the 
invocation is made from the top module. Now I need something a bit more 
complex, and have to invoke it from a submodule (not yet pushed to GitHub). But 
that gets invoked from the submodule’s directory, which means that a relative 
path will be wrong. Is there a way to copy a file using the current directory 
of the parent (pom) project?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to