[med-svn] [python-avro] 01/03: Imported Upstream version 1.8.0~rc1+dfsg
Afif Elghraoui
afif-guest at moszumanska.debian.org
Sun Dec 27 07:51:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository python-avro.
commit fb6865caaf4717a5ee9c81582aa9e29f928fad07
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sat Dec 26 23:02:08 2015 -0800
Imported Upstream version 1.8.0~rc1+dfsg
---
CHANGES.txt | 52 +-
LICENSE.txt | 597 ++++++++++++++++++---
NOTICE.txt | 64 ++-
build.sh | 6 +-
doc/build.xml | 19 +-
doc/examples/example.py | 18 +
doc/examples/java-example/pom.xml | 18 +
.../src/main/java/example/GenericMain.java | 18 +
.../src/main/java/example/SpecificMain.java | 18 +
doc/examples/mr-example/pom.xml | 18 +
.../src/main/java/example/GenerateData.java | 18 +
doc/forrest.properties | 19 +
doc/src/content/xdocs/site.xml | 8 +-
doc/src/content/xdocs/tabs.xml | 2 +-
doc/src/skinconf.xml | 2 +-
lang/py/setup.py | 7 +-
LICENSE.txt => lang/py/src/avro/LICENSE | 105 ----
lang/py/src/avro/NOTICE | 6 +
lang/py/src/avro/tether/__init__.py | 19 +
lang/py/test/test_tether_task_runner.py | 3 +
lang/py/test/test_tether_word_count.py | 1 +
lang/py3/README.txt | 13 +
LICENSE.txt => lang/py3/avro/LICENSE | 105 ----
lang/py3/avro/NOTICE | 6 +
lang/py3/setup.py | 8 +-
pom.xml | 101 +++-
share/docker/Dockerfile | 5 +-
share/rat-excludes.txt | 56 --
28 files changed, 924 insertions(+), 388 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index afedefb..a43559b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,7 @@
Avro Change Log
-Avro 1.8.0 (10 August 2014)
+
+Avro 1.8.0 (15 December 2015)
INCOMPATIBLE CHANGES
@@ -58,6 +59,10 @@ Avro 1.8.0 (10 August 2014)
AVRO-1672. Java: Add date/time logical types and conversions. (blue)
+ AVRO-1747. JS: Add Javascript IO implementation. (Matthieu Monsch via blue)
+
+ AVRO-1767. JS: Fall back to unwrapped union values. (Matthieu Monsch via blue)
+
OPTIMIZATIONS
IMPROVEMENTS
@@ -99,8 +104,12 @@ Avro 1.8.0 (10 August 2014)
AVRO-1692. Allow more than one logical type for a Java class. (blue via
tomwhite)
- AVRO-1697. Ruby: Add support for the Snappy codec to the Ruby library.
- (Daniel Schierbeck via tomwhite)
+ AVRO-1697. Ruby: Add support for the Snappy codec to the Ruby library.
+ (Daniel Schierbeck via tomwhite)
+
+ AVRO-1739. Update Avro URLs and mailing lists. (Gabor Liptak via blue)
+
+ AVRO-1765: JS: Update node.js version in docker to 4.x. (blue)
BUG FIXES
@@ -181,6 +190,43 @@ Avro 1.8.0 (10 August 2014)
AVRO-1491. Avro.ipc.dll not included in release zip/build file.
(Dmitry Kovalev via tomwhite)
+ AVRO-1676. Java: Do not treat enum symbols as immutable when deep copying.
+ (Mike Rodriguez via tomwhite)
+
+ AVRO-1593. C++: Use classic locale to escape control chars.
+ (Hatem Helal via blue)
+
+ AVRO-1700. C++: Fix avro_BufferStreambuf_hh__ header guard.
+ (Liu Yanbo via blue)
+
+ AVRO-1715. Java: Close files opened by the Schema parser.
+ (Pavel Safrata via blue)
+
+ AVRO-1729: Ruby: Add LICENSE and NOTICE to ruby gems. (blue)
+
+ AVRO-1732: C++: Add LICENSE and NOTICE to binary distribution. (blue)
+
+ AVRO-1733: C#: Add LICENSE and NOTICE to binary distribution. (blue)
+
+ AVRO-1755. Java: avro-mapred should not depend on avro-ipc:test.
+ (Clément MAHTIEU via tomwhite)
+
+ AVRO-1754. C++ ValiditingDecoder handles null incorrectly. (John McClean via thiru)
+
+ AVRO-1731: C: Add LICENSE and NOTICE to binary distribution. (blue)
+
+ AVRO-1735: Perl: Add LICENSE and NOTICE to distribution. (blue)
+
+ AVRO-1736: PHP: Add LICENSE and NOTICE to distribution. (blue)
+
+ AVRO-1730: Python 2, 3: Add LICENSE and NOTICE to distribution. (blue)
+
+ AVRO-1722: Update root LICENSE.txt and NOTICE.txt. (blue)
+
+ AVRO-1584: Java: Escape characters not allowed in JSON in toString. (blue)
+
+ AVRO-1728: Java: Add LICENSE and NOTICE files to jars. (blue)
+
Avro 1.7.7 (23 July 2014)
NEW FEATURES
diff --git a/LICENSE.txt b/LICENSE.txt
index 6d3f211..d4444cd 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -204,80 +204,222 @@
----------------------------------------------------------------------
License for the Jansson C JSON parser used in the C implementation:
-Copyright (c) 2009 Petri Lehtinen <petri at digip.org>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+Copyright (c) 2009-2011 Petri Lehtinen <petri at digip.org>
+
+Some files include an additional copyright notice:
+* lang/c/jansson/src/pack_unpack.c
+ Copyright (c) 2011 Graeme Smecher <graeme.smecher at mail.mcgill.ca>
+* lang/c/jansson/test/suites/api/test_unpack.c
+ Copyright (c) 2011 Graeme Smecher <graeme.smecher at mail.mcgill.ca>
+* lang/c/jansson/src/memory.c
+ Copyright (c) 2011 Basile Starynkevitch <basile at starynkevitch.net>
+
+| Permission is hereby granted, free of charge, to any person obtaining a copy
+| of this software and associated documentation files (the "Software"), to deal
+| in the Software without restriction, including without limitation the rights
+| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+| copies of the Software, and to permit persons to whom the Software is
+| furnished to do so, subject to the following conditions:
+|
+| The above copyright notice and this permission notice shall be included in
+| all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+| THE SOFTWARE.
----------------------------------------------------------------------
-License for the Json.NET used in the C# implementation:
+License for the libtool scripts used in the Jansson C JSON parser:
+
+libtool (GNU libtool) 2.2.10
+Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
+
+Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+
+Included under the terms of the Apache License version 2.0.
+
+| GNU Libtool is free software; you can redistribute it and/or modify
+| it under the terms of the GNU General Public License as published by
+| the Free Software Foundation; either version 2 of the License, or
+| (at your option) any later version.
+|
+| As a special exception to the GNU General Public License,
+| if you distribute this file as part of a program or library that
+| is built using GNU Libtool, you may include this file under the
+| same distribution terms that you use for the rest of that program.
+|
+| GNU Libtool is distributed in the hope that it will be useful, but
+| WITHOUT ANY WARRANTY; without even the implied warranty of
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+| General Public License for more details.
+|
+| You should have received a copy of the GNU General Public License
+| along with GNU Libtool; see the file COPYING. If not, a copy
+| can be downloaded from http://www.gnu.org/licenses/gpl.html,
+| or obtained by writing to the Free Software Foundation, Inc.,
+| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-Copyright (c) 2007 James Newton-King
+----------------------------------------------------------------------
+License for the configure script used in the Jansson C JSON parser:
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+Foundation, Inc.
+
+| This configure script is free software; the Free Software Foundation
+| gives unlimited permission to copy, distribute and modify it.
+
+Portions of the configure script are from libtool (see above) and are
+included under the terms of the Apache License version 2.0.
+
+----------------------------------------------------------------------
+License for the install-sh script used in the Jansson C JSON parser:
+
+Copyright (C) 1994 X Consortium
+
+| This originates from X11R5 (mit/util/scripts/install.sh), which was
+| later released in X11R6 (xc/config/util/install.sh) with the
+| following copyright and license.
+|
+| Permission is hereby granted, free of charge, to any person obtaining a copy
+| of this software and associated documentation files (the "Software"), to
+| deal in the Software without restriction, including without limitation the
+| rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+| sell copies of the Software, and to permit persons to whom the Software is
+| furnished to do so, subject to the following conditions:
+|
+| The above copyright notice and this permission notice shall be included in
+| all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+| X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+| AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+| TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+|
+| Except as contained in this notice, the name of the X Consortium shall not
+| be used in advertising or otherwise to promote the sale, use or other deal-
+| ings in this Software without prior written authorization from the X Consor-
+| tium.
+|
+| FSF changes to this file are in the public domain.
+
+----------------------------------------------------------------------
+License for the aclocal.m4 script used in the Jansson C JSON parser:
+
+Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+
+| This file is free software; the Free Software Foundation
+| gives unlimited permission to copy and/or distribute it,
+| with or without modifications, as long as this notice is preserved.
+|
+| This program is distributed in the hope that it will be useful,
+| but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+| even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+| PARTICULAR PURPOSE.
+
+Portions of the aclocal.m4 file are from libtool (see above) and are
+included under the terms of the Apache License version 2.0.
+
+----------------------------------------------------------------------
+License for build scripts used in the Jansson C JSON parser:
+
+* config.guess
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+ 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+* missing
+ Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
+ Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
+* config.sub
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+ Inc.
+* depcomp
+ Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
+ Foundation, Inc.
+ Originally written by Alexandre Oliva <oliva at dcc.unicamp.br>.
+
+Included under the terms of the Apache License version 2.0.
+
+| This file is free software; you can redistribute it and/or modify it
+| under the terms of the GNU General Public License as published by
+| the Free Software Foundation; either version 2 of the License, or
+| (at your option) any later version.
+|
+| This program is distributed in the hope that it will be useful, but
+| WITHOUT ANY WARRANTY; without even the implied warranty of
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+| General Public License for more details.
+|
+| You should have received a copy of the GNU General Public License
+| along with this program; if not, write to the Free Software
+| Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+| 02110-1301, USA.
+|
+| As a special exception to the GNU General Public License, if you
+| distribute this file as part of a program that contains a
+| configuration script generated by Autoconf, you may include it under
+| the same distribution terms that you use for the rest of that program.
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+----------------------------------------------------------------------
+License for Makefile.in files used in the Jansson C JSON parser:
+
+Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+| This Makefile.in is free software; the Free Software Foundation
+| gives unlimited permission to copy and/or distribute it,
+| with or without modifications, as long as this notice is preserved.
+|
+| This program is distributed in the hope that it will be useful,
+| but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+| even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+| PARTICULAR PURPOSE.
----------------------------------------------------------------------
-License for msinttypes used in the C implementation:
+License for msinttypes.h and msstdint.h used in the C implementation:
Source from:
http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip
Copyright (c) 2006-2008 Alexander Chemeris
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
+| Redistribution and use in source and binary forms, with or without
+| modification, are permitted provided that the following conditions are met:
+|
+| 1. Redistributions of source code must retain the above copyright notice,
+| this list of conditions and the following disclaimer.
+|
+| 2. Redistributions in binary form must reproduce the above copyright
+| notice, this list of conditions and the following disclaimer in the
+| documentation and/or other materials provided with the distribution.
+|
+| 3. The name of the author may be used to endorse or promote products
+| derived from this software without specific prior written permission.
+|
+| THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+| WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+| MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+| EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+| PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+| OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+| WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+| OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+| ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. The name of the author may be used to endorse or promote products
- derived from this software without specific prior written permission.
+----------------------------------------------------------------------
+License for st.c and st.h used in the C implementation:
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+| This is a public domain general purpose hash table package written by
+| Peter Moore @ UCB.
----------------------------------------------------------------------
License for Dirent API for Microsoft Visual Studio used in the C implementation:
@@ -286,23 +428,320 @@ http://www.softagalleria.net/download/dirent/dirent-1.11.zip
Copyright (C) 2006 Toni Ronkko
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-``Software''), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+| Permission is hereby granted, free of charge, to any person obtaining
+| a copy of this software and associated documentation files (the
+| ``Software''), to deal in the Software without restriction, including
+| without limitation the rights to use, copy, modify, merge, publish,
+| distribute, sublicense, and/or sell copies of the Software, and to
+| permit persons to whom the Software is furnished to do so, subject to
+| the following conditions:
+|
+| The above copyright notice and this permission notice shall be included
+| in all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
+| OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+| IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
+| OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+| ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+| OTHER DEALINGS IN THE SOFTWARE.
+
+----------------------------------------------------------------------
+License for simplejson used in the python implementation:
+
+Source from: https://github.com/simplejson/simplejson
+
+Copyright (c) 2006 Bob Ippolito
+
+| Permission is hereby granted, free of charge, to any person obtaining a copy of
+| this software and associated documentation files (the "Software"), to deal in
+| the Software without restriction, including without limitation the rights to
+| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+| of the Software, and to permit persons to whom the Software is furnished to do
+| so, subject to the following conditions:
+|
+| The above copyright notice and this permission notice shall be included in all
+| copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+| SOFTWARE.
+
+----------------------------------------------------------------------
+License for ivy-2.2.0.jar used in the python implementation:
+
+Apache License version 2.0 (see above)
+
+----------------------------------------------------------------------
+License for pyAntTasks-1.3.jar used in the python implementation:
+
+Apache License version 2.0 (see above)
+
+----------------------------------------------------------------------
+License for NUnit binary included with the C# implementation:
+File: nunit.framework.dll
+
+| NUnit License
+|
+| Copyright © 2002-2015 Charlie Poole
+| Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
+| Copyright © 2000-2002 Philip A. Craig
+|
+| This software is provided 'as-is', without any express or implied warranty. In
+| no event will the authors be held liable for any damages arising from the use
+| of this software.
+|
+| Permission is granted to anyone to use this software for any purpose, including
+| commercial applications, and to alter it and redistribute it freely, subject to
+| the following restrictions:
+|
+| The origin of this software must not be misrepresented; you must not claim that
+| you wrote the original software. If you use this software in a product, an
+| acknowledgment (see the following) in the product documentation is required.
+|
+| Portions Copyright © 2002-2012 Charlie Poole or Copyright © 2002-2004 James W.
+| Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright © 2000-2002 Philip A.
+| Craig
+|
+| Altered source versions must be plainly marked as such, and must not be
+| misrepresented as being the original software.
+|
+| This notice may not be removed or altered from any source distribution.
+| License Note
+|
+| This license is based on the open source zlib/libpng license. The idea was to
+| keep the license as simple as possible to encourage use of NUnit in free and
+| commercial applications and libraries, but to keep the source code together and
+| to give credit to the NUnit contributors for their efforts. While this license
+| allows shipping NUnit in source and binary form, if shipping a NUnit variant is
+| the sole purpose of your product, please let us know.
+
+----------------------------------------------------------------------
+License for the Json.NET binary included with the C# implementation:
+File: Newtonsoft.Json.dll
+
+Copyright (c) 2007 James Newton-King
+
+| Permission is hereby granted, free of charge, to any person obtaining
+| a copy of this software and associated documentation files (the
+| "Software"), to deal in the Software without restriction, including
+| without limitation the rights to use, copy, modify, merge, publish,
+| distribute, sublicense, and/or sell copies of the Software, and to
+| permit persons to whom the Software is furnished to do so, subject to
+| the following conditions:
+|
+| The above copyright notice and this permission notice shall be
+| included in all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+| NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+| LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+| OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+----------------------------------------------------------------------
+License for the Castle Core binary included with the C# implementation:
+File: Castle.Core.dll
+
+Copyright (c) 2004-2015 Castle Project
+
+License: Apache License version 2.0 (see above)
+URL: http://opensource.org/licenses/Apache-2.0
+
+----------------------------------------------------------------------
+License for the log4net binary included with the C# implementation:
+File: log4net.dll
+
+Copyright 2004-2015 The Apache Software Foundation.
+
+License: Apache License version 2.0 (see above)
+
+----------------------------------------------------------------------
+License for the m4 macros used by the C++ implementation:
+
+Files:
+* lang/c++/m4/m4_ax_boost_system.m4
+ Copyright (c) 2008 Thomas Porschberg <thomas at randspringer.de>
+ Copyright (c) 2008 Michael Tindal
+ Copyright (c) 2008 Daniel Casimiro <dan.casimiro at gmail.com>
+* lang/c++/m4/m4_ax_boost_asio.m4
+ Copyright (c) 2008 Thomas Porschberg <thomas at randspringer.de>
+ Copyright (c) 2008 Pete Greenwell <pete at mu.org>
+* lang/c++/m4/m4_ax_boost_filesystem.m4
+ Copyright (c) 2009 Thomas Porschberg <thomas at randspringer.de>
+ Copyright (c) 2009 Michael Tindal
+ Copyright (c) 2009 Roman Rybalko <libtorrent at romanr.info>
+* lang/c++/m4/m4_ax_boost_thread.m4
+ Copyright (c) 2009 Thomas Porschberg <thomas at randspringer.de>
+ Copyright (c) 2009 Michael Tindal
+* lang/c++/m4/m4_ax_boost_regex.m4
+ Copyright (c) 2008 Thomas Porschberg <thomas at randspringer.de>
+ Copyright (c) 2008 Michael Tindal
+* lang/c++/m4/m4_ax_boost_base.m4
+ Copyright (c) 2008 Thomas Porschberg <thomas at randspringer.de>
+
+License text:
+| Copying and distribution of this file, with or without modification, are
+| permitted in any medium without royalty provided the copyright notice
+| and this notice are preserved. This file is offered as-is, without any
+| warranty.
+
+----------------------------------------------------------------------
+License for the AVRO_BOOT_NO_TRAIT code in the C++ implementation:
+File: lang/c++/api/Boost.hh
+
+| Boost Software License - Version 1.0 - August 17th, 2003
+|
+| Permission is hereby granted, free of charge, to any person or organization
+| obtaining a copy of the software and accompanying documentation covered by
+| this license (the "Software") to use, reproduce, display, distribute,
+| execute, and transmit the Software, and to prepare derivative works of the
+| Software, and to permit third-parties to whom the Software is furnished to
+| do so, all subject to the following:
+|
+| The copyright notices in the Software and this entire statement, including
+| the above license grant, this restriction and the following disclaimer,
+| must be included in all copies of the Software, in whole or in part, and
+| all derivative works of the Software, unless such copies or derivative
+| works are solely in the form of machine-executable object code generated by
+| a source language processor.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+| SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+| FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+| ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+| DEALINGS IN THE SOFTWARE.
+
+----------------------------------------------------------------------
+License for jquery.tipsy.js, tipsy.js, and tipsy.css used by the Java IPC implementation:
+
+Copyright (c) 2008 Jason Frame (jason at onehackoranother.com)
+
+| Permission is hereby granted, free of charge, to any person obtaining a copy
+| of this software and associated documentation files (the "Software"), to deal
+| in the Software without restriction, including without limitation the rights
+| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+| copies of the Software, and to permit persons to whom the Software is
+| furnished to do so, subject to the following conditions:
+|
+| The above copyright notice and this permission notice shall be included in
+| all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+| THE SOFTWARE.
+
+----------------------------------------------------------------------
+License for protovis-r3.2.js used by the Java IPC implementation:
+
+Copyright (c) 2010, Stanford Visualization Group
+All rights reserved.
+
+| Redistribution and use in source and binary forms, with or without modification,
+| are permitted provided that the following conditions are met:
+|
+| * Redistributions of source code must retain the above copyright notice,
+| this list of conditions and the following disclaimer.
+|
+| * Redistributions in binary form must reproduce the above copyright notice,
+| this list of conditions and the following disclaimer in the documentation
+| and/or other materials provided with the distribution.
+|
+| * Neither the name of Stanford University nor the names of its contributors
+| may be used to endorse or promote products derived from this software
+| without specific prior written permission.
+|
+| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+| ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+| DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+| ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+| ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+----------------------------------------------------------------------
+License for g.Raphael 0.4.1 used by the Java IPC implementation:
+
+Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
+Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
+
+----------------------------------------------------------------------
+License for jQuery v1.4.2 used by the Java IPC implementation:
+
+Copyright 2010, John Resig
+Dual licensed under the MIT or GPL Version 2 licenses.
+http://jquery.org/license
+
+jQuery includes Sizzle.js
+http://sizzlejs.com/
+Copyright 2010, The Dojo Foundation
+Released under the MIT, BSD, and GPL Licenses.
+
+Both are included under the terms of the MIT license:
+
+| Permission is hereby granted, free of charge, to any person obtaining a copy
+| of this software and associated documentation files (the "Software"), to deal
+| in the Software without restriction, including without limitation the rights
+| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+| copies of the Software, and to permit persons to whom the Software is
+| furnished to do so, subject to the following conditions:
+|
+| The above copyright notice and this permission notice shall be included in
+| all copies or substantial portions of the Software.
+|
+| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+| THE SOFTWARE.
----------------------------------------------------------------------
+License for portions of idl.jj in the Java compiler implementation:
+
+Portions of idl.jj were modeled after the example Java 1.5
+parser included with JavaCC. For those portions:
+
+Copyright (c) 2006, Sun Microsystems, Inc.
+All rights reserved.
+
+| Redistribution and use in source and binary forms, with or without
+| modification, are permitted provided that the following conditions are met:
+|
+| * Redistributions of source code must retain the above copyright notice,
+| this list of conditions and the following disclaimer.
+| * Redistributions in binary form must reproduce the above copyright
+| notice, this list of conditions and the following disclaimer in the
+| documentation and/or other materials provided with the distribution.
+| * Neither the name of the Sun Microsystems, Inc. nor the names of its
+| contributors may be used to endorse or promote products derived from
+| this software without specific prior written permission.
+|
+| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+| LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+| INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+| CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+| ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+| THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/NOTICE.txt b/NOTICE.txt
index e601a8e..2a93cb3 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -1,9 +1,65 @@
Apache Avro
-Copyright 2010 The Apache Software Foundation
+Copyright 2010-2015 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
-C JSON parsing provided by Jansson and
-written by Petri Lehtinen. The original software is
-available from http://www.digip.org/jansson/.
+NUnit license acknowledgement:
+
+| Portions Copyright © 2002-2012 Charlie Poole or Copyright © 2002-2004 James
+| W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright © 2000-2002
+| Philip A. Craig
+
+Based upon the representations of upstream licensors, it is understood that
+portions of the mapreduce API included in the Java implementation are licensed
+from various contributors under one or more contributor license agreements to
+Odiago, Inc. and were then contributed by Odiago to Apache Avro, which has now
+made them available under the Apache 2.0 license. The original file header text
+is:
+
+| Licensed to Odiago, Inc. under one or more contributor license
+| agreements. See the NOTICE file distributed with this work for
+| additional information regarding copyright ownership. Odiago, Inc.
+| licenses this file to you under the Apache License, Version 2.0
+| (the "License"); you may not use this file except in compliance
+| with the License. You may obtain a copy of the License at
+|
+| http://www.apache.org/licenses/LICENSE-2.0
+|
+| Unless required by applicable law or agreed to in writing, software
+| distributed under the License is distributed on an "AS IS" BASIS,
+| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+| implied. See the License for the specific language governing
+| permissions and limitations under the License.
+
+The Odiago NOTICE at the time of the contribution:
+
+| This product includes software developed by Odiago, Inc.
+| (http://www.wibidata.com).
+
+Apache Ivy includes the following in its NOTICE file:
+
+| Apache Ivy
+| Copyright 2007-2010 The Apache Software Foundation
+|
+| This product includes software developed by
+| The Apache Software Foundation (http://www.apache.org/).
+|
+| Portions of Ivy were originally developed by
+| Jayasoft SARL (http://www.jayasoft.fr/)
+| and are licensed to the Apache Software Foundation under the
+| "Software Grant License Agreement"
+|
+| SSH and SFTP support is provided by the JCraft JSch package,
+| which is open source software, available under
+| the terms of a BSD style license.
+| The original software and related information is available
+| at http://www.jcraft.com/jsch/.
+
+Apache Log4Net includes the following in its NOTICE file:
+
+| Apache log4net
+| Copyright 2004-2015 The Apache Software Foundation
+|
+| This product includes software developed at
+| The Apache Software Foundation (http://www.apache.org/).
diff --git a/build.sh b/build.sh
index cce0cfb..abfb7be 100755
--- a/build.sh
+++ b/build.sh
@@ -22,7 +22,7 @@ cd `dirname "$0"` # connect to root
VERSION=`cat share/VERSION.txt`
function usage {
- echo "Usage: $0 {test|dist|sign|clean|docker}"
+ echo "Usage: $0 {test|dist|sign|clean|docker|rat}"
exit 1
}
@@ -204,6 +204,10 @@ UserSpecificDocker
avro-build-${USER_NAME}
;;
+ rat)
+ mvn test -Dmaven.main.skip=true -Dmaven.test.skip=true -DskipTests=true -P rat -pl :avro-toplevel
+ ;;
+
*)
usage
;;
diff --git a/doc/build.xml b/doc/build.xml
index 5f7269b..fe21c96 100644
--- a/doc/build.xml
+++ b/doc/build.xml
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
-
+<!--
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License. You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied. See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -->
<project name="doc" default="doc" basedir=".">
<!-- Load user's default properties. -->
diff --git a/doc/examples/example.py b/doc/examples/example.py
index 8e8927c..e213cb9 100644
--- a/doc/examples/example.py
+++ b/doc/examples/example.py
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
import avro.schema
from avro.datafile import DataFileReader, DataFileWriter
from avro.io import DatumReader, DatumWriter
diff --git a/doc/examples/java-example/pom.xml b/doc/examples/java-example/pom.xml
index a38d275..decc235 100644
--- a/doc/examples/java-example/pom.xml
+++ b/doc/examples/java-example/pom.xml
@@ -1,3 +1,21 @@
+<!--
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License. You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied. See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
diff --git a/doc/examples/java-example/src/main/java/example/GenericMain.java b/doc/examples/java-example/src/main/java/example/GenericMain.java
index 6a2995b..87a445c 100644
--- a/doc/examples/java-example/src/main/java/example/GenericMain.java
+++ b/doc/examples/java-example/src/main/java/example/GenericMain.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package example;
import java.io.File;
diff --git a/doc/examples/java-example/src/main/java/example/SpecificMain.java b/doc/examples/java-example/src/main/java/example/SpecificMain.java
index 36d63b2..2b5fd0f 100644
--- a/doc/examples/java-example/src/main/java/example/SpecificMain.java
+++ b/doc/examples/java-example/src/main/java/example/SpecificMain.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package example;
import java.io.File;
diff --git a/doc/examples/mr-example/pom.xml b/doc/examples/mr-example/pom.xml
index 0f7b15e..df52314 100644
--- a/doc/examples/mr-example/pom.xml
+++ b/doc/examples/mr-example/pom.xml
@@ -1,3 +1,21 @@
+<!--
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License. You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied. See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
diff --git a/doc/examples/mr-example/src/main/java/example/GenerateData.java b/doc/examples/mr-example/src/main/java/example/GenerateData.java
index afef802..1635df5 100644
--- a/doc/examples/mr-example/src/main/java/example/GenerateData.java
+++ b/doc/examples/mr-example/src/main/java/example/GenerateData.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package example;
import java.io.File;
diff --git a/doc/forrest.properties b/doc/forrest.properties
index 61ffba3..e91828b 100644
--- a/doc/forrest.properties
+++ b/doc/forrest.properties
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# Make Forrest work with Java6
forrest.validate.sitemap=false
diff --git a/doc/src/content/xdocs/site.xml b/doc/src/content/xdocs/site.xml
index 547969c..85d5fb9 100644
--- a/doc/src/content/xdocs/site.xml
+++ b/doc/src/content/xdocs/site.xml
@@ -57,13 +57,13 @@ See http://forrest.apache.org/docs/linking.html for more info
</docs>
<external-refs>
- <site href="http://hadoop.apache.org/avro/"/>
- <lists href="http://hadoop.apache.org/avro/mailing_lists.html"/>
+ <site href="http://avro.apache.org/"/>
+ <lists href="http://avro.apache.org/mailing_lists.html"/>
<archive href="http://mail-archives.apache.org/mod_mbox/hadoop-avro-commits/"/>
- <releases href="http://hadoop.apache.org/avro/releases.html">
+ <releases href="http://avro.apache.org/releases.html">
<download href="#Download" />
</releases>
- <jira href="http://hadoop.apache.org/avro/issue_tracking.html"/>
+ <jira href="http://avro.apache.org/issue_tracking.html"/>
<wiki href="http://wiki.apache.org/hadoop/Avro/" />
<faq href="http://wiki.apache.org/hadoop/Avro/FAQ" />
<json href="http://www.json.org/" />
diff --git a/doc/src/content/xdocs/tabs.xml b/doc/src/content/xdocs/tabs.xml
index 39a026e..0a532b5 100644
--- a/doc/src/content/xdocs/tabs.xml
+++ b/doc/src/content/xdocs/tabs.xml
@@ -32,7 +32,7 @@
directory (ends in '/'), in which case /index.html will be added
-->
- <tab label="Project" href="http://hadoop.apache.org/avro/" />
+ <tab label="Project" href="http://avro.apache.org/" />
<tab label="Wiki" href="http://wiki.apache.org/hadoop/Avro/" />
<tab label="Avro &AvroVersion; Documentation" dir="" />
diff --git a/doc/src/skinconf.xml b/doc/src/skinconf.xml
index 1b64561..fcd7933 100644
--- a/doc/src/skinconf.xml
+++ b/doc/src/skinconf.xml
@@ -31,7 +31,7 @@ which will be used to configure the chosen Forrest skin.
In other words google will search the @domain for the query string.
-->
- <search name="Avro" domain="hadoop.apache.org" provider="google"/>
+ <search name="Avro" domain="avro.apache.org" provider="google"/>
<!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
<disable-print-link>true</disable-print-link>
diff --git a/lang/py/setup.py b/lang/py/setup.py
index 94f2c3a..0d3c9b9 100755
--- a/lang/py/setup.py
+++ b/lang/py/setup.py
@@ -32,17 +32,20 @@ setup(
package_dir = {'avro': 'src/avro'},
scripts = ["./scripts/avro"],
+ #include_package_data=True,
+ package_data={'avro': ['LICENSE', 'NOTICE']},
+
# Project uses simplejson, so ensure that it gets installed or upgraded
# on the target machine
install_requires = install_requires,
# metadata for upload to PyPI
author = 'Apache Avro',
- author_email = 'avro-dev at hadoop.apache.org',
+ author_email = 'dev at avro.apache.org',
description = 'Avro is a serialization and RPC framework.',
license = 'Apache License 2.0',
keywords = 'avro serialization rpc',
- url = 'http://hadoop.apache.org/avro',
+ url = 'http://avro.apache.org/',
extras_require = {
'snappy': ['python-snappy'],
},
diff --git a/LICENSE.txt b/lang/py/src/avro/LICENSE
similarity index 67%
copy from LICENSE.txt
copy to lang/py/src/avro/LICENSE
index 6d3f211..6b0b127 100644
--- a/LICENSE.txt
+++ b/lang/py/src/avro/LICENSE
@@ -201,108 +201,3 @@
See the License for the specific language governing permissions and
limitations under the License.
-----------------------------------------------------------------------
-License for the Jansson C JSON parser used in the C implementation:
-
-Copyright (c) 2009 Petri Lehtinen <petri at digip.org>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-----------------------------------------------------------------------
-License for the Json.NET used in the C# implementation:
-
-Copyright (c) 2007 James Newton-King
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-----------------------------------------------------------------------
-License for msinttypes used in the C implementation:
-Source from:
-http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip
-
-Copyright (c) 2006-2008 Alexander Chemeris
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. The name of the author may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-----------------------------------------------------------------------
-License for Dirent API for Microsoft Visual Studio used in the C implementation:
-Source from:
-http://www.softagalleria.net/download/dirent/dirent-1.11.zip
-
-Copyright (C) 2006 Toni Ronkko
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-``Software''), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-----------------------------------------------------------------------
diff --git a/lang/py/src/avro/NOTICE b/lang/py/src/avro/NOTICE
new file mode 100644
index 0000000..646196a
--- /dev/null
+++ b/lang/py/src/avro/NOTICE
@@ -0,0 +1,6 @@
+Apache Avro
+Copyright 2010-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
diff --git a/lang/py/src/avro/tether/__init__.py b/lang/py/src/avro/tether/__init__.py
index 458c692..33dc141 100644
--- a/lang/py/src/avro/tether/__init__.py
+++ b/lang/py/src/avro/tether/__init__.py
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
from .util import *
from .tether_task import *
from .tether_task_runner import *
diff --git a/lang/py/test/test_tether_task_runner.py b/lang/py/test/test_tether_task_runner.py
index a3f10fe..733e853 100644
--- a/lang/py/test/test_tether_task_runner.py
+++ b/lang/py/test/test_tether_task_runner.py
@@ -59,6 +59,9 @@ class TestTetherTaskRunner(unittest.TestCase):
runner.start(outputport=parent_port,join=False)
+ # Wait for the server to start
+ time.sleep(1)
+
# Test sending various messages to the server and ensuring they are
# processed correctly
requestor=HTTPRequestor("localhost",runner.server.server_address[1],inputProtocol)
diff --git a/lang/py/test/test_tether_word_count.py b/lang/py/test/test_tether_word_count.py
index 6e51d31..bff6468 100644
--- a/lang/py/test/test_tether_word_count.py
+++ b/lang/py/test/test_tether_word_count.py
@@ -189,6 +189,7 @@ python -m avro.tether.tether_task_runner word_count_task.WordCountTask
proc.wait()
+ time.sleep(1) # wait a bit longer to clean up
# read the output
with file(os.path.join(outpath,"part-00000.avro")) as hf:
diff --git a/lang/py3/README.txt b/lang/py3/README.txt
new file mode 100644
index 0000000..0d90713
--- /dev/null
+++ b/lang/py3/README.txt
@@ -0,0 +1,13 @@
+Apache Avro™ is a data serialization system.
+
+Learn more about Avro, please visit our website at:
+
+ http://avro.apache.org/
+
+To contribute to Avro, please read:
+
+ https://cwiki.apache.org/confluence/display/AVRO/How+To+Contribute
+
+For LICENSE and NOTICE information for the python3 implementation, see:
+* avro/LICENSE
+* avro/NOTICE
diff --git a/LICENSE.txt b/lang/py3/avro/LICENSE
similarity index 67%
copy from LICENSE.txt
copy to lang/py3/avro/LICENSE
index 6d3f211..6b0b127 100644
--- a/LICENSE.txt
+++ b/lang/py3/avro/LICENSE
@@ -201,108 +201,3 @@
See the License for the specific language governing permissions and
limitations under the License.
-----------------------------------------------------------------------
-License for the Jansson C JSON parser used in the C implementation:
-
-Copyright (c) 2009 Petri Lehtinen <petri at digip.org>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-----------------------------------------------------------------------
-License for the Json.NET used in the C# implementation:
-
-Copyright (c) 2007 James Newton-King
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-----------------------------------------------------------------------
-License for msinttypes used in the C implementation:
-Source from:
-http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip
-
-Copyright (c) 2006-2008 Alexander Chemeris
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. The name of the author may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-----------------------------------------------------------------------
-License for Dirent API for Microsoft Visual Studio used in the C implementation:
-Source from:
-http://www.softagalleria.net/download/dirent/dirent-1.11.zip
-
-Copyright (C) 2006 Toni Ronkko
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-``Software''), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-----------------------------------------------------------------------
diff --git a/lang/py3/avro/NOTICE b/lang/py3/avro/NOTICE
new file mode 100644
index 0000000..646196a
--- /dev/null
+++ b/lang/py3/avro/NOTICE
@@ -0,0 +1,6 @@
+Apache Avro
+Copyright 2010-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
diff --git a/lang/py3/setup.py b/lang/py3/setup.py
index 53b76ad..3673f11 100644
--- a/lang/py3/setup.py
+++ b/lang/py3/setup.py
@@ -26,6 +26,8 @@ from setuptools import setup
VERSION_FILE_NAME = 'VERSION.txt'
+LICENSE_FILE_NAME = 'LICENSE'
+NOTICE_FILE_NAME = 'NOTICE'
# The following prevents distutils from using hardlinks (which may not always be
# available, e.g. on a Docker volume). See http://bugs.python.org/issue8876
@@ -134,6 +136,8 @@ def Main():
'HandshakeRequest.avsc',
'HandshakeResponse.avsc',
VERSION_FILE_NAME,
+ LICENSE_FILE_NAME,
+ NOTICE_FILE_NAME,
],
},
@@ -142,11 +146,11 @@ def Main():
# metadata for upload to PyPI
author = 'Apache Avro',
- author_email = 'avro-dev at hadoop.apache.org',
+ author_email = 'dev at avro.apache.org',
description = 'Avro is a serialization and RPC framework.',
license = 'Apache License 2.0',
keywords = 'avro serialization rpc',
- url = 'http://hadoop.apache.org/avro',
+ url = 'http://avro.apache.org/',
)
diff --git a/pom.xml b/pom.xml
index c3b6197..f9a5322 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,7 @@
<!-- plugin versions -->
<antrun-plugin.version>1.7</antrun-plugin.version>
<enforcer-plugin.version>1.3.1</enforcer-plugin.version>
+ <rat.version>0.9</rat.version>
</properties>
<modules>
@@ -101,6 +102,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${enforcer-plugin.version}</version>
+ <inherited>false</inherited>
<configuration>
<rules>
<requireProperty>
@@ -204,31 +206,84 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>${antrun-plugin.version}</version>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>${rat.version}</version>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
- <target name="rat">
- <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
- reportFile="build/rat-report.log">
- <fileset dir="build/avro-src-${project.version}/"
- excludesfile="share/rat-excludes.txt"/>
- </rat:report>
- <condition property="rat.passed">
- <isfileselected file="build/rat-report.log">
- <containsregexp expression="^0 Unknown Licenses"/>
- </isfileselected>
- </condition>
- <fail unless="rat.passed">Unknown licenses: See build/rat-report.log.</fail>
- </target>
+ <excludeSubProjects>false</excludeSubProjects>
+ <excludes>
+ <!-- version control files -->
+ <!-- may not be in the root folder if using git-svn -->
+ <exclude>**/.git/**</exclude>
+ <exclude>**/.gitignore</exclude>
+ <!-- build or test files -->
+ <!-- <exclude>**/target/**</exclude> -->
+ <exclude>**/*.log</exclude>
+ <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java</exclude>
+ <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java</exclude>
+ <exclude>lang/java/tools/src/test/compiler/output/Player.java</exclude>
+ <exclude>lang/java/tools/src/test/compiler/output/Position.java</exclude>
+ <exclude>lang/csharp/src/apache/test/Ipc/GeneratedFiles/**/*.cs</exclude>
+ <exclude>lang/csharp/src/apache/perf/com/foo/*.cs</exclude>
+ <exclude>lang/csharp/src/apache/ipc/org/apache/avro/ipc/*.cs</exclude>
+ <exclude>lang/java/mapred/src/test/resources/org/apache/avro/mapreduce/mapreduce-test-input.txt</exclude>
+ <exclude>lang/java/mapred/src/test/resources/org/apache/avro/mapreduce/mapreduce-test-input.avro/_SUCCESS</exclude>
+ <exclude>lang/java/protobuf/src/test/java/org/apache/avro/protobuf/Test.java</exclude>
+ <!-- data and schema files -->
+ <exclude>**/*.avro</exclude> <!-- binary format -->
+ <exclude>**/*.avsc</exclude> <!-- does not allow comments -->
+ <exclude>**/*.avpr</exclude> <!-- does not allow comments -->
+ <exclude>**/*.json</exclude> <!-- does not allow comments -->
+ <exclude>lang/c/tests/schema_tests/fail/*</exclude> <!-- C test cases -->
+ <exclude>lang/c/tests/schema_tests/pass/*</exclude> <!-- C test cases -->
+ <exclude>lang/c++/jsonschemas/*</exclude> <!-- C++ test cases -->
+ <!-- IDE settings and files -->
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.settings/**</exclude>
+ <exclude>**/.idea/**</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>lang/csharp/Avro.sln</exclude> <!-- visual studio -->
+ <!-- build-related files -->
+ <exclude>BUILD.txt</exclude>
+ <exclude>share/VERSION.txt</exclude>
+ <exclude>lang/perl/.shipit</exclude>
+ <exclude>lang/c/src/avro-c.pc.in</exclude>
+ <exclude>lang/ruby/Manifest</exclude>
+ <exclude>lang/java/tools/userlogs/**</exclude>
+ <exclude>lang/java/mapred/userlogs/**</exclude>
+ <exclude>lang/java/archetypes/avro-service-archetype/src/test/integration/projects/basic/goal.txt</exclude>
+ <exclude>lang/java/tools/dependency-reduced-pom.xml</exclude>
+ <!-- text documentation files -->
+ <exclude>CHANGES.txt</exclude>
+ <exclude>DIST_README.txt</exclude>
+ <exclude>lang/perl/Changes</exclude>
+ <exclude>lang/c/README.maintaining_win32.txt</exclude>
+ <exclude>lang/c/docs/index.txt</exclude>
+ <exclude>lang/csharp/README</exclude>
+ <exclude>lang/java/archetypes/avro-service-archetype/src/test/integration/projects/basic/archetype.properties</exclude> <!-- used to generate user projects -->
+ <!-- files and directories covered by LICENSE.txt -->
+ <exclude>lang/py/lib/simplejson/**</exclude>
+ <exclude>lang/c/jansson/**</exclude>
+ <exclude>lang/c/src/avro/msinttypes.h</exclude>
+ <exclude>lang/c/src/avro/msstdint.h</exclude>
+ <exclude>lang/c/src/st.c</exclude>
+ <exclude>lang/c/src/st.h</exclude>
+ <exclude>lang/c/tests/msdirent.h</exclude>
+ <exclude>lang/c++/m4/*.m4</exclude>
+ <exclude>lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/protovis-r3.2.js</exclude>
+ <exclude>lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/g.bar.js</exclude>
+ <exclude>lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/jquery-1.4.2.min.js</exclude>
+ </excludes>
</configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-tasks</artifactId>
- <version>${apache-rat-tasks.version}</version>
- </dependency>
- </dependencies>
</plugin>
</plugins>
</build>
diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index 3bc0b33..aa82a45 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -21,13 +21,16 @@ FROM java:7-jdk
WORKDIR /root
+# Add the repository for node.js 4.x
+RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
+
# Install dependencies from packages
RUN apt-get update && apt-get install --no-install-recommends -y \
git subversion curl ant make maven \
gcc cmake asciidoc source-highlight \
g++ flex bison libboost-all-dev doxygen \
mono-devel mono-gmcs nunit \
- nodejs nodejs-legacy npm \
+ nodejs \
perl \
php5 phpunit php5-gmp bzip2 \
python python-setuptools python3-setuptools \
diff --git a/share/rat-excludes.txt b/share/rat-excludes.txt
deleted file mode 100644
index 9b05e70..0000000
--- a/share/rat-excludes.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-**/*.avpr
-**/*.avro
-**/*.avsc
-**/*.dox
-**/*.gperf
-**/*.html
-**/*.json
-**/*.js
-**/*.la
-**/*.m4
-**/*.md
-**/*.md5
-**/*.pom
-**/*.properties
-**/*.sha1
-**/*.txt
-**/.gitignore
-**/Makefile**
-**/configure**
-**/_*
-doc/**
-lang/py/lib/simplejson/**
-lang/c++/Doxyfile
-lang/c++/jsonschemas/**
-lang/c/autom4te.cache/**
-lang/c/config**
-lang/c++/config**
-lang/c/docs/**
-lang/c/json/**
-lang/c/src/avro-c.pc.in
-lang/c/src/avro/msinttypes.h
-lang/c/src/avro/msstdint.h
-lang/c/tests/**
-lang/c/version.sh
-lang/ruby/Manifest
-lang/c/build.sh
-lang/c/jansson/**
-lang/c/src/queue.h
-lang/c/src/st.h
-lang/c/src/st.c
-lang/csharp/Avro.sln
-lang/csharp/Avro.nunit
-lang/csharp/src/apache/ipc/org/apache/avro/ipc/**
-lang/csharp/src/apache/perf/com/foo/**
-lang/csharp/src/apache/test/Ipc/GeneratedFiles/**
-lang/java/avro/src/test/java/org/apache/avro/TypeEnum.java
-lang/java/avro/src/test/java/org/apache/avro/FooBarSpecificRecord.java
-lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/*.js
-lang/java/ipc/src/main/java/org/apache/avro/ipc/stats/static/*.css
-lang/java/protobuf/src/test/java/org/apache/avro/protobuf/Test.java
-lang/java/thrift/src/test/java/org/apache/avro/thrift/test/*.java
-lang/java/tools/src/test/compiler/output*/**
-lang/perl/.shipit
-lang/perl/Changes
-lang/perl/MANIFEST*
-share/test/data/test.avro12
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-avro.git
More information about the debian-med-commit
mailing list