MAVEN jar package introduction method

(Jar package import premise: to ensure that the environment is successfully configured Maven)

Open cmd, enter the installation command:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=jar
  • <Path-to-File> : JAR package path! ! !
  • <Group-ID> : groupId corresponding JAR
  • <Artifact-ID> : artifactId corresponding JAR
  • <Version> : The version number
Published an original article · won praise 0 · Views 24

Guess you like

Origin blog.csdn.net/Zoriah/article/details/104917969