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

找不到com.liumapp.convert.doc:convert-doc-to-pdf:jar:v1.0.0 #2

Open
wedtlcy opened this issue Mar 11, 2019 · 2 comments
Open

找不到com.liumapp.convert.doc:convert-doc-to-pdf:jar:v1.0.0 #2

wedtlcy opened this issue Mar 11, 2019 · 2 comments

Comments

@wedtlcy
Copy link

wedtlcy commented Mar 11, 2019

Failed to execute goal on project synchronizing-doc-convert-results: Could not resolve dependencies for project com.liumapp.demo.convert.sync:synchronizing-doc-convert-results:jar:v2.0.2: Failure to find com.liumapp.convert.doc:convert-doc-to-pdf:jar:v1.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

@liumapp
Copy link
Owner

liumapp commented Mar 11, 2019

这里用了我的nexus私服上的一个项目:https://github.com/liumapp/convert-doc-to-pdf
解决办法有两个:

  1. git clone https://github.com/liumapp/convert-doc-to-pdf.git,然后在该项目下执行 mvn clean install 安装到本地Maven仓库;
  2. 直接在synch-service的pom文件中增加以下配置:
  <repositories>
    <repository>
      <id>liumapp</id>
      <url>http://www.liumapp.com:8081/repository/liumapp/</url>
    </repository>
  </repositories>

两种方法二选一即可,我已经把方法2的配置推到最新的master上了。

另外也感谢你指出这个问题,稍后我会把这个包发布到Maven中央仓库,这样即便不配置私服也可以正常下载,但是这需要两三天左右才可以完成同步(Maven不同镜像仓库之间的同步)

@wedtlcy
Copy link
Author

wedtlcy commented Mar 18, 2019

谢谢大佬!

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

2 participants