I want to install the jar file in a local repository using maven 3.0.4 .
I used:
./mvn install:install-file -Dfile=~/Downloads/daozero-0.5.jar -DgroupId=daozero-DartifactId=daozero -Dversion=0.5 -Dpackaging=jar
Successful completion reported.
But in my project, there is still a bug with the daozero dependency.
I checked the location of the file /Users/someuser/.m2/repository/daozero/daozero/0.5/ and found that there was no file: daozero-0.5.jar
<dependency> <groupId>daozero</groupId> <artifactId>daozero</artifactId> <version>0.5</version> <scope>compile</scope> </dependency>
Can someone help me understand what is happening? It worked before in maven 2.x.
user1942964
source share