How to remove jar file from local maven repository which was added with install:install-file?

后端 未结 6 1203
予麋鹿
予麋鹿 2020-12-02 08:10
mvn install:install-file -Dfile=phonegap-1.1.0.jar -DgroupId?=phonegap -DartifactId?=phonegap -Dversion=1.1.0 -Dpackaging=jar

I use above command t

6条回答
  •  借酒劲吻你
    2020-12-02 08:43

    1. cd ~/.m2
    2. git init
    3. git commit -am "some comments"
    4. cd /path/to/your/project
    5. mvn install
    6. cd ~/.m2
    7. git reset --hard

提交回复
热议问题