Is http://repository.jboss.org/maven2 not the JBoss repo? If so the artifact doesn't reside there. Can we use an earlier version for moment?

Rob

On 23/10/10 14:24, Dan Haywood wrote:
Yes, Kevin and I had the same prob. I'm guessing (though I haven't got the time to check) that there's a corruption in the central repo.

It ought to be enough just to specify another repo that has an uncorrupted copy, eg in viewer/restful/pom.xml. I think that JBoss has a 3rd party jars repo, so use that.

Dan

On 23/10/2010 14:16, Robert Matthews wrote:
Is any body else having a build problem with slf4j-api-1.5.2.jar when building the Restful Viewer AppLib module. I'm getting the error shown below. I've removed the artifact from my local repo and tried again, but that didn't help.

How can I tell Maven to pick it up from another repo?

Thanks
Rob




[INFO] Building Restful Viewer AppLib
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [remote-resources:process {execution: default}]
Downloading: http://repository.apache.org/snapshots/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository apache.snapshots (http://repository.apache.org/snapshots) Downloading: http://repository.jboss.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository jboss (http://repository.jboss.org/maven2) Downloading: http://download.java.net/maven/2//org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository maven2-repository.dev.java.net (http://download.java.net/maven/2/) Downloading: http://download.java.net/maven/1/org.slf4j/poms/slf4j-api-1.5.2.pom [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository maven-repository.dev.java.net (http://download.java.net/maven/1) Downloading: http://jakarta.apache.org/commons/httpclient//org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository jakarta (http://jakarta.apache.org/commons/httpclient/) Downloading: https://maven-repository.dev.java.net/nonav/repository/org.slf4j/poms/slf4j-api-1.5.2.pom
355b downloaded  (slf4j-api-1.5.2.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '936b707f398cb0e0e331183d5f9b4f27ee37554b'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven-repository.dev.java.net/nonav/repository/org.slf4j/poms/slf4j-api-1.5.2.pom
355b downloaded  (slf4j-api-1.5.2.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '936b707f398cb0e0e331183d5f9b4f27ee37554b'; remote = '<!DOCTYPE' - IGNORING
[WARNING] POM for 'org.slf4j:slf4j-api:pom:1.5.2:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.slf4j:slf4j-simple:pom:1.5.2:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
Downloading: http://repository.apache.org/snapshots/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:1.5.2' in repository apache.snapshots (http://repository.apache.org/snapshots) Downloading: http://repository.jboss.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:1.5.2' in repository jboss (http://repository.jboss.org/maven2) Downloading: http://download.java.net/maven/2//org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:1.5.2' in repository maven2-repository.dev.java.net (http://download.java.net/maven/2/) Downloading: http://download.java.net/maven/1/org.slf4j/jars/slf4j-api-1.5.2.jar [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:1.5.2' in repository maven-repository.dev.java.net (http://download.java.net/maven/1) Downloading: http://jakarta.apache.org/commons/httpclient//org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:1.5.2' in repository jakarta (http://jakarta.apache.org/commons/httpclient/) Downloading: https://maven-repository.dev.java.net/nonav/repository/org.slf4j/jars/slf4j-api-1.5.2.jar
355b downloaded  (slf4j-api-1.5.2.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'af1b0dea4fdc838082fd29d710a2ea882e2e0479'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven-repository.dev.java.net/nonav/repository/org.slf4j/jars/slf4j-api-1.5.2.jar
355b downloaded  (slf4j-api-1.5.2.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'af1b0dea4fdc838082fd29d710a2ea882e2e0479'; remote = '<!DOCTYPE' - IGNORING [WARNING] Invalid project model for artifact [slf4j-simple:org.slf4j:1.5.2]. It will be ignored by the remote resources Mojo. [WARNING] Invalid project model for artifact [slf4j-api:org.slf4j:1.5.2]. It will be ignored by the remote resources Mojo.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/rcm/isis-development/trunk/viewer/restful/applib/src/main/resources
[INFO] Copying 3 resources
[WARNING] POM for 'org.slf4j:slf4j-api:pom:1.5.2:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.slf4j:slf4j-simple:pom:1.5.2:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 13 source files to /home/rcm/isis-development/trunk/viewer/restful/applib/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading /home/rcm/.m2/repository/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar; error in opening zip file [ERROR] error: error reading /home/rcm/.m2/repository/org/slf4j/slf4j-simple/1.5.2/slf4j-simple-1.5.2.jar; error in opening zip file
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure



Reply via email to