I try to run a mvn install, it compiles fine, but for some reason maven is trying to install to this location:
[INFO] Installing /home/username/workspace/projectname/pom.xml to
/home/username/workspace/projectname/?/.m2/repository/artifactname/artifact.pom
Note, the location has a ? in it. This location really needs to be the home directory/.m2. Any idea what's causing it to install to the wrong location?
Edit: Executing mvn --help:effective-settings gives:
<localRepository xmlns="http://maven.apache.org/SETTINGS/1.0.0">
/home/username/workspace/projectname/?/.m2/repository
</localRepository>
Interestingly enough, if I run mvn --help:effective-settings from a different directory, say: /tmp, it gives:
<localRepository xmlns="http://maven.apache.org/SETTINGS/1.0.0">
/tmp/?/.m2/repository
</localRepository>