I am trying to run mvn install, it compiles fine, but for some reason maven is trying to install in this place:
[INFO] Installing /home/username/workspace/projectname/pom.xml to
/home/username/workspace/projectname/?/.m2/repository/artifactname/artifact.pom
Please note that the location is? in that. This place really should be the /.m2 home directory. Any idea what makes it set the wrong location?
Edit: Running mvn -help: effective settings:
<localRepository xmlns="http://maven.apache.org/SETTINGS/1.0.0">
/home/username/workspace/projectname/?/.m2/repository
</localRepository>
I wonder if I ran mvn -help: efficient settings from another directory, say: / tmp, it gives:
<localRepository xmlns="http://maven.apache.org/SETTINGS/1.0.0">
/tmp/?/.m2/repository
</localRepository>
source
share