Bug 59262

Summary: Add list of binary jars to LICENSE; use that for unit tests
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X 10.1   

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
Comment 3 The ASF infrastructure team 2022-09-24 20:38:03 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3929