-
Notifications
You must be signed in to change notification settings - Fork 0
/
ListTests.java
199 lines (174 loc) · 7.8 KB
/
ListTests.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
//import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
public class ListTests {
public static List JSONPathList(){
List GitHubURL;
GitHubURL = new ArrayList();
GitHubURL.add("https://api.github.com/repos/hope-for/hope-boot/license");;
GitHubURL.add(
"https://api.github.com/repos/spotify/docker-maven-plugin/license");;
GitHubURL.add(
"https://api.github.com/repos/spotify/dockerfile-maven/license");
// Inbound: GPL3.0 or later
GitHubURL.add(
"https://api.github.com/repos/fabric8io/docker-maven-plugin/license");
// links to do https://github.com/bonigarcia/webdrivermanager
// https://github.com/git-commit-id/git-commit-id-maven-plugin
GitHubURL.add("https://api.github.com/repos/bytedeco/javacv/license");
GitHubURL.add("https://api.github.com/repos/bytedeco/javacpp/license");
GitHubURL.add(
"https://api.github.com/repos/rubenlagus/TelegramBots/license");
GitHubURL.add(
"https://api.github.com/repos/git-commit-id/git-commit-id-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/TheHolyWaffle/TeamSpeak-3-Java-API/license");
// https://github.com/dzikoysk/reposilite
GitHubURL.add(
"https://api.github.com/repos/dzikoysk/reposilite/license");
// https://github.com/policeman-tools/forbidden-apis
// GitHubURL.add(
// "https://api.github.com/repos/policeman-tools/forbidden-apis/license");
// GitHubURL.add(
// "https://api.github.com/repos/eclipse/jkube/license");
GitHubURL.add(
"https://api.github.com/repos/revelc/formatter-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/versions-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/jhg023/SimpleNet/license");
GitHubURL.add(
"https://api.github.com/repos/CryptoMorin/XSeries/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/exec-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/flatten-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/SonarSource/sonar-scanner-maven/license");
GitHubURL.add(
"https://api.github.com/repos/spring-cloud/spring-cloud-build/license");
GitHubURL.add(
"https://api.github.com/repos/raydac/java-comment-preprocessor/license");
GitHubURL.add(
"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/appassembler/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/aspectj-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/jaxb2-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/RadarCOVID/radar-covid-backend-configuration-server/license");
GitHubURL.add(
"https://api.github.com/repos/Zlika/reproducible-build-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/rpm-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/mojohaus/buildnumber-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/Carleslc/Simple-YAML/license");
GitHubURL.add(
"https://api.github.com/repos/CycloneDX/cyclonedx-maven-plugin/license");
GitHubURL.add(
"https://api.github.com/repos/ctron/rpm-builder/license");
GitHubURL.add(
"https://api.github.com/repos/jinahya/executable-jar-with-maven-example/license");
GitHubURL.add(
"https://api.github.com/repos/bonigarcia/webdrivermanager/license");
return GitHubURL;
}
public static List GitHubURLList() {
List JSONPath;
JSONPath = new ArrayList();
// hope-boot is license compliant
JSONPath.add("json/hope-boot.json");
// spotify-docker-maven-plugin uses only Apache 2.0, so it is compliant
JSONPath.add("json/spotify-docker-maven-plugin.json");
// spotify:dockerfile-maven-plugin uses only Apache 2.0, so it is compliant
JSONPath.add("json/dockerfile-maven.json");
// ffabric8io-docker-maven-plugin uses only Apache 2.0, so it is compliant
JSONPath.add("json/fabric8io-docker-maven-plugin.json");
// emptyJSON
// This project does not specify correctly an SPDX id for its oubound license
JSONPath.add("json/javacv.json");
// This project does not specify correctly an SPDX id for its oubound license
JSONPath.add("json/javacpp.json");
// GPL-3.0-or-later is not supported, because "or later" notation.
JSONPath.add("json/TelegramBots.json");
// 1 above 3 licenses found are compatible.
JSONPath.add("json/git-commit-id-maven-plugin.json");
// An UNKNOWN license has been found within the project. This cannot reveal license incompatibility
JSONPath.add("json/teamspeak3.json");
// 9
// outbound Apache2.0 https://github.com/dzikoysk/reposilite
JSONPath.add("json/org.panda-lang:reposilite.json");
// policeman-tools/forbidden-apis
// outbound Apache2.0 https://api.github.com/repos/policeman-tools/forbidden-apis/license
// 10 https://github.com/mojohaus/versions-maven-plugin
// JSONPath.add("json/policeman-tools-forbidden-apis.json");
JSONPath.add("json/org.codehaus.mojo:versions-maven-plugin.json");
// 11 https://github.com/revelc/formatter-maven-plugin
JSONPath.add(
"json/net.revelc.code.formatter:formatter-maven-plugin.json");
// 12
JSONPath.add(
"json/com.github.jhg023:SimpleNet.json");
// 13
JSONPath.add(
"json/com.github.cryptomorin:XSeries.json");
// 14
JSONPath.add(
"json/org.codehaus.mojo:exec-maven-plugin.json");
// 15
JSONPath.add(
"json/org.codehaus.mojo:flatten-maven-plugin.json");
// 16
JSONPath.add(
"json/org.sonarsource.scanner.maven:sonar-maven-plugin.json");
// 17
JSONPath.add(
"json/spring-cloud-build.json");
// 18
JSONPath.add(
"json/java-comment-preprocessor.json");
// 19
JSONPath.add(
"json/gitflow-helper-maven-plugin.json");
// 20
JSONPath.add(
"json/appassembler.json");
// 21
JSONPath.add(
"json/aspectj-maven-plugin.json");
// 22
JSONPath.add(
"json/jaxb2-maven-plugin.json");
// 23
JSONPath.add(
"json/radar-covid-backend-configuration-server.json");
// 24
JSONPath.add(
"json/reproducible-build-maven-plugin.json");
// 25
JSONPath.add(
"json/rpm-maven-plugin.json");
// 26
JSONPath.add(
"json/buildnumber-maven-plugin.json");
// 27
JSONPath.add(
"json/Simple-YAML.json");
// 28
JSONPath.add(
"json/cyclonedx-maven-plugin.json");
// 29
JSONPath.add(
"json/rpm-builder.json");
// 30
JSONPath.add(
"json/executable-jar-with-maven-example.json");
// 31
JSONPath.add("json/webdrivermanager.json");
return JSONPath;
}
}