Thursday, October 23, 2014

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

Hi found a strange issue using gwt-maven-plugin:2.7.0-beta1:run

Seems to be related to the "compileSourcesArtifacts"

I get the following error

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0-beta1:run (default-cli) on project portal: artifact not found - Failure to find com.123:map-gwt:jar:sources:1.1.2 in http://.....:8081/artifactory/plugins-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of artifactory-plugins has elapsed or updates are forced
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.123 -DartifactId=map-gwt -Dversion=1.1.2 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.123 -DartifactId=map-gwt -Dversion=1.1.2 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR] com.anritsu:map-gwt:jar:1.1.2

this only happens only when the artifact is not in the local repo. If manually added the build works.

This surfaced when i tried to enable gwt 2.7 beta on the continuous integration servers.

With gwt-maven-plugin:2.6.1 there is no problems.
and the only particularity for this artifact is that is used with 

<compileSourcesArtifacts>
                        <compileSourcesArtifact>com.123:map-gwt</compileSourcesArtifact>
 </compileSourcesArtifacts>

Thanks 

On Sunday, September 14, 2014 5:07:05 AM UTC+2, Thomas Broyer wrote:
Hi all,

I spent some hours updating the gwt-maven-plugin to GWT 2.7.0-SNAPSHOT, and just deployed a snapshot to the https://nexus.codehaus.org/content/repositories/snapshots/ repository.

You should thus be able to test GWT 2.7.0-SNAPSHOT more easily by switching to gwt-maven-plugin 2.7.0-SNAPSHOT.

Feedback welcome, both on the plugin and on GWT.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment