首页 > 其他分享 >maven添加本地jar包

maven添加本地jar包

时间:2023-11-07 16:11:05浏览次数:30  
标签:INFO sdk3 1.0 jar maven 添加 ifc java

 

(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>

 

 

####################

标签:INFO,sdk3,1.0,jar,maven,添加,ifc,java
From: https://www.cnblogs.com/herd/p/17794281.html

相关文章

  • Linux环境下java jar包(start 启动 stop 停止 restart 重启 status 查状态) 处理
    运行jar包sh脚本:#!/bin/sh#./ry.shstart启动stop停止restart重启status状态AppName=ruoyi-admin.jar#JVM参数#JVM_OPTS="-Dname=$AppName #-Duser.timezone=Asia/Shanghai#-Xms512m-Xmx1024m#-XX:MetaspaceSize=128m-XX:MaxMetaspaceSize=512m-XX:+He......
  • 禅道18.0_beta如何添加自己的api接口
    有自定义功能,但又不想修改原有的api接口,可以添加新的api接口,这样不会很大影响以后的版本升级,具体步骤1.在config/routes.php中添加映射,为了方便维护,在$config->routes=$routes;这一句代码的上面进行添加//添加的api$routes['/tasks/project']='taskproj......
  • 安装Maven私有仓库Nexus
    安装Maven私有仓库Nexus下载nexus免费版--下载链接https://sonatype-download.global.ssl.fastly.net/repository/downloads-prod-group/3/nexus-3.61.0-02-unix.tar.gz上传至服务器解压到/roottar-zxvfnexus-3.61.0-02-unix.tar.gz-C/rootmv/root/nexus-3.61.0-0/roo......
  • Java Eclipse 如何导入外部Jar包
    1项目名称上单击右键,点击properties。 2点击“JavaBuildPath”,点击“Libraries”,点击“AddExternalJARs” 3选择jar......
  • 摄像机流添加OSD
    exportdefaultclassMediaStreamMixer{ constructor(){ } /** * *@paramopts */ mix(opts){ let{audioTrack,videoTrack,stream}=opts||{}; constms=newMediaStream(); if(streaminstanceofMediaStream){ audioTrack=stream.getA......
  • eclipse中maven依赖的jar源码中文注释乱码解决
    通过maven下载源代码,在eclipse中浏览源代码时,发现中文注释为乱码的问题。eclipse默认编码造成的问题。可以通过以下方法解决:1.修改Eclipse中文本文件的默认编码:windows->Preferences->general->Workspace->Textfileencoding设置为UTF-82.修改JAVA源文件的默认编码:windows->P......
  • 如何在Vue.js中添加headers(标头) 使用 axios,单独请求,所有请求 添加请求头
    如何在Vue.js中添加headers(标头)使用axios,单独请求,所有请求添加请求头Vue.js是一个流行的前端框架,它以其简单易用的API和高度可组合的架构而闻名。当你构建一个Web应用时,你通常会使用一个HTTP客户端来与API交互。该客户端可以是一个浏览器内部的XMLHttpRequest,也可以......
  • 在Mac OS上如何运行jar文件
     问题1:%java-jarTASTS-MacOS-X64.jar***WARNING:DisplaymustbecreatedonmainthreadduetoCocoarestrictions.Exceptioninthread"main"org.eclipse.swt.SWTException:Invalidthreadaccess   atorg.eclipse.swt.SWT.error(SWT.java:4533)   at......
  • Java程序如何生成Jar 执行文件
     EclipseIDE      ......
  • Java jar: A JNI error has occurred, please check your installation and try again
    java-verion和javac-version版本不一致 E:\temp\eclipseWorkSpace>java-jarTASTS.jarExceptioninthread"main"java.lang.NoClassDefFoundError:org/eclipse/swt/widgets/DecorationsCausedby:java.lang.ClassNotFoundException:org.eclipse.swt.widge......