Skip to content

Commit c1556c3

Browse files
authored
Added metadata for org.apache.commons:commons-compress:1.23.0 (#367)
1 parent 2d875dd commit c1556c3

File tree

11 files changed

+372
-0
lines changed

11 files changed

+372
-0
lines changed

metadata/index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
"allowed-packages" : [ "org.apache.activemq" ],
109109
"directory" : "org.apache.activemq/artemis-jms-client",
110110
"module" : "org.apache.activemq:artemis-jms-client"
111+
}, {
112+
"allowed-packages" : [ "org.apache.commons" ],
113+
"directory" : "org.apache.commons/commons-compress",
114+
"module" : "org.apache.commons:commons-compress"
111115
}, {
112116
"allowed-packages" : [ "org.apache.commons" ],
113117
"directory" : "org.apache.commons/commons-pool2",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"reflect-config.json"
3+
]
Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
[
2+
{
3+
"name": "org.apache.commons.compress.archivers.zip.AsiExtraField",
4+
"condition": {
5+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
6+
},
7+
"methods": [
8+
{
9+
"name": "<init>",
10+
"parameterTypes": [
11+
12+
]
13+
}
14+
]
15+
},
16+
{
17+
"name": "org.apache.commons.compress.archivers.zip.JarMarker",
18+
"condition": {
19+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
20+
},
21+
"methods": [
22+
{
23+
"name": "<init>",
24+
"parameterTypes": [
25+
26+
]
27+
}
28+
]
29+
},
30+
{
31+
"name": "org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField",
32+
"condition": {
33+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
34+
},
35+
"methods": [
36+
{
37+
"name": "<init>",
38+
"parameterTypes": [
39+
40+
]
41+
}
42+
]
43+
},
44+
{
45+
"name": "org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField",
46+
"condition": {
47+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
48+
},
49+
"methods": [
50+
{
51+
"name": "<init>",
52+
"parameterTypes": [
53+
54+
]
55+
}
56+
]
57+
},
58+
{
59+
"name": "org.apache.commons.compress.archivers.zip.UnicodePathExtraField",
60+
"condition": {
61+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
62+
},
63+
"methods": [
64+
{
65+
"name": "<init>",
66+
"parameterTypes": [
67+
68+
]
69+
}
70+
]
71+
},
72+
{
73+
"name": "org.apache.commons.compress.archivers.zip.X000A_NTFS",
74+
"condition": {
75+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
76+
},
77+
"methods": [
78+
{
79+
"name": "<init>",
80+
"parameterTypes": [
81+
82+
]
83+
}
84+
]
85+
},
86+
{
87+
"name": "org.apache.commons.compress.archivers.zip.X0014_X509Certificates",
88+
"condition": {
89+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
90+
},
91+
"methods": [
92+
{
93+
"name": "<init>",
94+
"parameterTypes": [
95+
96+
]
97+
}
98+
]
99+
},
100+
{
101+
"name": "org.apache.commons.compress.archivers.zip.X0015_CertificateIdForFile",
102+
"condition": {
103+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
104+
},
105+
"methods": [
106+
{
107+
"name": "<init>",
108+
"parameterTypes": [
109+
110+
]
111+
}
112+
]
113+
},
114+
{
115+
"name": "org.apache.commons.compress.archivers.zip.X0016_CertificateIdForCentralDirectory",
116+
"condition": {
117+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
118+
},
119+
"methods": [
120+
{
121+
"name": "<init>",
122+
"parameterTypes": [
123+
124+
]
125+
}
126+
]
127+
},
128+
{
129+
"name": "org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader",
130+
"condition": {
131+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
132+
},
133+
"methods": [
134+
{
135+
"name": "<init>",
136+
"parameterTypes": [
137+
138+
]
139+
}
140+
]
141+
},
142+
{
143+
"name": "org.apache.commons.compress.archivers.zip.X0019_EncryptionRecipientCertificateList",
144+
"condition": {
145+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
146+
},
147+
"methods": [
148+
{
149+
"name": "<init>",
150+
"parameterTypes": [
151+
152+
]
153+
}
154+
]
155+
},
156+
{
157+
"name": "org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp",
158+
"condition": {
159+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
160+
},
161+
"methods": [
162+
{
163+
"name": "<init>",
164+
"parameterTypes": [
165+
166+
]
167+
}
168+
]
169+
},
170+
{
171+
"name": "org.apache.commons.compress.archivers.zip.X7875_NewUnix",
172+
"condition": {
173+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
174+
},
175+
"methods": [
176+
{
177+
"name": "<init>",
178+
"parameterTypes": [
179+
180+
]
181+
}
182+
]
183+
},
184+
{
185+
"name": "org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField",
186+
"condition": {
187+
"typeReachable": "org.apache.commons.compress.archivers.zip.ExtraFieldUtils"
188+
},
189+
"methods": [
190+
{
191+
"name": "<init>",
192+
"parameterTypes": [
193+
194+
]
195+
}
196+
]
197+
}
198+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"latest": true,
4+
"metadata-version": "1.23.0",
5+
"module": "org.apache.commons:commons-compress",
6+
"tested-versions": [
7+
"1.23.0"
8+
]
9+
}
10+
]

tests/src/index.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@
160160
"name" : "org.apache.activemq:artemis-jms-client",
161161
"versions" : [ "2.28.0" ]
162162
} ]
163+
}, {
164+
"test-project-path" : "org.apache.commons/commons-compress/1.23.0",
165+
"libraries" : [ {
166+
"name" : "org.apache.commons:commons-compress",
167+
"versions" : [ "1.23.0" ]
168+
} ]
163169
}, {
164170
"test-project-path" : "org.apache.commons/commons-pool2/2.11.1",
165171
"libraries" : [ {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gradlew.bat
2+
gradlew
3+
gradle/
4+
build/
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright and related rights waived via CC0
3+
*
4+
* You should have received a copy of the CC0 legalcode along with this
5+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
6+
*/
7+
8+
plugins {
9+
id "org.graalvm.internal.tck"
10+
}
11+
12+
String libraryVersion = tck.testedLibraryVersion.get()
13+
14+
dependencies {
15+
testImplementation "org.apache.commons:commons-compress:$libraryVersion"
16+
testImplementation 'org.assertj:assertj-core:3.22.0'
17+
}
18+
19+
20+
graalvmNative {
21+
agent {
22+
defaultMode = "conditional"
23+
modes {
24+
conditional {
25+
userCodeFilterPath = "metadata-user-code-filter.json"
26+
}
27+
}
28+
}
29+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
library.version = 1.23.0
2+
metadata.dir = org.apache.commons/commons-compress/1.23.0/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": [
3+
{"includeClasses": "org.apache.commons.compress.**"}
4+
]
5+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
pluginManagement {
2+
def tckPath = Objects.requireNonNullElse(
3+
System.getenv("GVM_TCK_TCKDIR"),
4+
"../../../../tck-build-logic"
5+
)
6+
includeBuild(tckPath)
7+
}
8+
9+
plugins {
10+
id "org.graalvm.internal.tck-settings" version "1.0.0-SNAPSHOT"
11+
}
12+
13+
rootProject.name = 'org.apache.commons.commons-compress_tests'

0 commit comments

Comments
 (0)