Krzysztof Sobkowiak created SM-3225:
---------------------------------------
Summary: Examples compile error
Key: SM-3225
URL: https://issues.apache.org/jira/browse/SM-3225
Project: ServiceMix
Issue Type: Bug
Components: assemblies, examples
Affects Versions: 7.0.0
Reporter: Krzysztof Sobkowiak
Assignee: Krzysztof Sobkowiak
Fix For: 7.0.1, 7.1.0
Examples provided by the assembly don't compile due to following error
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)