gwtupload icon indicating copy to clipboard operation
gwtupload copied to clipboard

Problem with firing up samples

Open johnnny333 opened this issue 8 years ago • 5 comments

After executing mvn eclipse:eclipse in gwtupload/samples i get the following unresolved dependencies error

[ERROR] Failed to execute goal on project gwtupload-samples: Could not resolve dependencies for project com.googlecode.gwtupload:gwtupload-samples:war:1.0.4-SNAPSHOT: The following artifacts could not be resolved: gwtchismes:gwtchismes:jar:0.9.7, com.google.gwt:gwt-incubator:jar:20101117-r1766: Could not find artifact gwtchismes:gwtchismes:jar:0.9.7 in repo1 (http://repo1.maven.org/maven2/) -> [Help 1]

Is it worth to still use this library?

johnnny333 avatar Jul 08 '16 15:07 johnnny333

This seems to have disappeared from maven for some reason... not sure why that would happen. I have a copy here. Just copy it into your .m2/repository folder and it should work. @manolo Do you know what is happening here?

billy1380 avatar Sep 14 '17 21:09 billy1380

Same for me, please fix

ishadrin avatar Nov 06 '17 20:11 ishadrin

Also Failure to find com.google.gwt:gwt-incubator:jar:20101117-r1766

ishadrin avatar Nov 06 '17 20:11 ishadrin

Also

Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project jsupload: An Ant BuildException has occured: The directory /home/ishadrin/workspace/gwtupload/jsupload/target/gwtupload.wiki does not exist
[ERROR] around Ant part ...<exec dir="target/gwtupload.wiki" executable="true">... @ 13:55 in /home/ishadrin/workspace/gwtupload/jsupload/target/antrun/build-main.xml

ishadrin avatar Nov 06 '17 21:11 ishadrin

Whoever finds this, I made a small fix to build the library. It's not perfectly secure (I replaced a repo with a 3rd party one) but everything seems to work so... you've been warned.

diff --git a/pom.xml b/pom.xml
index 41cb7e3..12a58f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,9 +29,9 @@
     <gwtMaven>2.7.0</gwtMaven>
     <commonsFileuploadVersion>1.3.1</commonsFileuploadVersion>
     <commonsIoVersion>2.3</commonsIoVersion>
-    <gwtChismesVersion>0.9.7</gwtChismesVersion>
+    <gwtChismesVersion>0.9.8</gwtChismesVersion>
     <gwtExporterVersion>2.4.0-M1</gwtExporterVersion>
-    <gwtIncubatorVersion>20101117-r1766</gwtIncubatorVersion>
+    <gwtIncubatorVersion>2.0.1</gwtIncubatorVersion>
     <junitVersion>3.8.2</junitVersion>
     <log4jVersion>1.2.16</log4jVersion>
     <commonsLang3Version>3.1</commonsLang3Version>
@@ -183,7 +183,7 @@
   <repositories>
     <repository>
       <id>repo1</id>
-      <url>http://repo1.maven.org/maven2/</url>
+      <url>https://repo1.maven.org/maven2/</url>
     </repository>
     <repository>
       <id>gwtupload</id>
@@ -191,7 +191,7 @@
     </repository>
     <repository>
       <id>gwtchismes</id>
-      <url>http://gwtchismes.googlecode.com/svn/mavenrepo/</url>
+      <url>http://logicaldoc.sourceforge.net/maven/</url>
     </repository>
     <repository>
       <id>timepedia</id>

rkfg avatar Oct 12 '20 15:10 rkfg