【问题标题】:Camel Spring Boot Archetype builds project with missing artifactCamel Spring Boot Archetype 构建缺少工件的项目
【发布时间】:2016-02-26 07:42:38
【问题描述】:

当我运行 mvn 命令以使用 Camel Spring Boot 原型创建 Spring Boot Camel 项目时,生成的 pom.xml 会出现依赖错误。

mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-spring-boot -DarchetypeVersion=2.16.0 -DgroupId=test -DartifactId=app

我得到错误: Missing artifact org.apache.camel:camel-spring-boot:jar:2.16.0

如果我将版本更改为 2.15.0,问题就会消失。

2.16.0 版有什么问题吗?

【问题讨论】:

    标签: spring-boot apache-camel maven-archetype


    【解决方案1】:

    我需要删除我的本地 Maven 存储库并重建。

    手动从c:\Users\username\.m2\repository 中删除工件(或完整的本地存储库)。

    【讨论】:

    • 它说我需要等待 18 小时才能将其标记为已回答
    猜你喜欢
    • 2022-01-22
    • 2018-06-08
    • 2016-01-10
    • 2015-07-13
    • 2011-09-25
    • 2017-01-13
    • 2020-03-23
    • 2014-04-18
    • 2017-06-03
    相关资源
    最近更新 更多