Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-310

Maven build of Alfresco connector fails

    XMLWordPrintableJSON

    Details

      Description

      When I try "mvn clean install" on trunk, I get the following error:

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] ManifoldCF ........................................ SUCCESS [0.752s]
      [INFO] ManifoldCF - Framework ............................ SUCCESS [0.099s]
      [INFO] ManifoldCF - Framework - Core ..................... SUCCESS [3.788s]
      [INFO] ManifoldCF - Framework - UI Core .................. SUCCESS [1.327s]
      [INFO] ManifoldCF - Framework - Agents ................... SUCCESS [12.891s]
      [INFO] ManifoldCF - Framework - Pull Agent ............... SUCCESS [19.641s]
      [INFO] ManifoldCF - Framework - Authority Servlet ........ SUCCESS [1.089s]
      [INFO] ManifoldCF - Framework - API Servlet .............. SUCCESS [1.209s]
      [INFO] ManifoldCF - Framework - Authority Service ........ SUCCESS [4.296s]
      [INFO] ManifoldCF - Framework - API Service .............. SUCCESS [2.148s]
      [INFO] ManifoldCF - Framework - Crawler UI ............... SUCCESS [5.093s]
      [INFO] ManifoldCF - Framework - Script Engine ............ SUCCESS [6.514s]
      [INFO] ManifoldCF - Connectors ........................... SUCCESS [0.075s]
      [INFO] ManifoldCF - Connectors - Active Directory ........ SUCCESS [1.702s]
      [INFO] ManifoldCF - Connectors - Filesystem .............. SUCCESS [12.696s]
      [INFO] ManifoldCF - Connectors - MetaCarta GTS ........... SUCCESS [1.450s]
      [INFO] ManifoldCF - Connectors - jCIFS ................... SUCCESS [1.638s]
      [INFO] ManifoldCF - Connectors - JDBC .................... SUCCESS [1.560s]
      [INFO] ManifoldCF - Connectors - Null Authority .......... SUCCESS [1.332s]
      [INFO] ManifoldCF - Connectors - Null Output ............. SUCCESS [1.027s]
      [INFO] ManifoldCF - Connectors - RSS ..................... SUCCESS [2.727s]
      [INFO] ManifoldCF - Connectors - Solr .................... SUCCESS [1.474s]
      [INFO] ManifoldCF - Connectors - Web ..................... SUCCESS [3.440s]
      [INFO] ManifoldCF - Connectors - CMIS .................... SUCCESS [16.662s]
      [INFO] ManifoldCF - Connectors - OpenSearchServer ........ SUCCESS [2.050s]
      [INFO] ManifoldCF - Connectors - Wiki .................... SUCCESS [12.567s]
      [INFO] ManifoldCF - Connectors - Alfresco ................ FAILURE [2:15.432s]
      [INFO] ManifoldCF - Test materials ....................... SKIPPED
      [INFO] ManifoldCF - Test Materials - Alfresco WAR ........ SKIPPED
      [INFO] ManifoldCF - Framework - Jetty Runner ............. SKIPPED
      [INFO] ManifoldCF - Tests ................................ SKIPPED
      [INFO] ManifoldCF - Test - Alfresco ...................... SKIPPED
      [INFO] ManifoldCF - Test - Wiki .......................... SKIPPED
      [INFO] ManifoldCF - Test - CMIS .......................... SKIPPED
      [INFO] ManifoldCF - Test - Filesystem .................... SKIPPED
      [INFO] ManifoldCF - Test - Sharepoint .................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4:15.090s
      [INFO] Finished at: Thu Dec 08 03:43:10 EST 2011
      [INFO] Final Memory: 72M/181M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project mcf-alfresco-connector: Could not reso
      lve dependencies for project org.apache.manifoldcf:mcf-alfresco-connector:jar:0.
      4.0-SNAPSHOT: The following artifacts could not be resolved: org.opensaml:opensa
      ml:jar:1.0.1, bouncycastle:bcprov-jdk15:jar:137, xml-security:xmlsec:jar:1.4.1:
      Could not find artifact org.opensaml:opensaml:jar:1.0.1 in alfresco-public (http
      ://maven.alfresco.com/nexus/content/groups/public) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
      ch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
      lutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      
      [ERROR]   mvn <goals> -rf :mcf-alfresco-connector
      

      This seems to be due to changes/errors in the Alfresco maven repository:

      /org/opensaml/opensaml/1.0.1/opensaml-1.0.1.pom
      Downloading: http://repo1.maven.org/maven2/org/opensaml/opensaml/1.0.1/opensaml-1.0.1.pom
      [WARNING] The POM for org.opensaml:opensaml:jar:1.0.1 is missing, no dependencyinformation available
      Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/137/bcprov-jdk15-137.pom
      [WARNING] The POM for bouncycastle:bcprov-jdk15:jar:137 is missing, no dependency information available
      Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.4.1/xmlsec-1.4.1.pom
      [WARNING] The POM for xml-security:xmlsec:jar:1.4.1 is missing, no dependency information available
      [WARNING] Checksum validation failed, expected a2a2e2e89d143d24ddba9a76e5c36603969db30f but is cc7b41e507973e3b59cb2fbcfb513e9e0dae3f46 for http://maven.alfresco.com/nexus/content/groups/public/javax/activation/activation/1.0.2/activation-1.0.2.jar
      [WARNING] Checksum validation failed, expected a2a2e2e89d143d24ddba9a76e5c36603969db30f but is cc7b41e507973e3b59cb2fbcfb513e9e0dae3f46 for http://maven.alfresco.com/nexus/content/groups/public/javax/activation/activation/1.0.2/activation-1.0.2.jar
      

      Any ideas how to resolved this?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                piergiorgiolucidi@gmail.com Piergiorgio Lucidi
                Reporter:
                kwright@metacarta.com Karl Wright
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: