eden-demo-cola icon indicating copy to clipboard operation
eden-demo-cola copied to clipboard

eden-parent拉不下来

Open china-Charles-yang opened this issue 1 year ago • 1 comments

<parent>
	<groupId>io.github.shiyindaxiaojie</groupId>
	<artifactId>eden-parent</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<relativePath/>
</parent>

这个东西在哪里

china-Charles-yang avatar Sep 21 '23 01:09 china-Charles-yang

这不是个 bug,只是作者没有明确写在文档中。

从坐标就可以看出来,作者是将构件上传到了 github packages 上了,所以你需要保证你本地可以正常拉取 github packages 上的构件。

解决方案有两种:

  • 方式一:修改 ~/.m2/settings.xml,以保证你本地可以拉取 github packages 上的资源
        <!-- 在你的 settings.xml 中追加这部分内容 -->
        <server>
            <id>github</id>
            <username>你的 github username</username>
            <password>github access tokens</password>
        </server>
  • 方式二:git clone 作者的脚手架工程 shiyindaxiaojie/eden-architect,在你本地 mvn clean install -DskipTests,将其 install 到你的本地仓库,这样你就不要去远程拉取了

xooooooooox avatar Nov 22 '23 08:11 xooooooooox