Hello, I have a jar file that i plan to add to a projects dependencies. I need to test this jar file as a dependency of some project and therefore did
$ mvn -l mvn.log -e -X install:install-file -Dfile=myartifact.jar -DgroupId=com.mycompany -DartifactId=myartifact -Dversion="6.1.0 RC" -Dpackaging=jar to install it. Maven informs me about "BUILD SUCCESS" (mvn.log is attached). Taking a look into the repository $ ls $HOME/.m2/repository/com/mycompany/myartifact/6.1.0\ RC/ -rwx------+ 1 myusername Domain Users 184 Jul 27 14:54 _maven.repositories -rwx------+ 1 myusername Domain Users 453125 Jul 19 10:53 ndf-core-6.1.0 RC.jarqls -rwx------+ 1 myusername Domain Users 497 Jul 27 14:54 ndf-core-6.1.0 RC.pom Reveals that the jar file is not present. Either I have the wrong expectation here or something else i am doing wrong. Is this not the way to install a jar-file to a local repository? According to official FAQ Question 11 it is... Matthias
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
