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

maven build of mcf-test-materials/mcf-alfresco-war-test fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ManifoldCF 1.0
    • Component/s: Alfresco connector, Build
    • Environment:

      Description

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

      [INFO] Reactor Summary:
      [INFO] 
      [INFO] ManifoldCF ........................................ SUCCESS [2.736s]
      [INFO] ManifoldCF - Framework ............................ SUCCESS [0.074s]
      [INFO] ManifoldCF - Framework - Core ..................... SUCCESS [7.149s]
      [INFO] ManifoldCF - Framework - UI Core .................. SUCCESS [2.686s]
      [INFO] ManifoldCF - Framework - Agents ................... SUCCESS [18.703s]
      [INFO] ManifoldCF - Framework - Pull Agent ............... SUCCESS [21.628s]
      [INFO] ManifoldCF - Framework - Authority Servlet ........ SUCCESS [1.355s]
      [INFO] ManifoldCF - Framework - API Servlet .............. SUCCESS [1.411s]
      [INFO] ManifoldCF - Framework - Authority Service ........ SUCCESS [4.314s]
      [INFO] ManifoldCF - Framework - API Service .............. SUCCESS [2.042s]
      [INFO] ManifoldCF - Framework - Crawler UI ............... SUCCESS [2.889s]
      [INFO] ManifoldCF - Framework - Script Engine ............ SUCCESS [3.546s]
      [INFO] ManifoldCF - Connectors ........................... SUCCESS [0.032s]
      [INFO] ManifoldCF - Connectors - Active Directory ........ SUCCESS [1.479s]
      [INFO] ManifoldCF - Connectors - Filesystem .............. SUCCESS [16.125s]
      [INFO] ManifoldCF - Connectors - MetaCarta GTS ........... SUCCESS [1.766s]
      [INFO] ManifoldCF - Connectors - jCIFS ................... SUCCESS [2.368s]
      [INFO] ManifoldCF - Connectors - JDBC .................... SUCCESS [1.855s]
      [INFO] ManifoldCF - Connectors - Null Authority .......... SUCCESS [1.345s]
      [INFO] ManifoldCF - Connectors - Null Output ............. SUCCESS [1.245s]
      [INFO] ManifoldCF - Connectors - RSS ..................... SUCCESS [3.012s]
      [INFO] ManifoldCF - Connectors - SharePoint .............. SUCCESS [12.172s]
      [INFO] ManifoldCF - Connectors - Solr .................... SUCCESS [1.864s]
      [INFO] ManifoldCF - Connectors - Web ..................... SUCCESS [3.292s]
      [INFO] ManifoldCF - Connectors - CMIS .................... SUCCESS [17.579s]
      [INFO] ManifoldCF - Connectors - OpenSearchServer ........ SUCCESS [1.511s]
      [INFO] ManifoldCF - Connectors - Wiki .................... SUCCESS [16.313s]
      [INFO] ManifoldCF - Connectors - Alfresco ................ SUCCESS [16.978s]
      [INFO] ManifoldCF - Connectors - ElasticSearch ........... SUCCESS [2.101s]
      [INFO] ManifoldCF - Test materials ....................... SUCCESS [0.020s]
      [INFO] ManifoldCF - Test Materials - Alfresco WAR ........ FAILURE [4.305s]
      [INFO] ManifoldCF - Framework - Jetty Runner ............. SKIPPED
      [INFO] ManifoldCF - Tests ................................ SKIPPED
      [INFO] ManifoldCF - Test - ElasticSearch ................. 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] ManifoldCF - Test - RSS ........................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2:54.944s
      [INFO] Finished at: Tue Sep 04 03:10:14 EEST 2012
      [INFO] Final Memory: 24M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.3:unpack-dependencies (unpack-amps) on project mcf-alfresco-war-test: Execution unpack-amps of goal org.apache.maven.plugins:maven-dependency-plugin:2.3:unpack-dependencies failed: Unable to load the mojo 'unpack-dependencies' in the plugin 'org.apache.maven.plugins:maven-dependency-plugin:2.3'. A required class is missing: org/codehaus/plexus/archiver/ArchiverException
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.apache.maven.plugins:maven-dependency-plugin:2.3
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/Users/iorixxx/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/2.3/maven-dependency-plugin-2.3.jar
      [ERROR] urls[1] = file:/Users/iorixxx/.m2/repository/org/alfresco/maven/plugin/maven-amp-plugin/3.0.1/maven-amp-plugin-3.0.1.jar
      [ERROR] urls[2] = file:/Users/iorixxx/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
      [ERROR] urls[3] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
      [ERROR] urls[4] = file:/Users/iorixxx/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
      [ERROR] urls[5] = file:/Users/iorixxx/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar
      [ERROR] urls[6] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
      [ERROR] urls[7] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
      [ERROR] urls[8] = file:/Users/iorixxx/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
      [ERROR] urls[9] = file:/Users/iorixxx/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
      [ERROR] urls[10] = file:/Users/iorixxx/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      [ERROR] urls[11] = file:/Users/iorixxx/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
      [ERROR] urls[12] = file:/Users/iorixxx/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
      [ERROR] urls[13] = file:/Users/iorixxx/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
      [ERROR] urls[14] = file:/Users/iorixxx/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
      [ERROR] urls[15] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
      [ERROR] urls[16] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
      [ERROR] urls[17] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
      [ERROR] urls[18] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
      [ERROR] urls[19] = file:/Users/iorixxx/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
      [ERROR] urls[20] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
      [ERROR] urls[21] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
      [ERROR] urls[22] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
      [ERROR] urls[23] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
      [ERROR] urls[24] = file:/Users/iorixxx/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
      [ERROR] urls[25] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-archiver/2.0/plexus-archiver-2.0.jar
      [ERROR] urls[26] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
      [ERROR] urls[27] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
      [ERROR] urls[28] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
      [ERROR] urls[29] = file:/Users/iorixxx/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
      [ERROR] urls[30] = file:/Users/iorixxx/.m2/repository/org/codehaus/plexus/plexus-io/2.0/plexus-io-2.0.jar
      [ERROR] urls[31] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.2/maven-dependency-analyzer-1.2.jar
      [ERROR] urls[32] = file:/Users/iorixxx/.m2/repository/asm/asm/3.0/asm-3.0.jar
      [ERROR] urls[33] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
      [ERROR] urls[34] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar
      [ERROR] urls[35] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
      [ERROR] urls[36] = file:/Users/iorixxx/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
      [ERROR] urls[37] = file:/Users/iorixxx/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
      [ERROR] urls[38] = file:/Users/iorixxx/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
      [ERROR] 
      [ERROR] -----------------------------------------------------: org.codehaus.plexus.archiver.ArchiverException
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [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 read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :mcf-alfresco-war-test
      
      

        Attachments

        1. CONNECTORS-519.patch
          3 kB
          Ahmet Arslan

          Activity

            People

            • Assignee:
              piergiorgiolucidi@gmail.com Piergiorgio Lucidi
              Reporter:
              iorixxx Ahmet Arslan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: