Who is responsible for updating the Maven repository for App Engine and can anyone else do it? [closed]
I have this declaration in my pom.xml
:
<repositories&开发者_高级运维gt;
<repository>
<id>jboss-repo</id>
<name>jboss repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
So, when I try to update my project to use the latest version of the Google App Engine SDK (1.5.3), I get this error message from Maven on the command line:
Downloading: https://repository.jboss.org/nexus/content/groups/public/com/google/appengine/appengine-api-1.0-sdk/1.5.3/appengine-api-1
.0-sdk-1.5.3.jar
[INFO] Unable to find resource 'com.google.appengine:appengine-api-1.0-sdk:jar:1.5.3' in repository jboss-repo (https://repository.jbo
ss.org/nexus/content/groups/public)
Downloading: http://repo1.maven.org/maven2/com/google/appengine/appengine-api-1.0-sdk/1.5.3/appengine-api-1.0-sdk-1.5.3.jar
[INFO] Unable to find resource 'com.google.appengine:appengine-api-1.0-sdk:jar:1.5.3' in repository central (http://repo1.maven.org/ma
ven2)
This seems to mean that the repository has not been updated with the latest version of the App Engine SDK.
So, is it possible for anyone to update this public repository and add the latest version?
Or is it just a matter of having to wait for whoever is responsible for doing so to get around to it?
Why are you using the JBoss repo for GAE? GAE artifacts are in central, and if anything, I'd expect them to show up in the oss.sonatype.org Nexus server, but neither of those have 1.5.3 yet either.
What artifacts are you trying to get?
You can't download the sdk directly from maven. You have to download the individual sdk dependencies, i.e. appengine-tools, appengine-api and appengine-local-runtime-shared.
Thanks
Google is responsible for getting the JAR's into the central maven repository and that usually happens within a few days of the release of a new version. The JBoss repository is not necessary for the GAE artifacts.
Last I heard here from David Chandler (Google) was that there was an issue with the original 1.5.3 JAR so it was taking some extra time to get them into central.
Per David:
Not in Central yet. There was a problem found with the 1.5.3 Java SDK so I'm waiting for the final version to push to Central.
You would want to remind the SDK developers to post the latest version to Maven Central - except they already have been reminded.
As noted earlier, don't expect anyone else to post to JBoss's repo.
精彩评论