[ 
https://issues.apache.org/activemq/browse/SMX4-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45557#action_45557
 ] 

Freeman Fang commented on SMX4-97:
----------------------------------

Willem,
sorry, my fault, I clean my old local repo and reproduce the compilation error 
you see in examples\loan-broker-bpel\loan-broker-bean-su

I think the fix should change the pom.xml
<dependency>
             <groupId>org.apache.servicemix</groupId>
             <artifactId>servicemix-bean</artifactId>
-            <version>${components.version}</version>
+            <version>${servicemix-bean-version}</version>
         </dependency>

the java code in the sample is fine

Thanks very much

Freeman

> Can't compile the examples
> --------------------------
>
>                 Key: SMX4-97
>                 URL: https://issues.apache.org/activemq/browse/SMX4-97
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Willem Jiang
>            Assignee: Freeman Fang
>         Attachments: SMX4-97.patch
>
>
> C:\opt\apache-servicemix-4.0-m2-SNAPSHOT\examples>mvn install
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: unknown
> Reason: Could not find the model file 
> 'C:\opt\apache-servicemix-4.0-m2-SNAPSHOT\
> examples\itests'. for project unknown
> Also there is a compile error in the loan-broker-bpel
> C:\opt\apache-servicemix-4.0-m2-SNAPSHOT\examples\loan-broker-bpel\loan-broker-b
> ean-su\src\main\java\loanbroker\Bank.java:[27,42] package 
> org.apache.servicemix.
> jbi.listener does not exist
> C:\opt\apache-servicemix-4.0-m2-SNAPSHOT\examples\loan-broker-bpel\loan-broker-b
> ean-su\src\main\java\loanbroker\Bank.java:[30,29] cannot find symbol
> symbol: class MessageExchangeListener
> public class Bank implements MessageExchangeListener {

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to