maven添加本地jar包
(base) P:\Maven\bin>
(base) P:\Maven\bin>
(base) P:\Maven\bin>mvn install:install-file -Dfile=P:\ifc_tools\ifc-sdk3-java-1.0.0.jar -DgroupId=modular.openapi -DartifactId=ifc-sdk3 -Dversion=java-1.0.0 -Dpackaging=jar
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (3.9 kB at 388 B/s)
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing P:\ifc_tools\ifc-sdk3-java-1.0.0.jar to D:\Maven_2022\repository\modular\openapi\ifc-sdk3\java-1.0.0\ifc-sdk3-java-1.0.0.jar
[INFO] Installing C:\Users\BIM\AppData\Local\Temp\mvninstall575624450412115970.pom to D:\Maven_2022\repository\modular\openapi\ifc-sdk3\java-1.0.0\ifc-sdk3-java-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.832 s
[INFO] Finished at: 2023-10-28T16:01:51+08:00
[INFO] ------------------------------------------------------------------------
(base) P:\Maven\bin>
(base) P:\Maven\bin>
<dependency> <groupId>modular.openapi</groupId> <artifactId>ifc-sdk3</artifactId> <version>java-1.0.0</version> </dependency>
####################