Maven deploy to relative directory path
A relative directory can be specified when using the -DaltDeploymentRepository
parameter, e.g.:
mvn deploy -DaltDeploymentRepository=snapshot-repo::default::file:../../my-local-snapshots-dir
The file URL is relative to the directory in which mvn
is run.
See here for more info on the altDeploymentRepository
parameter.