无法使用 Maven 解决 Derby 10.5.3.0 依赖关系
我正在尝试构建我的客户端应用程序以将 Derby 10.5.3.0 包含在 Maven 构建中。我的 pom.xml 依赖项是:
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.5.3.0</version>
<scope>compile</scope>
</dependency>
我在构建过程中收到此错误:
无法解析项目 DERBY:DerbyDemo:jar:0.0.1-SNAPSHOT 的依赖关系:无法收集 [org.apache.derby:derby:jar:10.5.3.0(编译)] 的依赖关系
其他版本的 Derby 构建正常。我想在构建中使用 10.5.3.0 来与服务器版本保持同步,即 Java DB 10.5.3.0 的 Oracle 下载
I'm trying to build my client application to include Derby 10.5.3.0 in a maven build. My pom.xml dependancy is :
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.5.3.0</version>
<scope>compile</scope>
</dependency>
I get this error during the build:
Could not resolve dependencies for project DERBY:DerbyDemo:jar:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.apache.derby:derby:jar:10.5.3.0 (compile)]
Other versions of Derby build fine. I wanted to use 10.5.3.0 in the build to stay in sync with the version of the server, which is the Oracle Download of Java DB 10.5.3.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
作为参考,发布时版本 10.9.1.0 有效:
我刚刚从 德比网站
For reference sake, at post time version 10.9.1.0 works:
I just picked the latest version from the Derby site
这是德比的一个相当旧的版本。并非所有版本的 Derby 都存储在主 Maven 存储库中。您可以使用较新的版本吗?
That's a fairly old version of Derby. Not all versions of Derby are stored in the master Maven repositories. Can you use a newer version?