Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法拉依赖包 #22

Open
3 tasks
li-sen opened this issue May 17, 2021 · 6 comments
Open
3 tasks

无法拉依赖包 #22

li-sen opened this issue May 17, 2021 · 6 comments

Comments

@li-sen
Copy link

li-sen commented May 17, 2021

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

  • I have checked the Choerodon logs and included it here as text if any
  • I have reproduced the issue with at least the latest released version of Choerodon
  • I have checked the issue tracker for the same issue and I haven't found one similar

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
Copy link
Contributor

ZmfCn commented May 18, 2021

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

@li-sen
Copy link
Author

li-sen commented May 18, 2021

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

@ZmfCn
Copy link
Contributor

ZmfCn commented May 18, 2021

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

@whao1996
Copy link
Contributor

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

@li-sen
Copy link
Author

li-sen commented May 19, 2021

image
还是不行呀

@devil-scp
Copy link
Contributor

你好~ 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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants