The POM for xxx:jar:${com.ld.base.service.version} is missing, no dependency information available

Source: Internet
Author: User
Tags svn update

After a JAR has changed its name recently, there is a project that relies on it to refer to the old name, causing the package to go wrong as follows:

[INFO]------------------------------------------------------------------------
[INFO] Building Com.ld.base.runtime 1.0.0-snapshot
[INFO]------------------------------------------------------------------------
[WARNING] The POM for org.jxls:jxls:jar:1.0.8 is missing, no dependency information available
[WARNING] The POM for com.ld.base:com.ld.base.service:jar:${com.ld.base.service.version} is missing, no dependency information Available
[INFO]------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------
[INFO] Total time:0.644 S
[INFO] Finished at:2016-11-21t12:02:22+08:00
[INFO] Final memory:7m/18m
[INFO]------------------------------------------------------------------------
[ERROR] Failed to execute goal in Project Com.ld.base.runtime:Could not resolve dependencies for project Com.ld.base:com.ld.base. Runtime:war:1.0.0-snapshot:failure to find com.ld.base:com.ld.base.service:jar:${com.ld.base.service.version} in Https://repo.maven.apache.org/maven2 was cached in the local repository, resolution won't be reattempted until the UPDA Te interval of central have elapsed or updates are forced-[help 1]
[ERROR]

Checked carefully, certainly no references, and the local warehouse, the possible classpath are removed to re-force update, the project is removed from SVN update, or report this error.

Finally, there is no way to go around by manually adding a non-existent reference, as follows:

<properties>
<com.ld.base.service.version>1.0.0-SNAPSHOT</com.ld.base.service.version>
</properties>

<dependency>
<groupId>com.ld.base</groupId>
<artifactId>com.ld.base.service</artifactId>
<version>${com.ld.base.service.version}</version>
<scope>system</scope>
<systemPath>d:/jar/com.ld.base.service-1.0.0-SNAPSHOT.jar</systemPath>
</dependency>

The POM for xxx:jar:${com.ld.base.service.version} is missing, no dependency information available

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.