hujianxin
V2EX  ›  Scala

sbt 的自定义 resolvers 被-Dsbt.override.build.repos=true 覆盖掉了

  •  
  •   hujianxin · Sep 25, 2016 · 6945 views
    This topic created in 3548 days ago, the information mentioned may be changed or developed.

    由于项目用到了 HDP 的东西,所以我在 build.sbt 里面添加了 resovlers ,

    resolvers += "Hortonworks Repository" at "http://repo.hortonworks.com/content/repositories/releases/"
    
    resolvers += "Hortonworks Jetty Maven Repository" at "http://repo.hortonworks.com/content/repositories/jetty-hadoop/"
    

    但是,如果我使用-Dsbt.override.build.repos=true 的话,这个 resolvers 就会被覆盖掉,没法使用了,有人能解决这个问题吗?感谢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3067 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:57 · PVG 16:57 · LAX 01:57 · JFK 04:57
    ♥ Do have faith in what you're doing.