jeudi 1 mai 2014

installing a jar file created by maven to local repo


Vote count:

0




is it me or maven documentation is useless because in link bellow:


link


it says that if you have generated your jar files by maven you can install it by following command:



mvn org.apache.maven.plugins:maven-install-plugin:2.5.1:install-file -Dfile=<path-to-file>


but when i try this:



mvn install:install-file -Dfile=E:\jarFiles\utill-1.0.jar -DlocalRepositoryPath=E:\repo


it gives me the following error:



The artifact information is incomplete or not valid:
[ERROR] [0] 'groupId' is missing.
[ERROR] [1] 'artifactId' is missin
[ERROR] [2] 'packaging' is missing
[ERROR] [3] 'version' is missing.


asked 48 secs ago






Aucun commentaire:

Enregistrer un commentaire