English 中文(简体)
maven-gae-plugin 0.9.2 正在用山角探测器1.5.2进行部署,但应当是1.6.1。
原标题:maven-gae-plugin 0.9.2 is deploying with google app engine 1.5.2, but should be 1.6.1

mvn gae:deploy给了我们以下“info”:

[INFO]

[INFO]<<< maven-gae-plugin:0.9.2:deploy (default-cli) @ gk <<<

[INFO]

[INFO]--- maven-gae-plugin:0.9.2:deploy (default-cli) @ gk ---

[INFO]Updating Google App Engine Server...


There is a new version of the SDK available.

Latest SDK: Release: 1.6.1 Timestamp: Wed Nov 09 16:16:16 EST 2011 API versions: [1.0]


Your SDK: Release: 1.5.2 Timestamp: Mon Jul 18 19:48:56 EDT 2011 API versions: [1.0]

但是,在我的pom.xml档案中,我们有1.6.1的加热版本:

<gae.version>1.6.1</gae.version>

我们确信,该守则是用1.6.1汇编的。

我们如何确保1.6.1用于部署?

(格式道歉:......)

最佳回答

您可以强制使用:

        <properties>
            <gae.version>1.6.1</gae.version>
        </properties>

        <plugin>
            <groupId>net.kindleit</groupId>
            <artifactId>maven-gae-plugin</artifactId>
            <version>0.9.2</version>
            <configuration>
                <unpackVersion>${gae.version}</unpackVersion>
            </configuration>
            <executions>
                <execution>
                    <phase>validate</phase>
                    <goals>
                        <!--suppress MavenModelInspection -->
                        <goal>unpack</goal>
                    </goals>
                </execution>
            </executions>
            <dependencies>
                <dependency>
                    <groupId>net.kindleit</groupId>
                    <artifactId>gae-runtime</artifactId>
                    <version>${gae.version}</version>
                    <type>pom</type>
                </dependency>
            </dependencies>
        </plugin>

www.un.org/Depts/DGACM/index_french.htm 目标使得能够下载GAE SDK,并将它存放在当地的Maven repo(/m2)。 使用mvn gae:un Pack

问题回答

暂无回答




相关问题
How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

gqlQuery returns object, want list of keys

Is there a way to convert the GqlQuery object to an array of keys, or is there a way to force the query to return an array of keys? For example: items = db.GqlQuery("SELECT __key__ FROM Items") ...

Integrating Google AppEngine with a Thick Client

I want to make a multi-user client-server solution with Java Swing thick client as a front-end and Google AppEngine (Java one) as a back-end. The problem is that GAE provides only web-based forms for ...

sorl.thumbnail : thumbnail is not a valid tag library?

I am trying to install sorl.thumbnail but am getting the following error message: thumbnail is not a valid tag library: Could not load template library from django.templatetags.thumbnail, No module ...

热门标签