BlueJ makes use of, and distributes with it, several third party libraries which
are made available under different license conditions.

Copies of various licenses can be found in the "thirdpartylicenses" directory/folder
within the BlueJ distribution.

Contents:
1. Copyright notices
2. Libraries used and their licenses
3. Licenses for code not part of libraries
4. Summary of jar files and licenses


1. COPYRIGHT NOTICES
====================

Licenses of third-party software used in BlueJ require the following notices be present in
the BlueJ documentation:


Apache HttpComponents Client
Copyright 1999-2011 The Apache Software Foundation

Apache Commons Logging
Copyright 2003-2013 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This project contains annotations derived from JCIP-ANNOTATIONS
Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net

This product includes software developed by
CollabNet (http://www.Collab.Net/).



2. LIBRARIES AND THEIR LICENSES
===============================

The following is a list of the libraries used in BlueJ, and their licenses:


Antlr runtime library (3-clause BSD license) 
--------------------------------------------
"antlr-runtime-3.4.jar", which is part of the Antlr package (http://www.antlr.org/),
is also distributed as part of the SVNKit library, which BlueJ uses. It is distributed
under the BSD license as found in "antlr-BSD.txt".


Apple Java Extensions (BSD-like license)
----------------------------------------
"AppleJavaExtensions.jar" is the Apple Java Extensions stub library, which provides
stubs for Java methods that provide Mac OS X specific functionality, so that code using
these functions can be compiled on other operating systems. The license can be found in
the "AppleJavaExtensions.txt" file. More information on the Apple Java Extensions can
be found here:
https://developer.apple.com/legacy/library/samplecode/AppleJavaExtensions/Introduction/Intro.html


Apache Commons libraries (Apache License version 2.0)
-----------------------------------------------------
Various components of the Apache Commons libraries (https://commons.apache.org/) are
used by BlueJ:
  commons-logging-api-1.1.2.jar
  commons-vfs2-2.0.jar
These components are distributed under the Apache License version 2.0. A copy of this
license can be found in the "Apache-License-2.0.txt" file.  


Apache HttpComponents library (Apache License version 2.0)
----------------------------------------------------------
Various components of the Apache HttpComponents library (https://hc.apache.org/) are
used by BlueJ:
  httpclient-4.1.1.jar
  httpcore-4.1.1.jar
  httpmime-4.1.1.jar 
These components are distributed under the Apache License version 2.0. A copy of this
license can be found in the "Apache-License-2.0.txt" file.  
 

Diffutils (Apache License version 2.0)
--------------------------------------
"diffutils-1.2.1.jar" is from the Diff Utils library, for computing diffs (deltas) between
text files. It is used by BlueJ for (opt-in) data collection purposes. More information on
this library can be found on the Google Code page for the project:

https://code.google.com/p/java-diff-utils/

The library is distributed under the Apache License version 2.0, as found in the
"Apache-License-2.0.txt" file.


Guava - Google Core library (Apache License version 2.0)
--------------------------------------------------------
"guava-17.0.jar" is from the Google Core libraries for Java
(https://github.com/google/guava) which BlueJ uses.
It is distributed under the Apache License version 2.0, as found in the
"Apache-License-2.0.txt" file.


Hamcrest (3-clause BSD license)
-------------------------------
"hamcrest-core-1.3.jar" is part of the Hamcrest libary
(http://hamcrest.org/JavaHamcrest/) and is a dependency of JUnit, which
is used by BlueJ.
It is available under the "3 clause BSD" license as found in the
"hamcrest-BSD.txt" file.


Javassist library (Apache License version 2.0)
----------------------------------------------
"javassist-3.18.0" is the Javassist library (http://jboss-javassist.github.io/javassist/),
a bytecode engineering library used by BlueJ.
Javassist is Copyright (C) 1999-2013, Shigeru Chiba.
The copyright holder allows distribution of Javassist under a choice of several licenses.
In BlueJ it is distributed under the terms of the Apache License version 2.0, as found
in the "Apache-License-2.0.txt" file.


JGit library (Eclipse Distribution License version 1.0)
-------------------------------------------------------
"org.eclipse.jgit-4.1.0.jar" is part of the JGit library (https://eclipse.org/jgit/) used by BlueJ for
Git support. It is distributed under the terms of the Eclipse Distribution License,
as found in the "EDL-v1.0.txt" file.


JNA (Apache License version 2.0)
--------------------------------
"jna-4.2.0.jar" and "jna-platform-4.2.0" are part of the Java Native Access library
(JNA; https://github.com/java-native-access/jna). This library is used by BlueJ directly
and also by SVNKit (which is in turn used by BlueJ).
The copyright holder allows distribution of JNA under a choice of two licenses.
In BlueJ it is distributed under the terms of the Apache License version 2.0, as found
in the "Apache-License-2.0.txt" file.


JSch Java Secure Channel (BSD-style license)
--------------------------------------------------
"jsch-0.1.53.jar" provides a pure java implementation of SSH2 for JGit library, 
which is used by Bluej. It is distributed under the terms of a BSD-style license, 
as found in the "jsch-BSD.txt" file.


JUnit (Common Public License v1.0)
----------------------------------
"junit-4.11.jar" is part of the JUnit unit testing library (http://junit.org/) which is
used by BlueJ. It is distributed under the terms of the Common Public License
version 1.0, as found in the "CPL-v1.0.txt" file.


NSMenuFX library (3-clause BSD license)
-----------------------------------
"nsmenufx-2.1.4.jar", the NSMenuFX library (https://github.com/codecentric/NSMenuFX),
is a library to customize the OS X menu bar when it is on FX to be able to customize
the auto-generated application menu. This version is distributed under the terms of
the BSD license as found in the "nsmenufx-BSD.txt" file.


Sequence Library (3-clause BSD license)
---------------------------------------
"sequence-library-1.0.3.jar" is part of a sequence library, available in source form
from the subversion repository at http://svn.svnkit.com/repos/3rdparty (under the path
de.regnis.q.sequence). This version is distributed under the terms of the BSD license
as found in the "sequence-library-BSD.txt" file.


SLF4J Simple Logging Facade for Java (MIT license)
--------------------------------------------------
"slf4j-api-1.7.2.jar" and "slf4j-jdk14-1.7.2.jar" provides logging capabilities
for JGit library, is used by Bluej. It is distributed under the terms of a MIT
license, as found in the "slf4j-MIT.txt" file.


SVNKit (TMate Open Source License)
----------------------------------
"svnkit.jar" is part of the SVNKit library (http://svnkit.com/) used by BlueJ for
Subversion support. It is distributed under the terms of the TMate Open Source license,
as found in the "svnkit.txt" file.


SVNKit JavaHL bindings (Suvbersion 1.6 license)
-------------------------------------------
"svnkit-javahl.jar", which provides Subversion "JavaHL"-compatible bindings for the
SVNKit library, is used by BlueJ. It is distributed under the terms of the Subversion
license, as found in the "svnkit-javahl.txt" file.


SQLJet library (TMate Open Source License)
------------------------------------------
"sqljet-1.1.10", the SQLJet library (http://sqljet.com/), is distributed as part of
the SVNKit library. The terms of distribution can be found in the "sqljet.txt" file
and allow for distribution under the TMate Open Source License so long as SQLJet
is distributed as part of SVNKit. 


Trilead SSH library (BSD-like license)
--------------------------------------
"trilead.jar" comprises the Trilead library, used by BlueJ to provide SSH support for
version control. It is distributed under a BSD-like license as found in the
"trilead.txt" file.


XOM XML Object Modeller library (Lesser GNU Public License v2.1)
----------------------------------------------------------------
"xom-1.2.9.jar" comprises the XOM library (http://www.cafeconleche.org/XOM/), used
by BlueJ. It is distributed under the terms of the LGPL v2.1, as found in the
"GNU-LGPL-v2.1.txt" file.



3. LICENSES FOR CODE NOT PART OF LIBRARIES


The Damerau-Levenshtein algorithm in bluej.utility.DamerauLevenshteinAlgorithm has
the following licence:

Copyright (c) 2012 Kevin L. Stern

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.

---

The Reflections code in org.reflections was taken from the Reflections library by ronamo,
master version from https://github.com/ronmamo/reflections on 2014-05-30, after commit
662061c7544a6fb4155dbfa8b95d4d5c7a372806.  The code was originally licensed under the WTFPL,
and is distributed as part of BlueJ under the GPLv2 license with Classpath exception (the
primary BlueJ license). 



4. SUMMARY OF THIRD-PARTY JAR FILES AND LICENSES

commons-logging-api-1.1.2.jar            Apache License v2.0
commons-vfs2-2.0.jar                     Apache License v2.0
diffutils-1.2.1.jar                      Apache License v2.0
guava-17.0.jar                           Apache License v2.0
hamcrest-core-1.3.jar                    BSD License
httpclient-4.1.1.jar                     Apache License v2.0
httpcore-4.1.jar                         Apache License v2.0
httpmime-4.1.1.jar                       Apache License v2.0
javassist-3.18.0.jar                     Apache License v2.0
jna-4.2.0.jar                            Apache License v2.0
jna-platform-4.2.0.jar                   Apache License v2.0
jsch-0.1.53.jar                          BSD License
junit-4.11.jar                           Common Public License v1.0
nsmenufx-2.1.4.jar                       BSD license
org.eclipse.jgit-4.1.0.jar               Eclipse Distribution License (EDL) v1.0
sequence-library-1.0.3.jar               BSD License
slf4j-api-1.7.2.jar                      MIT
slf4j-jdk14-1.7.2.jar                    MIT
sqljet-1.1.10.jar                        TMate Open Source License
svnkit-javahl.jar                        Subversion License
svnkit.jar                               TMate Open Source License
trilead.jar                              BSD-like license
xom-1.2.9.jar                            Lesser GPL v2.1
