App Engine 1.3.7 now available in maven central

8 views
Skip to first unread message

David Chandler (Google)

unread,
Sep 1, 2010, 11:28:59 AM9/1/10
to maven-gae-plugin
I'm pleased to announce that App Engine 1.3.7 is now available in
maven central. Now that a better process is in place, I expect to be
able to push future versions shortly after each release.

/dmc
David Chandler
Developer Programs Engineer
Google, Inc.

Manuel Grau

unread,
Sep 1, 2010, 11:58:26 AM9/1/10
to maven-ga...@googlegroups.com
Hi David,

That's great David !!! Thank you very much !! We will update our plugin in the next days.

Best regards.



2010/9/1 David Chandler (Google) <drfib...@google.com>



--
Manuel Grau Aracil
JEE Architect/Developer


"The only way to do great work is to love what you do. If you haven’t found it yet, keep looking" Steve Jobs.

Taylor Leese

unread,
Sep 1, 2010, 12:21:00 PM9/1/10
to maven-gae-plugin
In case people missed David's other post regarding the location of the
non-Google artifacts then look here (http://groups.google.com/group/
maven-gae-plugin/browse_thread/thread/6c13c7b89e952440). I was just
able to build my project only referencing central for the first time.
Very cool!

Thank you,
Taylor

David Chandler

unread,
Sep 1, 2010, 3:20:50 PM9/1/10
to maven-ga...@googlegroups.com
Thanks, Taylor. Since you've already got a good POM going, do you mind
posting it for everyone?

/dmc

--
David Chandler
Developer Programs Engineer, Google Web Toolkit
http://googlewebtoolkit.blogspot.com/

Taylor Leese

unread,
Sep 1, 2010, 5:19:49 PM9/1/10
to maven-gae-plugin
David,

I just noticed one issue in the pom I thought was working correctly. I
had a reference to appengine-local-runtime version 1.3.7 in my pom. It
looks like the local-runtime jar's are not in the central maven repo
-- or at least I was looking in the wrong spot. Shouldn't local-
runtime also be there?

Thank you,
Taylor

Taylor Leese

unread,
Sep 1, 2010, 5:23:39 PM9/1/10
to maven-gae-plugin
David/Rodolfo,

It's worth noting that I didn't notice this before because gae:unpack
will pull it in from the maven-gae-plugin repository since it's
referenced in the net.kindleit gae-runtime. Regardless, here's a link
to my current pom.xml for jappstart.

http://github.com/tleese22/google-app-engine-jappstart/blob/master/pom.xml

- Taylor

David Chandler

unread,
Sep 1, 2010, 5:24:31 PM9/1/10
to maven-ga...@googlegroups.com
Actually, no. It's only useful as part of the SDK ZIP distribution
because App Engine requires a very specific structure.

Run mvn gae:unpack first to unzip the SDK into your local maven repo,
then you can use dependencies like this:

<properties>
<gae.version>1.3.7</gae.version>
<gae.home>${user.home}/.m2/repository/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}</gae.home>
</properties>


<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-local-runtime</artifactId>
<version>${gae.version}</version>
<scope>system</scope>
<systemPath>${gae.home}/lib/appengine-tools-api.jar</systemPath>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-tools-api</artifactId>
<version>${gae.version}</version>
<scope>system</scope>
<systemPath>${gae.home}/lib/appengine-tools-api.jar</systemPath>
</dependency>


Perhaps a future version of maven-gae-plugin will do this
automatically so the system-scoped deps are not necessary?

/dmc

--

Taylor Leese

unread,
Sep 1, 2010, 5:42:43 PM9/1/10
to maven-gae-plugin
David,

Is it correct that the system path for appengine-local-runtime uses
the appengine-tools-api or is that a typo? <systemPath>${gae.home}/lib/
appengine-tools-api.jar</systemPath>

Thank you,
Taylor

Rodolfo

unread,
Sep 1, 2010, 5:51:17 PM9/1/10
to maven-gae-plugin
Yes,

The local-runtime is unnecessary. gae-runtime 1.3.7.1 is now available
in the projects repository.

We will release 0.7.1 soon which includes the new cron-info goal, and
cleaned up the archetypes with more up-to-date dependencies.

David Chandler

unread,
Sep 1, 2010, 6:18:16 PM9/1/10
to maven-ga...@googlegroups.com
appengine-tools-api is correct. It's called -sdk in the maven repo for
historical reasons, and I kept that name in the repo so as not to
pollute the repo with different dir names over time.

/dmc

--

Taylor Leese

unread,
Sep 1, 2010, 7:11:59 PM9/1/10
to maven-gae-plugin
David,

I was asking about appengine-local-runtime having appengine-tools-
api.jar rather than appengine-local-runtime.jar (see arrows) rather
than the api vs sdk naming appengine tools? Just wanted to confirm
this was in fact correct or a typo.

<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-local-runtime</
artifactId> <----------------------
<version>${gae.version}</version>
<scope>system</scope>
<systemPath>${gae.home}/lib/appengine-tools-
api.jar</systemPath> <-------------------------
</dependency>

Thank you,
Taylor

David Chandler

unread,
Sep 1, 2010, 7:21:43 PM9/1/10
to maven-ga...@googlegroups.com
Ah, sorry. Actually, it is correct, if a little weird.

/dmc

--

Reply all
Reply to author
Forward
0 new messages