sofastack / sofa-jarslink

Jarslink is a sofa ark plugin used to manage multi-application deployment
Apache License 2.0
3.04k stars 706 forks source link

maven 编译不通过 #1

Closed JeffLi1993 closed 6 years ago

JeffLi1993 commented 6 years ago
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.672 s
[INFO] Finished at: 2018-02-03T09:05:52+08:00
[INFO] Final Memory: 10M/128M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project titan-api: Could not resolve dependencies for project com.alipay.titan:titan-api:jar:1.5.0.20171107-SNAPSHOT: Could not find artifact org.springframework:org.springframework.test:jar:3.0.5.RELEASE in central (https://repo.maven.apache.org/maven2) -> [Help 1]
JeffLi1993 commented 6 years ago

处理方式:

org.springframework.test 依赖换成:

      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-test</artifactId>
        <version>${org.springframework.version}</version>
      </dependency>