Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New Official Google App Engine Maven Archetype Missing?

I just read the App Engine 1.7.4 release announcement:

http://googleappengine.blogspot.com/2012/12/app-engine-174-released.html

In the linked release notes it points to a guide about the new feature of using Maven:

https://developers.google.com/appengine/docs/java/tools/maven

That guide talks about using a maven archetype like:

mvn archetype:generate

and filtering for

com.google.appengine.archetypes:guestbook-archetype

I can't find the archetype for some reason and when I click on the link the guide has to search for the archetype in Maven Central, I get no results:

http://search.maven.org/#search%7Cga%7C1%7Ccom.google.appengine.archetype

Am I missing something? Can anyone let me know how to use that archetype?

like image 922
Shaun Avatar asked Dec 14 '12 18:12

Shaun


2 Answers

Seems like sync delay. The archetype is already there:

http://search.maven.org/#search%7Cga%7C1%7Cguestbook-archetype

Try clearing your local repo and do archetype:generate again:

mvn archetype:generate -DarchetypeGroupId=com.google.appengine.archetypes -DarchetypeArtifactId=guestbook-archetype -DarchetypeVersion=1.7.4
like image 101
Ivan Frolov Avatar answered Oct 06 '22 00:10

Ivan Frolov


Add maven central catalog file

  1. download this file http://search.maven.org/remotecontent?filepath=archetype-catalog.xml

  2. preference -> maven -> add catalog info

like image 33
hothead Avatar answered Oct 05 '22 22:10

hothead