• 请不要在回答技术问题时复制粘贴 AI 生成的内容
voidemoer
V2EX  ›  程序员

Maven 没有 weblogic 依赖吗?

  •  
  •   voidemoer · Aug 24, 2022 · 1992 views
    This topic created in 1389 days ago, the information mentioned may be changed or developed.
    使用 maven+idea+weblogic 写 Java Web 时发现一个问题:
    maven 的存储库里有 tomcat 相关的依赖,却没有 weblogic 相关 [部分 spring-weblogic 的不算] ,只能一个个引入本地的依赖 jar 。
    难道是因为 weblogic 是个不开源的不免费商业软件吗?这有点不友好吧
    3 replies    2022-08-25 10:29:43 +08:00
    Reminders
        1
    Reminders  
       Aug 24, 2022 via iPhone
    下载下来 放到你们自己的 maven 仓库
    nothingistrue
        2
    nothingistrue  
       Aug 25, 2022
    商业软件,不让你免费用,就不友好了?
    aboat365
        3
    aboat365  
       Aug 25, 2022
    这是 maven 中央仓库的规定,要发布,必须开放源码。所以,各大商业公司的 jar 文件都发布在自己的 maven 仓库中,例如 Oracle 数据库的驱动程序。其实你不必单独去下载此类 jar ,只需要把商业公司的 maven 源写到工程 pom.xml 文件中即可。有些商业源可能还需要账户密码,那么就需要把账户密码配置到本地 maven 的 settings.xml 文件中。对于企业,一般都会搭建 Sonatype Nexus Repository Manager 私有服务,如此便更为简单,只需把商业源添加进去,工程中只需引入一个 Nexus 聚合源即可。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2457 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 00:24 · PVG 08:24 · LAX 17:24 · JFK 20:24
    ♥ Do have faith in what you're doing.