open-hand / devops-service

DevOps Service is the core service of Choerodon. It integrated several open source tools to automate the DevOps process of planning, coding, building, testing, and deployment, operation, monitoring.
http://choerodon.io
61 stars 77 forks source link

无法拉依赖包 #22

Open li-sen opened 3 years ago

li-sen commented 3 years ago

Make sure these boxes are checked before submitting your issue - thank you!

Choerodon version

Expected results

INFO] Scanning for projects...
[INFO]
[INFO] --------------------< io.choerodon:devops-service >---------------------
[INFO] Building devops-service 0.23.16.RELEASE
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.870 s
[INFO] Finished at: 2021-05-17T18:17:05+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project devops-service: Could not resolve dependencies for project io.choerodon:devops-service:jar:0.23.16.RELEASE: Failed to collect dependencies at io.choerodon:choerodon-liquibase:jar:0.16.1.RELEASE: Failed to read artifact descriptor for io.choerodon:choerodon-liquibase:jar:0.16.1.RELEASE: Failure to find io.choerodon:choerodon-starter-parent:pom:0.16.1.RELEASE in http://nexus.saas.hand-china.com/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of HandPublic has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Actual results

Steps to reproduce

ZmfCn commented 3 years ago

你好,你可以拉取代码本地编译,除了基础依赖相关的 starter jar包,其他服务并未将 jar 包发布。

li-sen commented 3 years ago

啥意思? liquibase 我自己去拉官方包?

ZmfCn commented 3 years ago

不好意思,看错了,我们看看这个liquibase依赖问题

whao1996 commented 3 years ago

这个包已经上传到公开仓库了的,应该是可以拉的 image

li-sen commented 3 years ago

image 还是不行呀

devil-scp commented 3 years ago

你好~ choerodon-parent 0.17.1我们也是在pom文件中添加了hzero的私库的 image 你也可以先在pom文件中,添加下hzero的公开私库

<repositories>
        <repository>
            <id>HandPublic</id>
            <name>Hand-Public Repository</name>
            <url>http://nexus.saas.hand-china.com/content/repositories/public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
        <repository>
            <id>HzeroRelease</id>
            <name>Hzero-Release Repository</name>
            <url>http://nexus.saas.hand-china.com/content/repositories/Hzero-Release/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>HzeroSnapshot</id>
            <name>Hzero-Snapshot Repository</name>
            <url>http://nexus.saas.hand-china.com/content/repositories/Hzero-Snapshot/</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
    </repositories>