Add per-binary assembly LICENSE and NOTICE

Change-Id: I2a6c4fb809b6fcad578007b8f48bf8bce179cd82
Reviewed-on: https://asterix-gerrit.ics.uci.edu/590
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Chris Hillery <ceej@lambda.nu>
diff --git a/hyracks/hyracks-examples/btree-example/btreeserver/src/main/licenses/NOTICE b/hyracks/hyracks-examples/btree-example/btreeserver/src/main/licenses/NOTICE
new file mode 100644
index 0000000..e482955
--- /dev/null
+++ b/hyracks/hyracks-examples/btree-example/btreeserver/src/main/licenses/NOTICE
@@ -0,0 +1,135 @@
+Apache AsterixDB
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s):
+
+ - lib/hyracks-api-0.2.17-incubating.jar
+
+    hyracks-api
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-comm-0.2.17-incubating.jar
+
+    hyracks-comm
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-control-cc-0.2.17-incubating.jar
+
+    hyracks-control-cc
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-control-common-0.2.17-incubating.jar
+
+    hyracks-control-common
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-control-nc-0.2.17-incubating.jar
+
+    hyracks-control-nc
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-control-cc-0.2.17-incubating.jar
+
+    hyracks-control-cc
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-ipc-0.2.17-incubating.jar
+
+    hyracks-ipc
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-net-0.2.17-incubating.jar
+
+    hyracks-net
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-dataflow-common-0.2.17-incubating.jar
+
+    hyracks-dataflow-common
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-dataflow-std-0.2.17-incubating.jar
+
+    hyracks-dataflow-std
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-storage-am-btree-0.2.17-incubating.jar
+
+    hyracks-storage-am-btree
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-storage-am-common-0.2.17-incubating.jar
+
+    hyracks-storage-am-common
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-storage-common-0.2.17-incubating.jar
+
+    hyracks-storage-common
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-data-std-0.2.17-incubating.jar
+
+    hyracks-data-std
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/hyracks-util-0.2.17-incubating.jar
+
+    hyracks-util
+    Copyright 2016 The Apache Software Foundation
+
+ - lib/mockito-all-2.0.2-beta.jar
+
+    Mockito license - MIT.
+
+    Libraries used:
+
+    Cglib - Apache License 2.0
+    ASM - BSD license
+
+    Mockito all distribution:
+
+    Objenesis - MIT license
+    Hamcrest - BSD license
+
+ - lib/wicket-core-1.5.2.jar
+   Apache Wicket
+   Copyright 2006-2011 Apache Software Foundation
+
+   This product includes software from QOS.ch (http://slf4j.org) licensed under the X11 license
+   Copyright (c) 2004-2008 QOS.ch
+
+   Contains Diff library from Mavens JRCS, released under
+   The Apache Software License, Version 1.1.
+   (c) 1999-2003
+
+   org.apache.wicket.markup.html.form.upload.MultiFileUploadField.js is taken from [1]
+   and has the following notice:
+      "Licence:
+       Use this however/wherever you like, just don't blame me if it breaks
+       anything.
+
+       Credit:
+       If you're nice, you'll leave this bit:
+
+       Class by Stickman -- http://www.the-stickman.com
+       with thanks to:
+       [for Safari fixes]
+          Luis Torrefranca -- http://www.law.pitt.edu
+          and
+          Shawn Parker & John Pennypacker -- http://www.fuzzycoconut.com
+       [for duplicate name bug]
+          'neal'"
+   [1]: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
+ - lib/wicket-request-1.5.2.jar
+
+    Wicket Request
+    Copyright 2006-2011 Apache Software Foundation
+
+ - lib/wicket-util-1.5.2.jar
+
+    Wicket Util
+    Copyright 2006-2011 Apache Software Foundation