L.S., >From the output I'm seeing here, I'm guessing you did do things correctly up to now. However, you would have to run the mvn jbi:projectDeploy command from the SA directory instead of from the project root directory if you want to deploy things using the Maven JBI plugin.
I would recommend you to use hot-deployment instead though. That's what most people use in production anyway: just copy the SA archive you find in your tutorial-sa/target directory to the hotdeploy folder in your servicemix installation. I avoid the use of the JBI Maven plugin in real life, because it has two drawbacks: - if you don't take care, it will also try to reinstall the JBI components themselves, causing a lot more interruption than by just deploying the SA - you can re-initialize the entire container by deleting everything in the data directory and then restarting the container -- if you are using hotdeployment, all SA will be automatically redeployed without having to run the maven commands again. FWIW, I raised a JIRA to remember to update the tutorials to use hot-deployment (cfr. https://issues.apache.org/activemq/browse/SM-1844). Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/4/10 nhcoder <[email protected]>: > > I tried running Chapter 2 of the tutorial. I was on this step: > > http://servicemix.apache.org/26-beginner-exercise.html > > I thought I did everything correct thus far, but when I try and run this > command: > > $ mvn jbi:projectDeploy -DforceUpdate=true > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Tutorial > [INFO] Tutorial :: File SU > [INFO] Tutorial :: JMS SU > [INFO] Tutorial :: EIP SU > [INFO] Tutorial :: SA > [INFO] Searching repository for plugin with prefix: 'jbi'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-jbi-plugin' does not exist > or > no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Fri Apr 10 10:40:18 EDT 2009 > [INFO] Final Memory: 1M/4M > [INFO] > ------------------------------------------------------------------------ > > I was at a loss as to why that doesn't work. Any ideas? > > Thanks, > > > -- > View this message in context: > http://www.nabble.com/Tutorial-Help-tp22989058p22989058.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
