Wednesday, November 25, 2015

Common Commands

Common commands
  • features:addUrl mvn:org.fusesource.sparks.fuse-webinars.cxf-webinars/customer-features/1.1.4/xml
  • features:list | grep customer
  • features:listrepositories


Install active MQ
  • features:install activemq-camel


OSGI Commands
  • osgi:install mvn:com.amtex/rdip/1.0.0-SNAPSHOT
  • osgi:start 282
  • osgi:stop 282
  • osgi:uninstall 282
  • osgi:update 282

  • Deploying plain jar files
    • osgi:install wrap:mvn:commons-dbcp/commons-dbcp/1.4
    • osgi:install wrap:file:c:/ujjalb/data/backup/db2jcc4.jar


Log

  • log:display

MVN
  • mvn eclipse:eclipse
    • generate an eclipse project
  • mvn clean compile exec:java -Dexec.mainClass=camelinaction.GreetMeBean
    • - compile and run the Java class
  • mvn clean compile camel:run

  • mvn test -Dtest=OrderToCSVProcessorTest
    • run a test

No comments: