mvn常用命令

    xiaoxiao2021-12-15  25

    把本地的jar拷贝到本地mvn仓库中

    注意几个配置groupId artifactId version

    <dependency>

    <groupId>com.cloudwise.toushibao</groupId>

    <artifactId>ip-location-search</artifactId>

    <version>0.0.1-SNAPSHOT</version>

    </dependency>

    mvn install:install-file -Dfile=/Users/magina_lil/Downloads/ip-location-search-0.0.1-SNAPSHOT.jar -DgroupId=com.cloudwise.toushibao -DartifactId=ip-location-search  -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar

    转载请注明原文地址: https://ju.6miu.com/read-1000024.html

    最新回复(0)