mvn-gae-plugin突然断了 [英] mvn-gae-plugin suddenly broken
问题描述
我不知道发生了什么,但我没有更改我的pom,只做了一个干净的安装,但现在用 mvn gae:run
运行我的应用程序。给出了以下错误:
$ p
[错误]未能执行目标net.kindleit:maven-gae-plugin:0.9。 4:在项目geoip-service上运行(default-cli):执行目标net.kindleit的默认cli:maven-gae-plugin:0.9.4:运行失败:插件net.kindleit:maven-gae-plugin:0.9。 4或其依赖项之一无法解析:无法收集net.kindleit的依赖关系:maven-gae-plugin:jar:0.9.4():无法读取net.kindleit的工件描述符:gae-runtime:pom: 1.7.5:无法找到神器net.kindleit:maven-gae-parent:pom:0.9.6-SNAPSHOT in genius(our_own_repo_here)
我使用的是1.7.2版本的sdk,所以我不确定1.7.5可能来自哪里。
目前,您可以使用这个丑陋的黑客
<性状>
< 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>
<配置>
< unpackVersion> $ {gae.version}< / unpackVersion>
< serverId> appengine.google.com< / serverId>
< appDir> $ {webappDirectory}< / appDir>
< / configuration>
<依赖关系>
< dependency>
< groupId> net.kindleit< / groupId>
< artifactId> gae-runtime< / artifactId>
< version> $ {gae-runtime.version}< / version>
< type> pom< / type>
< /依赖关系>
< /依赖关系>
< / plugin>
I'm not sure what happened but I've made not changes to my pom and have only done a clean install but now running my app with mvn gae:run
gives me the following error:
[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)
I'm using the 1.7.2 version of the sdk so I'm not sure where the 1.7.5 could be coming from.
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>
这篇关于mvn-gae-plugin突然断了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!