mvn-gae-plugin suddenly broken

人走茶凉 提交于 2019-12-04 08:10:17

For the time being, you can use this ugly hack

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

I still don't know what the issue was, I.e. who was pulling in gae-runtime of version 1.7.5 but this is the work around that worked for me. Add the following under your maven-gae-plugin in profile/build/plugins/plugin etc.

<dependencies>
    <dependency>
        <groupId>net.kindleit</groupId>
        <artifactId>gae-runtime</artifactId>
        <version>1.7.2</version>
        <type>pom</type>
    </dependency>
</dependencies>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!