I've installed my jar in my local repo as said in maven docs :
mvn install:install-file
  -Dfile=<path-to-file>
  -DgroupId=<dans>
  -DartifactId=<dans-lib>
  -Dversion=<1.0.0>
  -Dpackaging=<jar>
  -DgeneratePom=true
I can see in my /home/.m2/repository that the location is created and in the dans/dans-lib/1.0.0 there is my jar file. Unfortunately when I'm trying to add maven dependency in my pom.xml
<dependency>
     <groupId>dans</groupId
     <artifactId>dans-lib</artifactId>
     <version>1.0.0</version>
</dependency>
I got error Dependency dans:dans-lib not found. I've got no idea what might be the problem
 
    