Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-384

opencmis not compileable under Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • OpenCMIS 0.4.0
    • opencmis-workbench
    • None
    • Windows

    Description

      I have tested in on two different machines now and it is 100% reproducible. The target mvn:compile fails under windows in the workbench webstart component...

      [INFO] [webstart:jnlp-download-servlet

      {execution: default}

      ]
      [INFO] Unable to copy an artifact to the working directory

      Embedded error: C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-api\target\classes (Access is denied)

      We have to fix this before the release!

      Here is the full log:

      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] Apache Chemistry OpenCMIS
      [INFO] OpenCMIS Commons API
      [INFO] OpenCMIS Commons Implementation
      [INFO] OpenCMIS Client API
      [INFO] OpenCMIS Client Bindings Implementation
      [INFO] OpenCMIS Client Implementation
      [INFO] OpenCMIS Server Support
      [INFO] OpenCMIS Server Implementation
      [INFO] OpenCMIS Test Utilities
      [INFO] OpenCMIS InMemory Server Implementation
      [INFO] OpenCMIS FileShare Server Implementation
      [INFO] OpenCMIS JCR Server Implementation
      [INFO] OpenCMIS Full Integration Tests
      [INFO] OpenCMIS Test Compatibility Kit
      [INFO] OpenCMIS Tools
      [INFO] OpenCMIS Browser
      [INFO] OpenCMIS Browser Application
      [INFO] OpenCMIS Workbench
      [INFO] OpenCMIS Workbench WebStart
      [INFO] OpenCMIS Assemblies Distribution
      [INFO] artifact org.apache.felix:maven-bundle-plugin: checking for updates from jboss-public
      [WARNING] repository metadata for: 'artifact org.apache.felix:maven-bundle-plugin' could not be retrieved from repository: jboss-public due to an error: Authorization failed: Access denied to: http://repository.jboss.org/maven2/org/apache/felix/maven-bundle-plugin/maven-metadata.xml
      [INFO] Repository 'jboss-public' will be blacklisted
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Apache Chemistry OpenCMIS
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
      [INFO] Setting property: velocimacro.messages.on => 'false'.
      [INFO] Setting property: resource.loader => 'classpath'.
      [INFO] Setting property: resource.manager.logwhenfound => 'false'.
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Commons API
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-api\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 109 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-api\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Commons Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [jaxws:wsimport

      {execution: default}

      ]
      [INFO] Processing: C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-impl\src\main\resources\wsdl\CMISWS-Service.wsdl
      [INFO] jaxws:wsimport args: [-s, C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-impl\target\generated, -d, C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-impl\target\classes, -p, org.apache.chemistry.opencmis.commons.impl.jaxb, -target, 2.1, -extension, -Xnocompile, C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-impl\src\main\resources\wsdl\CMISWS-Service.wsdl]
      parsing WSDL...

      generating code...

      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 4 resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 260 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-commons\chemistry-opencmis-commons-impl\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Client API
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-api\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 37 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-api\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Client Bindings Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 72 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-bindings\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Client Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-impl\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 44 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-impl\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Server Support
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [antlr3:antlr

      {execution: default}

      ]
      [INFO] ANTLR: Processing source directory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-support\src\main\antlr3
      org\apache\chemistry\opencmis\server\support\query\CmisQlStrictLexer.g
      org\apache\chemistry\opencmis\server\support\query\CmisQlStrictParser.g
      org\apache\chemistry\opencmis\server\support\query\CmisQueryWalker.g
      org\apache\chemistry\opencmis\server\support\query\CmisQlExtParser.g
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:copy-resources

      {execution: default}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 19 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-support\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Server Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [dependency:unpack

      {execution: unpack}

      ]
      [INFO] Configured Artifact: org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:0.4.0-SNAPSHOT:jar
      [INFO] Unpacking C:\Javadev\maven-repository\org\apache\chemistry\opencmis\chemistry-opencmis-commons-impl\0.4.0-SNAPSHOT\chemistry-opencmis-commons-impl-0.4.0-SNAPSHOT.jarto
      C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-bindings\src\main\webapp\WEB-INF
      with Includes wsdl/.xsd, wsdl/.wsdl and excludes:null
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 54 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-bindings\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Test Utilities
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-util\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 5 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-util\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS InMemory Server Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [dependency:unpack

      {execution: default}

      ]
      [INFO] Configured Artifact: org.apache.chemistry.opencmis:chemistry-opencmis-server-support:0.4.0-SNAPSHOT:jar
      [INFO] Unpacking C:\Javadev\maven-repository\org\apache\chemistry\opencmis\chemistry-opencmis-server-support\0.4.0-SNAPSHOT\chemistry-opencmis-server-support-0.4.0-SNAPSHOT.jarto
      C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-inmemory\target\generated-sources\antlr3
      with Includes */.tokens and excludes:null
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-inmemory\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 56 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-inmemory\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS FileShare Server Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 5 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-fileshare\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS JCR Server Implementation
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-jcr\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 28 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-server\chemistry-opencmis-server-jcr\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Full Integration Tests
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-fit\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Test Compatibility Kit
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 3 resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 30 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-tck\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Tools
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-tools\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 5 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-tools\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Browser
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-browser\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 1 source file to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-browser\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Browser Application
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-test\chemistry-opencmis-test-browser-app\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] No sources to compile
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Workbench
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [antrun:run

      {execution: default}

      ]
      [INFO] Executing tasks

      main:
      [mkdir] Created dir: C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-workbench\chemistry-opencmis-workbench\target\start
      [copy] Copying 2 files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-workbench\chemistry-opencmis-workbench\target\start
      [INFO] Executed tasks
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 47 resources
      [INFO] Copying 1 resource
      [INFO] Copying 3 resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 54 source files to C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-workbench\chemistry-opencmis-workbench\target\classes
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenCMIS Workbench WebStart
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-workbench\chemistry-opencmis-workbench-webstart\src\main\resources
      [INFO] Copying 3 resources
      [INFO] [webstart:jnlp-download-servlet

      {execution: default}

      ]
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Unable to copy an artifact to the working directory

      Embedded error: C:\Documents and Settings\jens\My Documents\open-cmis\chemistry-opencmis-client\chemistry-opencmis-client-api\target\classes (Access is denied)
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 15 seconds
      [INFO] Finished at: Mon Jun 06 13:33:12 CEST 2011
      [INFO] Final Memory: 102M/495M
      [INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            Unassigned Unassigned
            jenshuebel Jens Hübel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: