Maven 提供了 maven-install-plugin 可将 jar 文件安装至本地 repository。安装命令如下: mvn install:install-file -Dfile= -DgroupId= -DartifactId= -Dversion= -Dpackaging= 例如,安装由源码编译来的 Java HDF5 接口: mvn install:install-file -Dfile=jarhdf5-1.10.5.jar -DgroupId=org.hdfgroup -DartifactId=hdf5lib -Dversion=1.10.5 -Dpackaging=jar 在 pom.xml 中依赖如下 org.hdfgrouphdf5lib1.10.5

相关文章:

  • 2021-07-17
  • 2021-11-29
  • 2022-12-23
  • 2021-06-16
  • 2022-01-15
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-17
  • 2022-12-23
  • 2022-01-17
  • 2022-02-10
  • 2021-05-31
  • 2021-08-06
  • 2021-06-24
相关资源
相似解决方案