Thank you very much for the help, Julien - and quick too :) Joe
On Fri, Jan 22, 2010 at 9:28 AM, Julien HENRY <[email protected]> wrote: > Hi, > > Since GWT 2.0 there is no more -windows or -linux version. Only one single > JAR for all platforms. > > Regards, > > Julien > > > > ----- Message d'origine ---- >> De : Joe Hudson <[email protected]> >> À : [email protected] >> Envoyé le : Ven 22 Janvier 2010, 15 h 18 min 13 s >> Objet : [mojo-user] [GWT] help with maven plugin and GWT 2.0.0 >> >> Hello, >> >> I just wanted to try out this maven plugin with GWT 2.0 (I am fairly >> new). I ran into what is probably a dumb issue and was hoping to get >> some advice. I have a standard POM generated from the archetype (with >> just the 2.0.0 formal release modifications). >> >> As far as I can tell, I don't have a reference to gwt-dev in my POM. >> but it seems that the classifier is maybe not valid anymore because >> there doesn't seem to be a "windows" version anymore: >> http://mirrors.ibiblio.org/pub/mirrors/maven2/com/google/gwt/gwt-dev/2.0.0/ >> >> I would really appreciate some help here. Thank you very much. >> >> Joe >> >> -------------- my POM file >> ----------------------------------------------------------------- >> >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/maven-v4_0_0.xsd"> >> >> 4.0.0 >> com.test >> app >> war >> 1.0-SNAPSHOT >> gwt-maven-archetype-project >> >> >> >> >> 2.0.0 >> >> >> 1.5 >> 1.5 >> >> >> >> >> >> >> >> com.google.gwt >> gwt-servlet >> ${gwt.version} >> runtime >> >> >> com.google.gwt >> gwt-user >> ${gwt.version} >> provided >> >> >> >> >> junit >> junit >> 4.4 >> test >> >> >> >> >> war/WEB-INF/classes >> >> >> org.codehaus.mojo >> gwt-maven-plugin >> 1.1-SNAPSHOT >> >> >> >> compile >> generateAsync >> test >> >> >> >> >> >> >> >> org.apache.maven.plugins >> maven-compiler-plugin >> 2.0.2 >> >> ${maven.compiler.source} >> ${maven.compiler.target} >> >> >> >> org.codehaus.mojo >> gwt-maven-plugin >> 1.1 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ---------------------- build results >> ----------------------------------------------------------------------------------------------- >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'eclipse'. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building gwt-maven-archetype-project >> [INFO] task-segment: [eclipse:eclipse] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Preparing eclipse:eclipse >> [INFO] [gwt:generateAsync {execution: default}] >> [INFO] using GWT jars from project dependencies : 2.0.0 >> Downloading: >> http://mirrors.ibiblio.org/pub/mirrors/maven2/com/google/gwt/gwt-dev/2.0.0/gwt-dev-2.0.0-windows.jar >> [INFO] Unable to find resource >> 'com.google.gwt:gwt-dev:jar:windows:2.0.0' in repository ibiblio >> (http://mirrors.ibiblio.org/pub/mirrors/maven2) >> Downloading: >> http://repo1.maven.org/maven2/com/google/gwt/gwt-dev/2.0.0/gwt-dev-2.0.0-windows.jar >> [INFO] Unable to find resource >> 'com.google.gwt:gwt-dev:jar:windows:2.0.0' in repository central >> (http://repo1.maven.org/maven2) >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: com.google.gwt >> ArtifactId: gwt-dev >> Version: 2.0.0 >> >> Reason: Unable to download the artifact from any repository >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=com.google.gwt >> -DartifactId=gwt-dev -Dversion=2.0.0 -Dclassifier=windows >> -Dpackaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file there: >> mvn deploy:deploy-file -DgroupId=com.google.gwt >> -DartifactId=gwt-dev -Dversion=2.0.0 -Dclassifier=windows >> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> >> com.google.gwt:gwt-dev:jar:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2), >> ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2) >> >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 1 second >> [INFO] Finished at: Fri Jan 22 09:06:30 EST 2010 >> [INFO] Final Memory: 21M/223M >> [INFO] >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
