ZOOKEEPER-3372: Cleanup pom.xml in order to let Maven clients import as few dependencies as possible

- mark as 'provided' all of the dependencies not needed by java clients
- rework assembly project in order to build correctly the 'lib' directory
- update jetty to latest version
- use project.version in order to refer to the current version
- fix references to junit in recipes and in contrib

Author: Enrico Olivelli <eolivelli@apache.org>

Reviewers: andor@apache.org

Closes #926 from eolivelli/fix/ZOOKEEPER-3372-fix-dep-35

Conflicts:
	zookeeper-contrib/zookeeper-contrib-loggraph/pom.xml
	zookeeper-contrib/zookeeper-contrib-rest/pom.xml
	zookeeper-contrib/zookeeper-contrib-zooinspector/pom.xml
	zookeeper-docs/pom.xml
	zookeeper-recipes/zookeeper-recipes-election/pom.xml
	zookeeper-recipes/zookeeper-recipes-lock/pom.xml
	zookeeper-recipes/zookeeper-recipes-queue/pom.xml
	zookeeper-server/pom.xml
13 files changed
tree: 0cb1fadc5046e81d5c377cd0a0d1fd84a793b514
  1. bin/
  2. conf/
  3. zookeeper-assembly/
  4. zookeeper-client/
  5. zookeeper-contrib/
  6. zookeeper-docs/
  7. zookeeper-it/
  8. zookeeper-jute/
  9. zookeeper-recipes/
  10. zookeeper-server/
  11. .gitattributes
  12. .gitignore
  13. .travis.yml
  14. build.xml
  15. excludeFindBugsFilter.xml
  16. ivy.xml
  17. ivysettings.xml
  18. LICENSE.txt
  19. NOTICE.txt
  20. owaspSuppressions.xml
  21. pom.xml
  22. README.md
  23. README_packaging.txt
README.md

Apache ZooKeeper

alt text

For the latest information about Apache ZooKeeper, please visit our website at:

http://zookeeper.apache.org/

and our wiki, at:

https://cwiki.apache.org/confluence/display/ZOOKEEPER


Packaging/release artifacts

Either downloaded from https://zookeeper.apache.org/releases.html or found in zookeeper-assembly/target directory after building the project with maven.

apache-zookeeper-[version].tar.gz

    Contains all the source files which can be built by running:
    mvn clean install

    To generate an aggregated apidocs for zookeeper-server and zookeeper-jute:
    mvn javadoc:aggregate
    (generated files will be at target/site/apidocs)

apache-zookeeper-[version]-bin.tar.gz

    Contains all the jar files required to run ZooKeeper
    Full documentation can also be found in the docs folder

As of version 3.5.5, the parent, zookeeper and zookeeper-jute artifacts are deployed to the central repository after the release is voted on and approved by the Apache ZooKeeper PMC:

https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/

Contributing

We always welcome new contributors to the project! See How to Contribute for details on how to submit patch through pull request and our contribution workflow.