You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

12345678910111213141516171819202122232425262728293031
  1. Automatic test for Karaf deployment
  2. ===
  3. What is tested
  4. ---
  5. * Multiple applications are deployed and work properly
  6. * Default widgetset works
  7. * Custom widgetset works
  8. * Custom theme works
  9. Tips and Tricks
  10. ---
  11. * Karaf is downloaded and deployed by maven karaf plugin
  12. * Karaf is run as a background process using maven `exec:exec` goal
  13. * Karaf is shut down using maven `karaf:client` goal during `post-integration-test` phase
  14. * All required karaf features and project bundles are deployed using maven karaf plugin with `client` goal
  15. Running and stopping karaf manually
  16. ---
  17. * To start karaf as a foreground process and deploy both vaadin bundles and two existing applications, run `mvn -f karaf-run-pom.xml clean karaf:run`
  18. in `karaf-run` module
  19. * To start karaf as a background process and deploy both vaadin bundles and two existing applications, run `mvn clean pre-integration-test`
  20. in `karaf-run` module
  21. * Karaf console is available via ssh at `127.0.0.0:8101` port, username/password is `karaf/karaf`
  22. * To stop background karaf process, run `mvn karaf:client@karaf-client-shutdown`
  23. in `karaf-run` module
  24. Potential problems
  25. ---
  26. * Maven executable should be in `PATH`
  27. * Background karaf process may be left running for 10 minutes if the build fails prior `integration-test` phase.