使用 GAE 和 DataNucleus 的 Maven 问题

发布于 2024-09-02 04:42:09 字数 1421 浏览 1 评论 0原文

我在检索 Maven/Java/Google App Engine 项目中的 2 个工件时遇到问题:

  1. com.google.appengine.orm:datanucleus-appengine:jar:1.0.7.final
  2. com.google.appengine:appengine-api-1.0-sdk:jar:1.3.4

有一个 发布了类似的问题,但每个答案都让我回到相同的错误消息。

更多详细信息

我不知道它是否相关,但我对 DataNucleus 的原始依赖项包含一个变量,而不是版本号。我正在使用 Eclipse。

<groupId>org.datanucleus</groupId>
        <artifactId>datanucleus-core</artifactId>
        <version>${datanucleus.version}</version>
        <scope>runtime</scope>

为了简洁起见,我没有将堆栈跟踪包含在 Maven 中。请告诉我发布它是否有帮助。谢谢。

更新

我能够通过将版本从 1.0.7.final 更改为 1.0.6.final 来获取 DataNucleus 工件(检查 此存储库)并回滚到 AppEngine 1.3 .3(谢谢@Taylor!)。但是,我仍然找不到 appengine-java-sdk:jar:1.3.3 的存储库。没有 jar 文件 托管在 Google 代码

有谁知道在哪里可以找到appengine-java-sdk jar

I'm having trouble retrieving 2 artifacts in my Maven/Java/Google App Engine project:

  1. com.google.appengine.orm:datanucleus-appengine:jar:1.0.7.final
  2. com.google.appengine:appengine-api-1.0-sdk:jar:1.3.4

There's a similar question posted, but each answer brings me back to the same error message.

More detail

I don't know if it is relevant, but rather than a version number, my original dependency for DataNucleus contained a variable. I am using Eclipse.

<groupId>org.datanucleus</groupId>
        <artifactId>datanucleus-core</artifactId>
        <version>${datanucleus.version}</version>
        <scope>runtime</scope>

I did not include my stack trace in Maven for brevity's sake. Please let me know if it would help to post it. Thank you.

UPDATE

I was able to get the DataNucleus artifact by changing the version from 1.0.7.final to 1.0.6.final (check this repo) and rolling back to AppEngine 1.3.3 (thanks, @Taylor!). However, I still can't find the repo for appengine-java-sdk:jar:1.3.3. There are no jar files hosted at Google Code.

Does anyone know where to find the appengine-java-sdk jar?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

全部不再 2024-09-09 04:42:09

maven-gae-plugin 尚不支持 App Engine SDK 1.3.4 版。请在此处查看该问题。

另外,根据您对问题的最新编辑,您不应该使用版本 1.3.3。相反,您应该使用版本 1.3.3.1(请参阅 在这里)。此外,appengine-java-sdk jar 可以在 maven-gae-plugin 存储库中找到(请参阅 此处)。

Version 1.3.4 of the App Engine SDK is not yet supported by the maven-gae-plugin. Please see the issue here.

Also, based on your latest edit to the question you should NOT be using version 1.3.3. Rather, you should be using version 1.3.3.1 (see here). Also, the appengine-java-sdk jar is available in the maven-gae-plugin repo (see here).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文