maven.rst 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Maven Quickstart
  2. ================
  3. This guide is designed to get developers up and running as quick as possible. For a more comprehensive guide see the :ref:`maven_guide`.
  4. .. include:: checkout.txt
  5. Command line build
  6. ------------------
  7. #. Change directory to the root of the source tree and execute the maven build
  8. command::
  9. cd geoserver/src
  10. mvn install -DskipTests -T 2C
  11. This will result in significant downloading of dependencies on the first build.
  12. #. A successful build will result in output that ends with something like the following::
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Reactor Summary:
  15. [INFO]
  16. [INFO] GeoServer 2.15-SNAPSHOT ............................ SUCCESS [ 3.735 s]
  17. [INFO] Core Platform Module ............................... SUCCESS [ 1.926 s]
  18. [INFO] Open Web Service Module ............................ SUCCESS [ 1.079 s]
  19. [INFO] Main Module ........................................ SUCCESS [ 7.371 s]
  20. [INFO] GeoServer Security Modules ......................... SUCCESS [ 0.172 s]
  21. [INFO] GeoServer Security Tests Module .................... SUCCESS [ 2.040 s]
  22. [INFO] GeoServer JDBC Security Module ..................... SUCCESS [ 0.904 s]
  23. [INFO] GeoServer LDAP Security Module ..................... SUCCESS [ 1.823 s]
  24. [INFO] Web Coverage Service Module ........................ SUCCESS [ 0.812 s]
  25. [INFO] Web Coverage Service 1.0 Module .................... SUCCESS [ 1.432 s]
  26. [INFO] Web Coverage Service 1.1 Module .................... SUCCESS [ 2.370 s]
  27. [INFO] Web Coverage Service 2.0 Module .................... SUCCESS [ 0.970 s]
  28. [INFO] Web Feature Service Module ......................... SUCCESS [ 3.658 s]
  29. [INFO] Web Map Service Module ............................. SUCCESS [ 1.899 s]
  30. [INFO] KML support for GeoServer .......................... SUCCESS [ 0.757 s]
  31. [INFO] gs-rest ............................................ SUCCESS [ 1.977 s]
  32. [INFO] GeoWebCache (GWC) Module ........................... SUCCESS [ 1.059 s]
  33. [INFO] gs-restconfig ...................................... SUCCESS [ 1.448 s]
  34. [INFO] gs-restconfig-wcs .................................. SUCCESS [ 0.218 s]
  35. [INFO] gs-restconfig-wfs .................................. SUCCESS [ 0.229 s]
  36. [INFO] gs-restconfig-wms .................................. SUCCESS [ 0.333 s]
  37. [INFO] GeoServer Web Modules .............................. SUCCESS [ 0.055 s]
  38. [INFO] Core UI Module ..................................... SUCCESS [ 6.905 s]
  39. [INFO] WMS UI Module ...................................... SUCCESS [ 0.884 s]
  40. [INFO] GWC UI Module ...................................... SUCCESS [ 1.086 s]
  41. [INFO] WFS UI Module ...................................... SUCCESS [ 0.351 s]
  42. [INFO] Demos Module ....................................... SUCCESS [ 0.744 s]
  43. [INFO] WCS UI Module ...................................... SUCCESS [ 0.261 s]
  44. [INFO] Security UI Modules ................................ SUCCESS [ 0.115 s]
  45. [INFO] Security UI Core Module ............................ SUCCESS [ 1.241 s]
  46. [INFO] Security UI JDBC Module ............................ SUCCESS [ 0.239 s]
  47. [INFO] Security UI LDAP Module ............................ SUCCESS [ 0.209 s]
  48. [INFO] REST UI Module ..................................... SUCCESS [ 0.204 s]
  49. [INFO] GeoServer Web Application .......................... SUCCESS [ 3.266 s]
  50. [INFO] Community Space .................................... SUCCESS [ 0.054 s]
  51. [INFO] GeoServer Extensions 2.15-SNAPSHOT ................. SUCCESS [ 0.055 s]
  52. [INFO] ------------------------------------------------------------------------
  53. [INFO] BUILD SUCCESS
  54. [INFO] ------------------------------------------------------------------------
  55. [INFO] Total time: 26.451 s (Wall Clock)
  56. [INFO] Finished at: 2018-08-27T15:52:42+03:00
  57. [INFO] ------------------------------------------------------------------------
  58. #. Navigate to the web-app folder::
  59. cd web/app
  60. #. Run GeoServer::
  61. mvn jetty:run
  62. #. Use the browser to open:
  63. http://localhost:8080/geoserver/