Hi

I know the reason of this error. It was my change in the main pom of 
ServiceMix. Please replace following lines in the examples pom.xml

<exec-maven-plugin.version>${exec-maven-plugin.version}</exec-maven-plugin.version>
<maven-scala-plugin.version>${maven-scala-plugin.version}</maven-scala-plugin.version>

with following

<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version>
<maven-scala-plugin.version>2.15.2</maven-scala-plugin.version>

I'll correct this for the nexz version

Kindly regards
Krzysztof



On 02.09.2016 17:53, MarioWro wrote:
> I'm beginner user.
>
> I have installed: ServiceMix 7.0.0.M2, JDK 1.8.102, Maven 3.3.9, Windows 7
> 64-bit Pro.
> I try to build some examples by maven and I see errors.
> For example: camel-cxf-soap
>
>> mvn compile
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Resolving expression: '${exec-maven-plugin.version}': Detected the
> following recursive expression cycle in 'exec-maven-plugin.version':
> [exec-maven-plugin.version] @ 
> [ERROR] Resolving expression: '${maven-scala-plugin.version}': Detected the
> following recursive expression cycle in 'maven-scala-plugin.version':
> [maven-scala-plugin.version] @ 
> [ERROR] Resolving expression: '${exec-maven-plugin.version}': Detected the
> following recursive expression cycle in 'exec-maven-plugin.version':
> [exec-maven-plugin.version] @ 
> [ERROR] Resolving expression: '${maven-scala-plugin.version}': Detected the
> following recursive expression cycle in 'maven-scala-plugin.version':
> [maven-scala-plugin.version] @ 
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:camel-cxf-soap:7.0.0.M2
> (C:\Programs\apache-servicemix-7.0.0.M2\examples\camel\camel-cxf-soap\pom.xml)
> has 4 errors
> [ERROR]     Resolving expression: '${exec-maven-plugin.version}': Detected
> the following recursive expression cycle in 'exec-maven-plugin.version':
> [exec-maven-plugin.version] -> [Help 2]
> [ERROR]     Resolving expression: '${maven-scala-plugin.version}': Detected
> the following recursive expression cycle in 'maven-scala-plugin.version':
> [maven-scala-plugin.version] -> [Help 2]
> [ERROR]     Resolving expression: '${exec-maven-plugin.version}': Detected
> the following recursive expression cycle in 'exec-maven-plugin.version':
> [exec-maven-plugin.version] -> [Help 2]
> [ERROR]     Resolving expression: '${maven-scala-plugin.version}': Detected
> the following recursive expression cycle in 'maven-scala-plugin.version':
> [maven-scala-plugin.version] -> [Help 2]
> [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
>
> Please Help me.
>
>
>
>
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Camel-Example-Compile-Error-tp5723995.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Krzysztof Sobkowiak (@ksobkowiak)

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)

Reply via email to