hujianxin
V2EX  ›  Scala

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

  •  
  •   hujianxin · Sep 25, 2016 · 7463 views
    This topic created in 3568 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   ·   1213 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 23:59 · PVG 07:59 · LAX 16:59 · JFK 19:59
    ♥ Do have faith in what you're doing.