Playframework 播放排除依赖项

Playframework 播放排除依赖项,playframework,Playframework,尝试排除一些spring依赖项,使用以下命令 require: - play - com.openadex.jupiter -> jupiter.protocol 0.1.0-SNAPSHOT: exclude: org.springframework -> spring-core 3.1.0.RELEASE 但在运行play deps--sync时,仍会下载spring core。您可以尝试以下操作: requi

尝试排除一些spring依赖项,使用以下命令

 require:
    - play
    - com.openadex.jupiter -> jupiter.protocol 0.1.0-SNAPSHOT:
          exclude:
              org.springframework -> spring-core 3.1.0.RELEASE

但在运行play deps--sync时,仍会下载spring core。您可以尝试以下操作:

 require:
    - play
    - com.openadex.jupiter -> jupiter.protocol 0.1.0-SNAPSHOT:
          exclude:
              - org.springframework -> spring-core 3.1.0.RELEASE

注意最后一行前面的“-”。

您可以尝试以下方法:

 require:
    - play
    - com.openadex.jupiter -> jupiter.protocol 0.1.0-SNAPSHOT:
          exclude:
              - org.springframework -> spring-core 3.1.0.RELEASE
注意最后一行前面的“-”