MVN-GAE-插件突然断裂(mvn-gae-plugin suddenly broken)

2019-08-17 04:45发布

我不知道发生了什么事,但我已不更改我的聚甲醛和只是做一个干净的安装,但现在我的运行与应用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可以从未来。

Answer 1:

暂时,你可以使用这个丑陋的黑客

<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>


Answer 2:

我仍然不知道是什么问题了,也就是说谁是在1.7.5版本GAE运行时拉但这是工作,围绕为我工作。 添加在配置文件/编译/插件/插件等你的Maven-GAE-插件在以下

<dependencies>
    <dependency>
        <groupId>net.kindleit</groupId>
        <artifactId>gae-runtime</artifactId>
        <version>1.7.2</version>
        <type>pom</type>
    </dependency>
</dependencies>


文章来源: mvn-gae-plugin suddenly broken