Commit ac04984
committed
Add maven license detection updates
Add a new config variable for datafile handlers, which if enabled
will run a package-ecosystem specific implementation of license
detection. Added a function to implement this for maven which only keeps
the relevant information and runs license detection on the whole
license statement and not on the respective values/attributes
one-by-one. Enabled this for maven to improve license detection there.
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>1 parent d5e811b commit ac04984
File tree
215 files changed
+1628
-3284
lines changed- src/packagedcode
- tests
- formattedcode/data/common
- packagedcode/data
- instance
- license_detection/reference-to-package
- m2
- aopalliance/aopalliance/1.0
- aspectj/aspectjrt/1.5.3
- biz/aQute/bndlib
- 0.0.203
- 0.0.238
- bytebuddy
- c3p0/c3p0/0.9.0.4
- codec/commons-codec/1.3
- collections/commons-collections/3.2
- com
- jcraft/jsch
- 0.1.23
- 0.1.27
- thoughtworks/xstream/xstream-parent/1.2.2
- depman
- digester/commons-digester/1.8
- el/commons-el/1.0
- hsqldb/hsqldb/1.8.0.7
- httpunit/httpunit/1.6.2
- io/commons-io/1.3.1
- javassist/javassist/3.4.GA
- javax/persistence/persistence-api/1.0
- jboss
- javassist/3.3.ga
- jboss-archive-browsing/5.0.0alpha-200607201-119
- jtidy/jtidy/4aug2000r7-dev
- junit/junit
- 3.8.1
- 3.8.2
- 4.4
- lang/commons-lang
- 2.1
- 2.3
- log4j/log4j/1.2.15
- logging/commons-logging
- 1.0.4
- 1.1
- mysql/mysql-connector-java/5.0.4
- net/sf
- ehcache/ehcache/1.2.3
- kxml/kxml2/2.2.2
- org
- acegisecurity/acegi-security-parent
- 1.0.5
- 1.0.7
- ajax4jsf/master/1.1.1
- apache
- apache
- 1
- 3
- 4
- commons/commons-jaxrs/1.22
- geronimo/genesis/config/project-config/1.1
- maven
- maven
- 2.0.1
- 2.0.2
- 2.0.4
- 2.0
- plugins/maven-dependency-plugin/2.0
- wagon
- wagon-file/1.0-alpha-5
- wagon-http-lightweight/1.0-alpha-5
- wagon-provider-api/1.0-alpha-5
- wagon-ssh/1.0-alpha-5
- wagon/1.0-alpha-6
- mina/build/1.1.1
- myfaces/maven/myfaces-master/1.0.5
- velocity/velocity/1.5
- aspectj
- aspectjrt
- 1.5.4
- 1.6.0
- aspectjtools
- 1.5.4
- 1.6.0
- aspectjweaver
- 1.5.4
- 1.6.0
- codehaus
- mojo
- aspectj-maven-plugin/1.0
- build-helper-maven-plugin/1.2-SNAPSHOT
- cobertura-maven-plugin/2.2
- findbugs-maven-plugin/1.1.1
- maven-buildnumber-plugin/0.9.6
- plexus/plexus/1.0.11
- easymock
- easymockclassextension/2.3
- easymock/2.3
- hibernate
- hibernate-annotations
- 3.2.1.ga
- 3.3.1.GA
- hibernate-commons-annotations/3.0.0.ga
- hibernate-entitymanager
- 3.2.1.ga
- 3.3.2.GA
- hibernate
- 3.2.1.ga
- 3.2.6.ga
- mortbay/jetty
- jetty-parent/7
- project/6.1.5
- servlet-api-2.5/6.1.5
- springframework
- spring-aop/2.5.3
- spring-aspects
- 2.5.3
- 2.5.4
- spring-beans/2.5.3
- spring-context-support/2.5.3
- spring-context/2.5.3
- spring-core/2.5.3
- spring-jdbc/2.5.3
- spring-orm/2.5.3
- spring-test
- 2.5.3
- 2.5.4
- spring-tx/2.5.3
- spring-webmvc
- 2.5.3
- 2.5.4
- spring-web/2.5.3
- spring/2.5.4
- testng/testng
- 5.7
- 5.8
- p6spy/p6spy/1.3
- parsing_issues
- parse_error
- was_empty
- validator/commons-validator
- 1.2.0
- 1.3.1
- velocity/velocity/1.4
- xml-apis/xml-apis/1.0.b2
- xmlpull/xmlpull/1.1.3.1
- maven2
- aopalliance-1.0
- commons-validator-1.2.0
- findbugs-maven-plugin-1.1.1
- foo-pom
- jrecordbind-2.3.4
- log4j
- logback-access
- spring-2.5.4
- spring-orm-2.5.3
- spring-webmvc-2.5.3
- plugin
- pypi
- archive
- dist-info-metadata
- metadata
- v10
- v11
- v12
- v20
- v21
- more_setup.py
- setup.py-versions
- cdp-seattle-backend-1.0.0
- certifi-2020.6.20
- cffi-1.14.0
- chardet-3.0.4
- docutils-0.16
- idna-2.9
- paho-mqtt-1.5.0
- pexpect-4.6.0
- pip-22.0.4
- pycparser-2.20
- pyserial-3.4
- pytoml-0.1.21
- requests-2.24.0
- six-1.14.0
- urllib3-1.25.9
- setup.py
- site-packages
- solo-setup
- source-package
- unpacked_sdist
- metadata-1.1
- metadata-1.2
- prefer-egg-info-pkg-info
- unpacked_wheel
- metadata-2.0
- metadata-2.1
- with_sources
- win_pe
- summarycode/data
- classify
- score
- summary/summary_without_holder
- tallies/packages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
215 files changed
+1628
-3284
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
683 | 685 | | |
684 | 686 | | |
685 | 687 | | |
686 | | - | |
| 688 | + | |
687 | 689 | | |
688 | 690 | | |
689 | 691 | | |
| |||
725 | 727 | | |
726 | 728 | | |
727 | 729 | | |
728 | | - | |
| 730 | + | |
729 | 731 | | |
730 | 732 | | |
731 | 733 | | |
| |||
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| 754 | + | |
752 | 755 | | |
753 | 756 | | |
754 | 757 | | |
| |||
764 | 767 | | |
765 | 768 | | |
766 | 769 | | |
| 770 | + | |
| 771 | + | |
767 | 772 | | |
768 | 773 | | |
769 | 774 | | |
770 | 775 | | |
771 | 776 | | |
772 | 777 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
779 | 793 | | |
780 | 794 | | |
781 | 795 | | |
782 | | - | |
| 796 | + | |
783 | 797 | | |
784 | 798 | | |
785 | 799 | | |
| |||
808 | 822 | | |
809 | 823 | | |
810 | 824 | | |
811 | | - | |
| 825 | + | |
812 | 826 | | |
813 | 827 | | |
814 | 828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
1153 | 1154 | | |
1154 | 1155 | | |
1155 | 1156 | | |
1156 | | - | |
| 1157 | + | |
1157 | 1158 | | |
1158 | 1159 | | |
1159 | 1160 | | |
| |||
1171 | 1172 | | |
1172 | 1173 | | |
1173 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1174 | 1232 | | |
1175 | 1233 | | |
1176 | 1234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
882 | | - | |
| 882 | + | |
| 883 | + | |
883 | 884 | | |
884 | 885 | | |
885 | 886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 44 | + | |
| 45 | + | |
52 | 46 | | |
53 | 47 | | |
54 | | - | |
55 | | - | |
| 48 | + | |
| 49 | + | |
56 | 50 | | |
57 | 51 | | |
58 | | - | |
| 52 | + | |
59 | 53 | | |
60 | 54 | | |
61 | 55 | | |
62 | 56 | | |
63 | | - | |
| 57 | + | |
64 | 58 | | |
65 | 59 | | |
66 | | - | |
| 60 | + | |
67 | 61 | | |
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
72 | | - | |
| 66 | + | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
480 | 474 | | |
481 | 475 | | |
482 | 476 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | 477 | | |
489 | 478 | | |
490 | 479 | | |
491 | 480 | | |
492 | 481 | | |
493 | 482 | | |
494 | | - | |
| 483 | + | |
495 | 484 | | |
496 | 485 | | |
497 | 486 | | |
| |||
653 | 642 | | |
654 | 643 | | |
655 | 644 | | |
656 | | - | |
| 645 | + | |
657 | 646 | | |
658 | 647 | | |
659 | 648 | | |
660 | 649 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
| 650 | + | |
| 651 | + | |
669 | 652 | | |
670 | 653 | | |
671 | | - | |
672 | | - | |
| 654 | + | |
| 655 | + | |
673 | 656 | | |
674 | 657 | | |
675 | | - | |
| 658 | + | |
676 | 659 | | |
677 | 660 | | |
678 | 661 | | |
679 | 662 | | |
680 | | - | |
| 663 | + | |
681 | 664 | | |
682 | 665 | | |
683 | | - | |
| 666 | + | |
684 | 667 | | |
685 | 668 | | |
686 | 669 | | |
687 | 670 | | |
688 | 671 | | |
689 | | - | |
| 672 | + | |
690 | 673 | | |
691 | 674 | | |
692 | 675 | | |
| |||
1397 | 1380 | | |
1398 | 1381 | | |
1399 | 1382 | | |
1400 | | - | |
| 1383 | + | |
1401 | 1384 | | |
1402 | 1385 | | |
1403 | 1386 | | |
| |||
0 commit comments