这个地方报错,研究之后 发现

解决办法:在setting.xml 中添加

<mirror>
      <id>mirrorId</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://central.maven.org/maven2/</url>

    </mirror>

然后用mavne  -》 update project

GitHub 加速计划 / ma / maven
27
0
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:4 个月前 )
023b0149 * Add a <Source> element in the model. Properties are: - directory (inherited from FileSet) - includes (inherited from PatternSet) - excludes (inherited from PatternSet) - scope - lang - module - targetVersion - targetPath (taken from <Resource>) - filtering (taken from <Resource>) - enabled This commit also renames `source` parameter value in `reader-stax.vm` for avoiding name collision with the new `Source` model element. https://github.com/apache/maven/pull/1936 * Resolve an ambiguity in the description of `target` behavior. Rename `filtering` as `stringFiltering` for avoiding confusion with file filtering. * Corrections in the comment about mapping from old elements to <Source>. 22 小时前
dda614de Signed-off-by: crazyhzm <crazyhzm@apache.org> 2 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐