首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mvn-gae-plugin突然崩溃

mvn-gae-plugin突然崩溃
EN

Stack Overflow用户
提问于 2013-02-27 00:34:24
回答 2查看 1.3K关注 0票数 5

我不知道发生了什么,但我没有对我的pom进行任何更改,只做了一次全新的安装,但现在使用mvn gae:run运行我的应用程序时会出现以下错误:

[ERROR] Failed to execute goal net.kindleit:maven-gae-plugin:0.9.4:run (default-cli) on project geoip-service: Execution default-cli of goal net.kindleit:maven-gae-plugin:0.9.4:run failed: Plugin net.kindleit:maven-gae-plugin:0.9.4 or one of its dependencies could not be resolved: Failed to collect dependencies for net.kindleit:maven-gae-plugin:jar:0.9.4 (): Failed to read artifact descriptor for net.kindleit:gae-runtime:pom:1.7.5: Could not find artifact net.kindleit:maven-gae-parent:pom:0.9.6-SNAPSHOT in genius (our_own_repo_here)

我使用的是1.7.2版本的sdk,所以我不确定1.7.5是从哪里来的。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-02-28 06:39:33

现在,你可以使用这个丑陋的技巧。

代码语言:javascript
复制
<properties>
    <gae.version>1.7.5</gae.version>
    <gae-runtime.version>1.7.5.1</gae-runtime.version>
</properties>

    <plugin>
      <groupId>net.kindleit</groupId>
      <artifactId>maven-gae-plugin</artifactId>
      <version>${maven.gae.plugin.version}</version>
      <configuration>
            <unpackVersion>${gae.version}</unpackVersion>
            <serverId>appengine.google.com</serverId>
            <appDir>${webappDirectory}</appDir>
        </configuration>
        <dependencies>
            <dependency>
                <groupId>net.kindleit</groupId>
                <artifactId>gae-runtime</artifactId>
                <version>${gae-runtime.version}</version>
                <type>pom</type>
            </dependency>
        </dependencies>
    </plugin>
票数 6
EN

Stack Overflow用户

发布于 2013-02-27 05:13:20

我仍然不知道问题出在哪里,也不知道是谁引入了1.7.5版本的gae运行时,但这就是对我有效的变通方法。在profile/build/plugins/plugin等目录中的maven-gae-plugin下添加以下内容。

代码语言:javascript
复制
<dependencies>
    <dependency>
        <groupId>net.kindleit</groupId>
        <artifactId>gae-runtime</artifactId>
        <version>1.7.2</version>
        <type>pom</type>
    </dependency>
</dependencies>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15094381

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档