Originally posted by rhierlmeier
Announcement
Collapse
No announcement yet.
X
-
I am trying to install a newly purchased Smart GWT Pro using maven 3 with the guide on: http://wiki.smartclient.com/display/Main/Using+Maven+with+SmartGWT
It fails on:
[ERROR] Plugin com.google.code.maven.plugins:maven-http-client-plugin:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.google.code.maven.plugins:maven-http-client-plugin:jar:1.0.0-SNAPSHOT: Failure to find com.google.code.maven.plugins:maven-http-client-plugin:pom:1.0.0-20110216.014446-3 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
As far as I can see on the google code website the only version of this plugin available is "maven-http-client-plugin-1.0.0-beta1" and not "maven-http-client-plugin-1.0.0-SNAPSHOT".
Does anyone have any experience with this setup? Or even experienced this error? I could obviously use some help...
Danny
Comment
-
The build should try to get it from https://oss.sonatype.org/content/groups/public.
Seemed like that server was unavailable when I went to double check it a minute ago, but appears to be available now. Try again and let us know if it doesn't get sorted out.
Comment
-
Unfortunately it still does not work.
It first gives a warning:
Code:[WARNING] The POM for com.google.code.maven.plugins:maven-http-client-plugin:jar:1.0.0-20110216.014446-3 is missing, no dependency information available
Code:[ERROR] Plugin com.google.code.maven.plugins:maven-http-client-plugin:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.google.code.maven.plugins:maven-http-client-plugin:jar:1.0.0-SNAPSHOT: Failure to find com.google.code.maven.plugins:maven-http-client-plugin:pom:1.0.0-20110216.014446-3 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Comment
-
I have actually tried this...
If I delete
Code:~/.m2/repository/com/google/code/maven/plugins/maven-http-client-plugin
Code:[WARNING] The POM for com.google.code.maven.plugins:maven-http-client-plugin:jar:1.0.0-20110216.014446-3 is missing, no dependency information available
Code:[ERROR] Plugin com.google.code.maven.plugins:maven-http-client-plugin:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.google.code.maven.plugins:maven-http-client-plugin:jar:1.0.0-SNAPSHOT: Could not find artifact com.google.code.maven.plugins:maven-http-client-plugin:pom:1.0.0-20110216.014446-3 in central (http://repo1.maven.org/maven2) -> [Help 1]
Comment
-
This isn't going to be the best place to find maven help. That said, I'll give it one more try.
Do you perhaps have some mirror set up to a corporate repository (e.g., nexus) that's getting in your way? From what you've posted here, it doesn't look like your build is looking in the right place... If so, you'll want to turn that off, reconfigure your mirror, or proxy the sonatype repo from your corporate repo.
Again, if all else fails, you can download the jar and the pom manually and 'mvn install-file' to get the dependency installed before you run the build.
Comment
-
I have tried it on two separate computers. None of the should have any special settings.
If I look at the repository:
https://oss.sonatype.org/content/groups/public/com/google/code/maven/plugins/maven-http-client-plugin/1.0.0-SNAPSHOT/
there is nothing really to download... or is it just me?
Comment
-
You're right, it's gone. I'd swear it was there when I looked yesterday, but that of course doesn't help you now.
You'll have to download the artifacts from the project site and get them installed via mvn install-file. I guess I'll have to update the wiki to include those instructions and the attachments themselves.
Comment
-
The only problem is that on the project website on google code:
http://code.google.com/p/maven-http-client-plugin/downloads/list
there is only the beta available:
maven-http-client-plugin-1.0.0-beta1.jar
and not
maven-http-client-plugin-1.0.0-SNAPSHOT.jar
Do you know if it is possible to get elsewhere?
Comment
-
Funny you should ask, because I've been thinking that it probably makes sense to align the artifact versions with the new p/d build discriminators anyway. I was thinking of something along the lines of:
smartgwtpower-3.0
smartgwtpower-3.0p.20120127
smartgwtpower-3.1d.20120127-SNAPSHOT
You'd then also probably need to allow a mvn release goal to 'release' the snapshot builds internally, in the event that you wanted to use them in production. e.g., I have some feature sponsorships going that I might need to deploy before a final 3.1 build is available. That result would then of course look something like
smartgwtpower-3.1d.20120127
Sound okay?
Comment
-
Originally posted by jpappalardoCan I ask what you're sponsoring them for?
We've actually had a few things done. FWIW, we've so far found really good value in the feature sponsorship program. Recommended.
Anyway, current WIP includes:
1. DataSourceLoader automatic dependency loading from client-side load API. Some background on it here:
- special variant of load() that triggers this
- avoids clobbering already-loaded DataSources unless forceReload flag is set
2. direct DataSource i18n (my personal favorite):
- eliminate .jsp approach for DataSource for typical i18n attributes:
title, errorMessage, etc
- ability to specify resource bundle and attribute name, as well as
probably a loading strategy (eg classpath, spring)
3. Enum valueMaps (aka single-field schemaBean):
Property on a DataSource field allows auto-deriving valueMaps from a
Java enum
Comment
Comment