What's the value of $HOME Le sam. 14 déc. 2019 à 08:22, Leira Hua <[email protected]> a écrit :
> I use Nix under Debian. I installed clojure through nix-shell -p clojure. > clj successfully started the repl after downloaded some poms from maven. > Then I found there is a folder named ‘?’ created under my $HOME. The maven > cache .m2 is under this ‘?’ folder. I tried leiningen, it is the same. > > I suppose it should be a Java related issue rather than Clojure. So I tried > to install Maven and try with mvn. A simple mvn archetype:generate created > a '?'/.m2 folder under the current folder. mvn clean -X|grep setting shows: > > $ mvn clean -X|grep setting > [DEBUG] Imported: org.apache.maven.settings < plexus.core > [DEBUG] Reading global settings from > > /nix/store/jyrx2vh4kg1dhbyil63bclpkfhbq6r2i-apache-maven-3.6.2/maven/conf/settings.xml > [DEBUG] Reading user settings from ?/.m2/settings.xml > > > Where is this ‘?’ folder from? Is it expected behavior? How do I get rid of > it? > > Here is a screenshot showing the ‘?’ folder under $HOME: > [image: Screenshot from 2019-12-04 18-40-35] > < > https://user-images.githubusercontent.com/39118/70199367-54c8c180-16c6-11ea-9cc7-d3c64a4cf619.png > > > > > Thanks, > > - Leira >
