Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1, 7.1.0
    • Component/s: assemblies, examples
    • Labels:
      None

      Description

      Examples provided by the assembly don't compile due to following error

      kso@lenovo:~/work/projects/asf/tmp/apache-servicemix-7.0.0/examples$ mvn clean install
      Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
      [INFO] Scanning for projects...
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Resolving expression: '${drools6.version}': Detected the following recursive expression cycle in 'drools6.version': [drools6.version] @ 
      [ERROR] Resolving expression: '${swagger.version}': Detected the following recursive expression cycle in 'swagger.version': [swagger.version] @ 
      [ERROR] Resolving expression: '${akka.version}': Detected the following recursive expression cycle in 'akka.version': [akka.version] @ 
      [ERROR] Resolving expression: '${drools.version}': Detected the following recursive expression cycle in 'drools.version': [drools.version] @ 
      [ERROR] Resolving expression: '${slf4j.version}': Detected the following recursive expression cycle in 'slf4j.version': [slf4j.version] @ 
      [ERROR] Resolving expression: '${cxf.codegen-plugin.version}': Detected the following recursive expression cycle in 'cxf.codegen-plugin.version': [cxf.codegen-plugin.version] @ 
      [ERROR] Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] @ 
      [ERROR] Resolving expression: '${scala.version}': Detected the following recursive expression cycle in 'scala.version': [scala.version] @ 
      [ERROR] Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] @ 
      [ERROR] Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] @ 
      [ERROR] Resolving expression: '${swagger.version}': Detected the following recursive expression cycle in 'swagger.version': [swagger.version] @ 
      [ERROR] Resolving expression: '${cxf.codegen-plugin.version}': Detected the following recursive expression cycle in 'cxf.codegen-plugin.version': [cxf.codegen-plugin.version] @ 
      [ERROR] 'dependencyManagement.dependencies.dependency.artifactId' for org.apache.servicemix.specs:org.apache.servicemix.specs.jaxb-api-${jaxb.api.version}:jar with value 'org.apache.servicemix.specs.jaxb-api-${jaxb.api.version}' does not match a valid id pattern. @ line 84, column 29
       @ 
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.servicemix.examples:examples:7.0.0 (/home/kso/work/projects/asf/tmp/apache-servicemix-7.0.0/examples/pom.xml) has 13 errors
      [ERROR]     Resolving expression: '${drools6.version}': Detected the following recursive expression cycle in 'drools6.version': [drools6.version] -> [Help 2]
      [ERROR]     Resolving expression: '${swagger.version}': Detected the following recursive expression cycle in 'swagger.version': [swagger.version] -> [Help 2]
      [ERROR]     Resolving expression: '${akka.version}': Detected the following recursive expression cycle in 'akka.version': [akka.version] -> [Help 2]
      [ERROR]     Resolving expression: '${drools.version}': Detected the following recursive expression cycle in 'drools.version': [drools.version] -> [Help 2]
      [ERROR]     Resolving expression: '${slf4j.version}': Detected the following recursive expression cycle in 'slf4j.version': [slf4j.version] -> [Help 2]
      [ERROR]     Resolving expression: '${cxf.codegen-plugin.version}': Detected the following recursive expression cycle in 'cxf.codegen-plugin.version': [cxf.codegen-plugin.version] -> [Help 2]
      [ERROR]     Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] -> [Help 2]
      [ERROR]     Resolving expression: '${scala.version}': Detected the following recursive expression cycle in 'scala.version': [scala.version] -> [Help 2]
      [ERROR]     Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] -> [Help 2]
      [ERROR]     Resolving expression: '${jaxb.api.version}': Detected the following recursive expression cycle in 'jaxb.api.version': [jaxb.api.version] -> [Help 2]
      [ERROR]     Resolving expression: '${swagger.version}': Detected the following recursive expression cycle in 'swagger.version': [swagger.version] -> [Help 2]
      [ERROR]     Resolving expression: '${cxf.codegen-plugin.version}': Detected the following recursive expression cycle in 'cxf.codegen-plugin.version': [cxf.codegen-plugin.version] -> [Help 2]
      [ERROR]     'dependencyManagement.dependencies.dependency.artifactId' for org.apache.servicemix.specs:org.apache.servicemix.specs.jaxb-api-${jaxb.api.version}:jar with value 'org.apache.servicemix.specs.jaxb-api-${jaxb.api.version}' does not match a valid id pattern. @ line 84, column 29
      [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
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/InterpolationCycleException
      
      1. pom.xml
        8 kB
        Krzysztof Sobkowiak

        Activity

        Hide
        sobkowiak Krzysztof Sobkowiak added a comment - - edited

        As workaround the attached pom.xml should be used

        Show
        sobkowiak Krzysztof Sobkowiak added a comment - - edited As workaround the attached pom.xml should be used
        Show
        sobkowiak Krzysztof Sobkowiak added a comment - Fixed in master – http://git-wip-us.apache.org/repos/asf/servicemix/commit/c49b9f73

          People

          • Assignee:
            sobkowiak Krzysztof Sobkowiak
            Reporter:
            sobkowiak Krzysztof Sobkowiak
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development