liumapp / synchronizing-doc-convert-results

Doc文档的批量上传并转换为PDF文件,前端同步获取转换结果并提供下载 Multy upload and conversion of doc documents to PDF files. Frontend synchronous acquisition of conversion results and download.
Apache License 2.0
28 stars 18 forks source link

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

Open wedtlcy opened 5 years ago

wedtlcy commented 5 years ago

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 commented 5 years ago

这里用了我的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 commented 5 years ago

谢谢大佬!