maven没有';我看不到最新的原型

maven没有';我看不到最新的原型,maven,Maven,此原型有一个最新版本4.1.3: 现场发布: Maven使用4.1.2版本,这是我收到的一条消息,上面说使用了4.1.2版本,但没有使用4.1.3版本: [INFO] Archetype repository not defined. Using the one from [org.jbehave:jbehave-simple-archetype:4.1.2] found in catalog remote 如何使用此原型的最新版本生成项目?最新版本似乎不在Maven Central repo

此原型有一个最新版本4.1.3:
现场发布:

Maven使用4.1.2版本,这是我收到的一条消息,上面说使用了4.1.2版本,但没有使用4.1.3版本:

[INFO] Archetype repository not defined. Using the one from [org.jbehave:jbehave-simple-archetype:4.1.2] found in catalog remote

如何使用此原型的最新版本生成项目?

最新版本似乎不在Maven Central repository中

通过将其添加到pom中,我成功地获得了
4.1.3

<repositories>
    <repository>
    <id>a</id>
    <url>https://mvnrepository.com</url>
    <releases>
       <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
 </repository>
</repositories>

A.
https://mvnrepository.com
真的
假的
更新

奇怪的是,如果没有添加
repositories
部分,它现在似乎可以工作了。我删除了它,并从我的本地
.m2/存储库中删除了所有
jbehave
内容-只是为了测试-然后重试,现在找到了最新的

我猜本地Maven索引会同时更新,或者Maven站点也会更新。第一次尝试时,我得到了最新版本
4.1.1

在未来,我想最好先更新/重建maven回购索引

[INFO] Archetype repository not defined. Using the one from [org.jbehave:jbehave-simple-archetype:4.1.2] found in catalog remote
<repositories>
    <repository>
    <id>a</id>
    <url>https://mvnrepository.com</url>
    <releases>
       <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
 </repository>
</repositories>