Bug 59262 - Add list of binary jars to LICENSE; use that for unit tests
Summary: Add list of binary jars to LICENSE; use that for unit tests
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-02 12:12 UTC by Sebb
Modified: 2016-04-02 13:20 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2016-04-02 12:12:44 UTC
It's difficult for users to determine the licenses that apply to the jars in the binary archive. 3rd party jars should have license files in licenses/bin, but it's not easy to tell which jars are 3rd party, so if a license file is missing it's not clear whether that is an oversight or it is an ASF jar.

Also there's no need to include AL 2.0 licences in licences/bin.

Further, there's currently no check that all 3rd party jars have licenses under licenses/bin. [It looks like at least one is missing]

A solution (already mentioned on mailing list) is to esure all the binary package non-JMeter jar file names are listed in the LICENSE file.
This can be done under the following headings:

ASF jars
non-ASF jars under AL 2.0
non-ASF jars under other licenses

This makes it easy for users to find out the licensing details.
It also means it's now possible to write further unit tests to check that every jar is documented and has a license.

[Note: the code has mostly been written]
Comment 1 Sebb 2016-04-02 13:18:32 UTC
URL: http://svn.apache.org/viewvc?rev=1737502&view=rev
Log:
Add list of binary jars to LICENSE; use that for unit tests
(ctd)
Update unit tests
Remove AL 2.0 licenses
Add missing BSD license for dnsjava
Bugzilla Id: 59262

Added:
    jmeter/trunk/licenses/bin/dnsjava-2.1.7.txt   (with props)
Removed:
    jmeter/trunk/licenses/bin/accessors-smart-1.1.txt
    jmeter/trunk/licenses/bin/json-path-2.2.0.txt
    jmeter/trunk/licenses/bin/json-smart-2.2.1.txt
    jmeter/trunk/licenses/bin/mongo-java-driver-2.11.3.txt
    jmeter/trunk/licenses/bin/ph-commons-6.2.4.txt
    jmeter/trunk/licenses/bin/ph-css-4.1.0.txt
Modified:
    jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java
Comment 2 Sebb 2016-04-02 13:20:57 UTC
URL: http://svn.apache.org/viewvc?rev=1737503&view=rev
Log:
Add list of binary jars to LICENSE; use that for unit tests
Bugzilla Id: 59262

Modified:
    jmeter/trunk/xdocs/changes.xml