Oct 16, 2009 11:38 AM
Unable to retrieve a resource from the Jive maven repositories
When I try and build some of the sample plugins I get this maven error coming from the Jive repositories (see bold below).
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact com.jivesoftware.maven:maven-clearspace-plugin-packager: checking for updates from jive.central
[WARNING] repository metadata for: 'artifact com.jivesoftware.maven:maven-clearspace-plugin-packager' could not be retrieved from repository: jive.central due to an error: Error transferring file: Server redirected too many times (20)
[INFO] Repository 'jive.central' will be blacklisted
Downloading: http://maven-secure.jivesoftware.com/archiva/repository/jive.internal/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[INFO] Unable to find resource 'woodstox:wstx-asl:pom:3.2.1' in repository jive.internal (http://maven-secure.jivesoftware.com/archiva/repository/jive.internal)
Downloading: http://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[INFO] Unable to find resource 'woodstox:wstx-asl:pom:3.2.1' in repository jive.snapshots (http://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots)
Downloading: http://maven.jivesoftware.com/central/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[WARNING] Unable to get resource 'woodstox:wstx-asl:pom:3.2.1' from repository jive.central (http://maven.jivesoftware.com/central): Error transferring file: Server redirected too many times (20)
Downloading: http://repo1.maven.org/maven2/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[INFO] Unable to find resource 'woodstox:wstx-asl:pom:3.2.1' in repository central (http://repo1.maven.org/maven2)
[INFO] [dependency:copy-dependencies {execution: copy-extra-dependencies}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/kgilpin/jive-dev/plugins/embedcontent/trunk/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target/tmp-classes.jar
[INFO] [clearspacepackager:package-plugin {execution: default}]
[INFO] Creating exploded plugin directory: /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target/embedcontent
[INFO] Building plugin jar: /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target/embedcontent.jar
[INFO] [antrun:run {execution: rename-exploded}]
[INFO] Executing tasks
[delete] Deleting 1 files from /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target
[INFO] Executed tasks
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target/tmp-classes.jar to /home/kgilpin/.m2/repository/com/jivesoftware/plugin/embedcontent/embedcontent/2.1.0.dev_SNAPSHOT/embedcontent-2.1.0.dev_SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact: File /home/kgilpin/jive-dev/plugins/embedcontent/trunk/target/tmp-classes.jar does not exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Fri Oct 16 14:28:10 EDT 2009
[INFO] Final Memory: 21M/38M
[INFO] ------------------------------------------------------------------------
Fetching the URL http://maven.jivesoftware.com/central in a browser leads to a similar error (too many redirects) and ends with the URL http://maven.jivesoftware.com/archivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivaarchivacentral