Export to GitHub

gwt-maven - issue #63

Cannot install plugin for maven 2 (1.5.3-SNAPSHOT)


Posted on Oct 10, 2007 by Happy Rhino

Hi, I am trying to run the maven2 plugin for the googlewebtoolkit. I am currentyl trying to use the 1.5.3-SNAPSHOT (the 1.5.3. Release has broken checksums!). All files seem to be pointing to the correct resources, as it physically downloads the POM for the plugin, it even succeeds in downloading the parent POM (maven-googlewebtoolkit), but then maven cannot find any plugin which responds to gwt: prefix.

Here is my maven output (with -e and -X flags set): mvn -e -X gwt:gwt [...] [DEBUG] maven-googlewebtoolkit2-plugin: resolved to version 1.5.3-20070405.194657-1 from repository gwt-maven [DEBUG] Trying repository gwt-maven Downloading: http://gwt- maven.googlecode.com/svn/trunk/mavenrepo/com/totsp/gwt/maven-googlewebtoolkit2- plugin/1.5.3-SNAPSHOT/maven-googlewebtoolkit2-plugin-1.5.3-20070405.194657-1.pom [DEBUG] Artifact resolved [DEBUG] Retrieving parent-POM: com.totsp.gwt:maven-googlewebtoolkit::1.0.1 for project: com.totsp.gwt:maven-googlewebtoolkit2-plugin:maven-plugin:1.5.3-SNAPSHOT from the repository. [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/com/totsp/gwt/maven- googlewebtoolkit/1.0.1/maven-googlewebtoolkit-1.0.1.pom [DEBUG] Unable to get resource 'com.totsp.gwt:maven-googlewebtoolkit:pom:1.0.1' from repository central (http://repo1.maven.org/maven2) [DEBUG] Trying repository gwt-maven Downloading: http://gwt- maven.googlecode.com/svn/trunk/mavenrepo/com/totsp/gwt/maven- googlewebtoolkit/1.0.1/maven-googlewebtoolkit-1.0.1.pom [DEBUG] Artifact resolved [DEBUG] maven-googlewebtoolkit2-plugin: using locally installed snapshot [DEBUG] Skipping disabled repository central [INFO] Cannot find mojo descriptor for: 'gwt:gwt' - Treating as non-aggregator. [DEBUG] org.apache.maven.plugin.PluginNotFoundException: Plugin could not be found - check that the goal name is correct: 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.totsp.gwt -DartifactId=maven-googlewebtoolkit2- plugin \ -Dversion=1.5.3-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.totsp.gwt -DartifactId=maven-googlewebtoolkit2-plugin \ -Dversion=1.5.3-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] com.totsp.gwt:maven-googlewebtoolkit2-plugin:maven-plugin:1.5.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) com.totsp.gwt:maven-googlewebtoolkit2-plugin:maven-plugin:1.5.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [...] Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

I have attached my settings.xml and my pom.xml

Thx for your support

Stefan

Attachments

Comment #1

Posted on Nov 14, 2007 by Massive Dog

This is an error in our documentation, which we plan to address soon. You need to add a plugin repo as explained in the FAQ - http://code.google.com/p/gwt-maven/wiki/M2FAQ.

Status: WontFix

Labels:
Type-Defect Priority-Medium