How do I install a part of the third-place jar package that is not placed in the MAVEN central repository and the project relies on these jar packages? I have practiced two kinds of, special record.
First, install to the Nexus Private library:
In the 3rd party warehouse there is a Artifact Upload option, select the jar package that has been downloaded to this machine, then click the Add artiface button, then you need to set the relevant property values above, and then click Upload Artifact (s) to wait for the upload to complete. Legend:
Second, install to the local MAVEN warehouse:
command line to open the folder where the jar file is located, note the settings groupid\artifactid\version\packging\file these properties, such as this:
Install:install-file -dgroupid=google.code-dartifactid=kaptcha-dversion=2.3 . 2 -dpackaging=jar-dfile=kaptcha-2.3. 2. jar
And this one:
Install:install-file -dgroupid=org.csource-dartifactid=fastdfs_client-dversion= 1.24 -dpackaging=jar-dfile=fastdfs_client-1.24. jar
Two ways to install third-party jar packages