我第一次尝试部署我的maven项目。
使用maven-gae,就像在一个原型项目中设置的那样,所以它应该可以工作。然而,我得到了这个错误:
错误未能执行目标net.kindleit:maven-gae- Plugin :0.9.6 :在项目UsavAppV7上部署(默认-cli):执行默认-cli目标net.kindleit:maven-gae:0.9.6:部署失败:pluginnet.kindleit:maven-gae:0.9.6或其依赖项无法解决:未能收集net.kindleit的依赖项:maven-gae-plugin:jar:0.9.6 ():未能读取net.kindleit的依赖项:maven-gae-plugin:jar:0.9.6()Net.kindleit:gae-运行时:pom:1.7.5:无法在maven2 2中找到工件net.kindleit:maven-gae-parent:pom:0.9.6-SNAPSHOT (http://download.java.net/maven/2/) ->帮助1
我正在使用appEngine1.8.0(不确定1.7.5位是什么意思)。曾经尝试过使用-U交换机,但同样的情况也发生了。
我注意到maven正在maven 2存储库中查找插件快照,所以可能是错误的版本或位置?
发布于 2013-10-23 09:54:03
将它添加到我的pom中可以完成这个任务,并允许我使用sdk和运行时的最新版本:
<gae.version>1.8.6</gae.version>
<gae-runtime.version>1.8.6</gae-runtime.version>
<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>https://stackoverflow.com/questions/19424200
复制相似问题