Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-996

examples won't build with clean Maven local repo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      When I try to build the examples (in a distro) from a clean repo I get:

      [janstey@duffman examples]$ mvn clean install
      [INFO] Scanning for projects...
      [ERROR] The build could not read 5 projects -> [Help 1]
      [ERROR]
      [ERROR] The project org.apache.servicemix.examples:cxf-osgi:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/apache-servicemix-4.4.0-SNAPSHOT/examples/cxf/cxf-osgi/pom.xml) has 1 error
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix:servicemix-utils:jar is missing. @ line 40, column 21
      [ERROR]
      [ERROR] The project org.apache.servicemix.examples:cxf-jaxrs:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/apache-servicemix-4.4.0-SNAPSHOT/examples/cxf/cxf-jaxrs/pom.xml) has 2 errors
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix.specs:org.apache.servicemix.specs.jsr311-api-1.1:jar is missing. @ line 36, column 21
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix.specs:org.apache.servicemix.specs.jaxb-api-2.2:jar is missing. @ line 40, column 21
      [ERROR]
      [ERROR] The project org.apache.servicemix.examples:cxf-ws-addressing:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/apache-servicemix-4.4.0-SNAPSHOT/examples/cxf/cxf-ws-addressing/pom.xml) has 1 error
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix:servicemix-utils:jar is missing. @ line 83, column 21
      [ERROR]
      [ERROR] The project org.apache.servicemix.examples:cxf-ws-security-osgi:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/apache-servicemix-4.4.0-SNAPSHOT/examples/cxf/cxf-ws-security-osgi/pom.xml) has 1 error
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix:servicemix-utils:jar is missing. @ line 40, column 21
      [ERROR]
      [ERROR] The project org.apache.servicemix.examples:cxf-ws-rm:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/assemblies/apache-servicemix-full/target/apache-servicemix-4.4.0-SNAPSHOT/examples/cxf/cxf-ws-rm/pom.xml) has 1 error
      [ERROR] 'dependencies.dependency.version' for org.apache.servicemix:servicemix-utils:jar is missing. @ line 40, column 21
      [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/ProjectBuildingException

        Activity

        Hide
        janstey Jonathan Anstey added a comment -

        Just put in a fix for this in rev 1209224. Not going to close it yet as I want to verify it tomorrow when all the new files are deployed to ASF snapshot repo.

        Show
        janstey Jonathan Anstey added a comment - Just put in a fix for this in rev 1209224. Not going to close it yet as I want to verify it tomorrow when all the new files are deployed to ASF snapshot repo.
        Hide
        janstey Jonathan Anstey added a comment -

        Just verified this is working on trunk.

        Show
        janstey Jonathan Anstey added a comment - Just verified this is working on trunk.

          People

          • Assignee:
            janstey Jonathan Anstey
            Reporter:
            janstey Jonathan Anstey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development