Skip to content

Commit 0a56c97

Browse files
committed
add missing artificats
1 parent 21cefe3 commit 0a56c97

9 files changed

+256
-7
lines changed

data/2023.03/maven-artifacts.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,71 @@
8989
"artifactId": "javax.servlet.jsp-api",
9090
"version": "2.3.3"
9191
},
92+
{
93+
"groupId": "org.junit.jupiter",
94+
"artifactId": "junit-jupiter-api",
95+
"version": "5.9.2"
96+
},
97+
{
98+
"groupId": "org.junit.jupiter",
99+
"artifactId": "junit-jupiter-engine",
100+
"version": "5.9.2"
101+
},
102+
{
103+
"groupId": "org.junit.jupiter",
104+
"artifactId": "junit-jupiter-migrationsupport",
105+
"version": "5.9.2"
106+
},
107+
{
108+
"groupId": "org.junit.jupiter",
109+
"artifactId": "junit-jupiter-params",
110+
"version": "5.9.2"
111+
},
112+
{
113+
"groupId": "org.junit.platform",
114+
"artifactId": "junit-platform-commons",
115+
"version": "1.9.2"
116+
},
117+
{
118+
"groupId": "org.junit.platform",
119+
"artifactId": "junit-platform-engine",
120+
"version": "1.9.2"
121+
},
122+
{
123+
"groupId": "org.junit.platform",
124+
"artifactId": "junit-platform-launcher",
125+
"version": "1.9.2"
126+
},
127+
{
128+
"groupId": "org.junit.platform",
129+
"artifactId": "junit-platform-runner",
130+
"version": "1.9.2"
131+
},
132+
{
133+
"groupId": "org.junit.platform",
134+
"artifactId": "junit-platform-suite-api",
135+
"version": "1.9.2"
136+
},
137+
{
138+
"groupId": "org.junit.platform",
139+
"artifactId": "junit-platform-suite-commons",
140+
"version": "1.9.2"
141+
},
142+
{
143+
"groupId": "org.junit.platform",
144+
"artifactId": "junit-platform-suite-engine",
145+
"version": "1.9.2"
146+
},
147+
{
148+
"groupId": "org.junit.vintage",
149+
"artifactId": "junit-vintage-engine",
150+
"version": "5.9.2"
151+
},
152+
{
153+
"groupId": "lpg.runtime",
154+
"artifactId": "java",
155+
"version": "2.0.17-v201004271640"
156+
},
92157
{
93158
"groupId": "net.i2p.crypto",
94159
"artifactId": "eddsa",
@@ -344,6 +409,11 @@
344409
"artifactId": "xmlgraphics-commons",
345410
"version": "2.7"
346411
},
412+
{
413+
"groupId": "org.apiguardian",
414+
"artifactId": "apiguardian-api",
415+
"version": "1.1.2"
416+
},
347417
{
348418
"groupId": "org.bouncycastle",
349419
"artifactId": "bcpkix-jdk18on",

data/2023.03/potential-maven-artifacts.json

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,70 @@
324324
"artifactId": "ws",
325325
"version": "2.1.0"
326326
},
327+
{
328+
"groupId": "org.junit.jupiter",
329+
"artifactId": "junit-jupiter-api",
330+
"version": "5.9.2"
331+
},
332+
{
333+
"groupId": "org.junit.jupiter",
334+
"artifactId": "junit-jupiter-engine",
335+
"version": "5.9.2"
336+
},
337+
{
338+
"groupId": "org.junit.jupiter",
339+
"artifactId": "junit-jupiter-migrationsupport",
340+
"version": "5.9.2"
341+
},
342+
{
343+
"groupId": "org.junit.jupiter",
344+
"artifactId": "junit-jupiter-params",
345+
"version": "5.9.2"
346+
},
347+
{
348+
"groupId": "org.junit.platform",
349+
"artifactId": "junit-platform-commons",
350+
"version": "1.9.2"
351+
},
352+
{
353+
"groupId": "org.junit.platform",
354+
"artifactId": "junit-platform-engine",
355+
"version": "1.9.2"
356+
},
357+
{
358+
"groupId": "org.junit.platform",
359+
"artifactId": "junit-platform-launcher",
360+
"version": "1.9.2"
361+
},
362+
{
363+
"groupId": "org.junit.platform",
364+
"artifactId": "junit-platform-runner",
365+
"version": "1.9.2"
366+
},
367+
{
368+
"groupId": "org.junit.platform",
369+
"artifactId": "junit-platform-suite-api",
370+
"version": "1.9.2"
371+
},
372+
{
373+
"groupId": "org.junit.platform",
374+
"artifactId": "junit-platform-suite-commons",
375+
"version": "1.9.2"
376+
},
377+
{
378+
"groupId": "org.junit.platform",
379+
"artifactId": "junit-platform-suite-engine",
380+
"version": "1.9.2"
381+
},
382+
{
383+
"groupId": "org.junit.vintage",
384+
"artifactId": "junit-vintage-engine",
385+
"version": "5.9.2"
386+
},
327387
{
328388
"groupId": "lpg.runtime",
329389
"artifactId": "java",
330-
"version": "2.0.17.v201004271640"
390+
"version": "2.0.17-v201004271640"
331391
},
332392
{
333393
"groupId": "net.i2p.crypto",
@@ -676,7 +736,7 @@
676736
},
677737
{
678738
"groupId": "org.apiguardian",
679-
"artifactId": "api",
739+
"artifactId": "apiguardian-api",
680740
"version": "1.1.2"
681741
},
682742
{

repo/fr/jmini/ecentral/eclipse-full-dependencies/2023.03/eclipse-full-dependencies-2023.03.pom

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@
4343
<jakarta-annotation-api.version>1.3.5</jakarta-annotation-api.version>
4444
<javax-inject.version>1</javax-inject.version>
4545
<javax-servlet-jsp-api.version>2.3.3</javax-servlet-jsp-api.version>
46+
<junit-jupiter-api.version>5.9.2</junit-jupiter-api.version>
47+
<junit-jupiter-engine.version>5.9.2</junit-jupiter-engine.version>
48+
<junit-jupiter-migrationsupport.version>5.9.2</junit-jupiter-migrationsupport.version>
49+
<junit-jupiter-params.version>5.9.2</junit-jupiter-params.version>
50+
<junit-platform-commons.version>1.9.2</junit-platform-commons.version>
51+
<junit-platform-engine.version>1.9.2</junit-platform-engine.version>
52+
<junit-platform-launcher.version>1.9.2</junit-platform-launcher.version>
53+
<junit-platform-runner.version>1.9.2</junit-platform-runner.version>
54+
<junit-platform-suite-api.version>1.9.2</junit-platform-suite-api.version>
55+
<junit-platform-suite-commons.version>1.9.2</junit-platform-suite-commons.version>
56+
<junit-platform-suite-engine.version>1.9.2</junit-platform-suite-engine.version>
57+
<junit-vintage-engine.version>5.9.2</junit-vintage-engine.version>
58+
<java.version>2.0.17-v201004271640</java.version>
4659
<eddsa.version>0.3.0</eddsa.version>
4760
<ant.version>1.10.12</ant.version>
4861
<batik-anim.version>1.16</batik-anim.version>
@@ -94,6 +107,7 @@
94107
<xercesImpl.version>2.12.2</xercesImpl.version>
95108
<xml-resolver.version>1.2</xml-resolver.version>
96109
<xmlgraphics-commons.version>2.7</xmlgraphics-commons.version>
110+
<apiguardian-api.version>1.1.2</apiguardian-api.version>
97111
<bcpkix-jdk18on.version>1.72</bcpkix-jdk18on.version>
98112
<bcutil-jdk18on.version>1.72</bcutil-jdk18on.version>
99113
<org-eclipse-ant-core.version>3.6.500</org-eclipse-ant-core.version>
@@ -585,6 +599,71 @@
585599
<artifactId>javax.servlet.jsp-api</artifactId>
586600
<version>${javax-servlet-jsp-api.version}</version>
587601
</dependency>
602+
<dependency>
603+
<groupId>org.junit.jupiter</groupId>
604+
<artifactId>junit-jupiter-api</artifactId>
605+
<version>${junit-jupiter-api.version}</version>
606+
</dependency>
607+
<dependency>
608+
<groupId>org.junit.jupiter</groupId>
609+
<artifactId>junit-jupiter-engine</artifactId>
610+
<version>${junit-jupiter-engine.version}</version>
611+
</dependency>
612+
<dependency>
613+
<groupId>org.junit.jupiter</groupId>
614+
<artifactId>junit-jupiter-migrationsupport</artifactId>
615+
<version>${junit-jupiter-migrationsupport.version}</version>
616+
</dependency>
617+
<dependency>
618+
<groupId>org.junit.jupiter</groupId>
619+
<artifactId>junit-jupiter-params</artifactId>
620+
<version>${junit-jupiter-params.version}</version>
621+
</dependency>
622+
<dependency>
623+
<groupId>org.junit.platform</groupId>
624+
<artifactId>junit-platform-commons</artifactId>
625+
<version>${junit-platform-commons.version}</version>
626+
</dependency>
627+
<dependency>
628+
<groupId>org.junit.platform</groupId>
629+
<artifactId>junit-platform-engine</artifactId>
630+
<version>${junit-platform-engine.version}</version>
631+
</dependency>
632+
<dependency>
633+
<groupId>org.junit.platform</groupId>
634+
<artifactId>junit-platform-launcher</artifactId>
635+
<version>${junit-platform-launcher.version}</version>
636+
</dependency>
637+
<dependency>
638+
<groupId>org.junit.platform</groupId>
639+
<artifactId>junit-platform-runner</artifactId>
640+
<version>${junit-platform-runner.version}</version>
641+
</dependency>
642+
<dependency>
643+
<groupId>org.junit.platform</groupId>
644+
<artifactId>junit-platform-suite-api</artifactId>
645+
<version>${junit-platform-suite-api.version}</version>
646+
</dependency>
647+
<dependency>
648+
<groupId>org.junit.platform</groupId>
649+
<artifactId>junit-platform-suite-commons</artifactId>
650+
<version>${junit-platform-suite-commons.version}</version>
651+
</dependency>
652+
<dependency>
653+
<groupId>org.junit.platform</groupId>
654+
<artifactId>junit-platform-suite-engine</artifactId>
655+
<version>${junit-platform-suite-engine.version}</version>
656+
</dependency>
657+
<dependency>
658+
<groupId>org.junit.vintage</groupId>
659+
<artifactId>junit-vintage-engine</artifactId>
660+
<version>${junit-vintage-engine.version}</version>
661+
</dependency>
662+
<dependency>
663+
<groupId>lpg.runtime</groupId>
664+
<artifactId>java</artifactId>
665+
<version>${java.version}</version>
666+
</dependency>
588667
<dependency>
589668
<groupId>net.i2p.crypto</groupId>
590669
<artifactId>eddsa</artifactId>
@@ -840,6 +919,11 @@
840919
<artifactId>xmlgraphics-commons</artifactId>
841920
<version>${xmlgraphics-commons.version}</version>
842921
</dependency>
922+
<dependency>
923+
<groupId>org.apiguardian</groupId>
924+
<artifactId>apiguardian-api</artifactId>
925+
<version>${apiguardian-api.version}</version>
926+
</dependency>
843927
<dependency>
844928
<groupId>org.bouncycastle</groupId>
845929
<artifactId>bcpkix-jdk18on</artifactId>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aa9aa91589ed91b36be1a7d841819f84
1+
aaebc2443abf2de82b9dc44ec91145cc
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4258ba3e91d4bf54191311186aa5cfb07e787f5f
1+
53c55c476bfa6cd7828873b6119e1e51a339b9de
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3ebbfe644f430e80dea0cbce57925126da9e79190752c06628457551f019b291
1+
089f8a05ce745c9e2af70f563daa8e34032b0edbb7731c05b2bfca0eb28f26b0
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb2d030493f50f8cf3a718863429b78e898df41cb044c7762cd60709e5eb123093289908f21e8eba2dd2f9d641c4c415c7dba12137fd51c368de43502715090
1+
e7f7a29f56e237d297d6df510e1ce262d2a32034553bae362991e4dc13a15a56da222c842e619efc4444488f047f80293f77ce48e839b7ea08c0d42795a263c7

src/main/resources/mavenMappings.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@
3535
<mavenMappings namePattern="org.hamcrest.core" groupId="org.hamcrest" artifactId="hamcrest-core" versionPattern="([^.]+)\.([^.]+)\.0(?:\..*)?" versionTemplate="$1.$2"/>
3636
<mavenMappings namePattern="(org\.junit)\.([^.]+)\.([^.]+)" groupId="$1.$2" artifactId="junit-$2-$3"/>
3737
<mavenMappings namePattern="(org\.junit)\.([^.]+)\.([^.]+)\.([^.]+)" groupId="$1.$2" artifactId="junit-$2-$3-$4"/>
38+
<mavenMappings namePattern="(junit)-([^-]+)-([^-]+)" groupId="org.junit.$2" artifactId="junit-$2-$3"/>
39+
<mavenMappings namePattern="(junit)-([^-]+)-([^-]+)-([^-]+)" groupId="org.junit.$2" artifactId="junit-$2-$3-$4"/>
3840
<mavenMappings namePattern="(org)\.(opentest4j)" groupId="$1.$2" artifactId="$2"/>
3941
<mavenMappings namePattern="(org)\.(apiguardian)" groupId="$1.$2" artifactId="$2-api"/>
42+
<mavenMappings namePattern="org.apiguardian.api" groupId="org.apiguardian" artifactId="apiguardian-api"/>
4043
<mavenMappings namePattern="org.junit" groupId="junit" artifactId="junit"/>
4144
<mavenMappings namePattern="org\.(sat4j)\.(.*)" groupId="org.ow2.$1" artifactId="org.ow2.$1.$2"/>
4245
<mavenMappings namePattern="org.w3c.css.sac" groupId="org.eclipse.birt.runtime" artifactId="org.w3c.css.sac" versionPattern="(.*)" versionTemplate="$1"/>
@@ -50,7 +53,7 @@
5053
<mavenMappings namePattern="com.sun.jna" groupId="net.java.dev.jna" artifactId="jna"/>
5154
<mavenMappings namePattern="javaewah" groupId="com.googlecode.javaewah" artifactId="JavaEWAH"/>
5255
<mavenMappings namePattern="(org\.bouncycastle)\.(.*)" groupId="$1" artifactId="$2-jdk18on" versionPattern="([^.]+)\.([^.]+)\.0(?:\..*)?" versionTemplate="$1.$2"/>
53-
<mavenMappings namePattern="(lpg\.runtime)\.(.*)" groupId="$1" artifactId="$2" versionPattern="(.*)" versionTemplate="$1"/>
56+
<mavenMappings namePattern="(lpg\.runtime)\.(.*)" groupId="$1" artifactId="$2" versionPattern="([^.]+)\.([^.]+)\.([^.]+)\.([^.]+)" versionTemplate="$1.$2.$3-$4"/>
5457
<mavenMappings namePattern="org.apache.xerces" groupId="xerces" artifactId="xercesImpl"/>
5558
<mavenMappings namePattern="org.apache.xml.resolver" groupId="xml-resolver" artifactId="xml-resolver" versionPattern="([^.]+)\.([^.]+)\.0(?:\..*)?" versionTemplate="$1.$2"/>
5659
<mavenMappings namePattern="(net\.i2p\.crypto)\.(.*)" groupId="$1" artifactId="$2"/>

src/test/java/fr/jmini/utils/ecentral/ECentralTaskTest.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,38 @@ void testToMavenArtifactJunit() throws Exception {
270270
.isEqualTo("4.13.2");
271271
}
272272

273+
@Test
274+
void testToMavenArtifactJunit5() throws Exception {
275+
List<MavenMapping> mavenMappings = ECentralTask.readMavenMappings();
276+
MavenArtifact junit = ECentralTask.toMavenArtifact(new BndEntry("junit-jupiter-api", "5.9.2"), mavenMappings)
277+
.orElseThrow();
278+
assertThat(junit.getGroupId())
279+
.as("groupId")
280+
.isEqualTo("org.junit.jupiter");
281+
assertThat(junit.getArtifactId())
282+
.as("artifactId")
283+
.isEqualTo("junit-jupiter-api");
284+
assertThat(junit.getVersion())
285+
.as("version")
286+
.isEqualTo("5.9.2");
287+
}
288+
289+
@Test
290+
void testToMavenArtifactLpg() throws Exception {
291+
List<MavenMapping> mavenMappings = ECentralTask.readMavenMappings();
292+
MavenArtifact junit = ECentralTask.toMavenArtifact(new BndEntry("lpg.runtime.java", "2.0.17.v201004271640"), mavenMappings)
293+
.orElseThrow();
294+
assertThat(junit.getGroupId())
295+
.as("groupId")
296+
.isEqualTo("lpg.runtime");
297+
assertThat(junit.getArtifactId())
298+
.as("artifactId")
299+
.isEqualTo("java");
300+
assertThat(junit.getVersion())
301+
.as("version")
302+
.isEqualTo("2.0.17-v201004271640");
303+
}
304+
273305
@Test
274306
void testToMavenArtifactFelix() throws Exception {
275307
List<MavenMapping> mavenMappings = ECentralTask.readMavenMappings();

0 commit comments

Comments
 (0)