Return to Jive Software

Skip navigation
2,229 Views 11 Replies Last post: Oct 27, 2009 3:17 PM by seant RSS
kegilpin Novice 36 posts since
Jul 17, 2009
Currently Being Moderated

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    

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 16, 2009 5:22 PM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

Hi Kevin,

 

Could you provide me with your current maven settings.xml file? ( feel free to remove login credentials )

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 19, 2009 2:39 PM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

Hey Kevin,

 

It looks like the servers section of your settings.xml is missing your login credentials:

<servers>
         <server>
            <id>jive.internal</id>
         </server>
         <server>
            <id>jive.snapshots</id>
         </server>
</servers>

 

Should look something like :

<servers>
         <server>
            <id>jive.internal</id>
            <username>your-name</username>
            <password>changeme</password>
         </server>
         <server>
            <id>jive.snapshots</id>
            <username>your-name</username>
            <password>changeme</password>
         </server>
         <server>
            <id>central</id>
            <username>your-name</username>
            <password>changeme</password>
         </server>
</servers>

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 20, 2009 11:18 AM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

Ah, you removed the whole XML element instead of it's contents. My apologies. I'm going to send this stack to one of our Professional Services engineers to see if they can shed some light on the issue.

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 20, 2009 11:30 AM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

Could you attach your pom.xml for this project?

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 21, 2009 9:38 AM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

Hi Kevin,

 

That sample plugin is no longer maintained and out of date and contains the incorrect maven repository address. It should be maven-secure.jivesoftware.com instead of maven.jivesoftware.com

sean.moran Jive Employee 7,745 posts since
Dec 10, 2007
Currently Being Moderated
Oct 22, 2009 4:37 PM in response to: kegilpin
Re: Unable to retrieve a resource from the Jive maven repositories

I'm not sure which of these are maintained but I've escalated to Core Engineering team to see which, if any, of these plugins are maintained.

seant Novice 8 posts since
Dec 6, 2007
Currently Being Moderated
Oct 27, 2009 3:17 PM in response to: Sean Moran
Re: Unable to retrieve a resource from the Jive maven repositories

I was running into the same problem and am also very interested in knowing the answer.

More Like This

  • Retrieving data ...

Bookmarked By (0)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.