Skip to content

Commit 562295a

Browse files
committed
step1
1 parent bf963a4 commit 562295a

File tree

3 files changed

+86
-106
lines changed

3 files changed

+86
-106
lines changed

json-compatibility-suite/pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<groupId>io.github.simbo1905.json</groupId>
9+
<artifactId>json-java21-parent</artifactId>
10+
<version>0.1-SNAPSHOT</version>
11+
</parent>
12+
13+
<artifactId>json-compatibility-suite</artifactId>
14+
<packaging>jar</packaging>
15+
16+
<name>JSON Compatibility Suite</name>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>io.github.simbo1905.json</groupId>
21+
<artifactId>json-java21</artifactId>
22+
<version>${project.version}</version>
23+
</dependency>
24+
<!-- JUnit 5 for testing -->
25+
<dependency>
26+
<groupId>org.junit.jupiter</groupId>
27+
<artifactId>junit-jupiter-api</artifactId>
28+
<scope>test</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>org.junit.jupiter</groupId>
32+
<artifactId>junit-jupiter-engine</artifactId>
33+
<scope>test</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.assertj</groupId>
37+
<artifactId>assertj-core</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
</dependencies>
41+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package jdk.sandbox.testsuite;
2+
3+
import org.junit.jupiter.api.Test;
4+
import static org.assertj.core.api.Assertions.assertThat;
5+
6+
public class PlaceholderTest {
7+
@Test
8+
void moduleExists() {
9+
assertThat(true).isTrue();
10+
}
11+
}

pom.xml

Lines changed: 34 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -4,116 +4,44 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>io.github.simbo1905.json</groupId>
8-
<artifactId>json-java21-parent</artifactId>
9-
<version>0.1-SNAPSHOT</version>
10-
<packaging>pom</packaging>
11-
12-
<name>java.util.json Backport Parent</name>
13-
<description>A backport of the upcoming java.util.json API for Java 21+</description>
14-
<url>https://simbo1905.github.io/java.util.json.Java21/</url>
15-
16-
<licenses>
17-
<license>
18-
<name>GNU General Public License, version 2, with the Classpath Exception</name>
19-
<url>https://openjdk.org/legal/gplv2+ce.html</url>
20-
</license>
21-
</licenses>
22-
23-
<developers>
24-
<developer>
25-
<name>Simon</name>
26-
<email>simon@simon.com</email>
27-
<organization>simon</organization>
28-
<organizationUrl>https://github.com/simbo1905</organizationUrl>
29-
</developer>
30-
</developers>
7+
<parent>
8+
<groupId>io.github.simbo1905.json</groupId>
9+
<artifactId>json-java21-parent</artifactId>
10+
<version>0.1-SNAPSHOT</version>
11+
</parent>
3112

32-
<scm>
33-
<connection>scm:git:git://github.com/simbo1905/java.util.json.Java21.git</connection>
34-
<developerConnection>scm:git:ssh://github.com:simbo1905/java.util.json.Java21.git</developerConnection>
35-
<url>https://github.com/simbo1905/java.util.json.Java21/tree/main</url>
36-
</scm>
13+
<artifactId>json-test-suite</artifactId>
14+
<packaging>pom</packaging>
3715

3816
<modules>
3917
<module>json-java21</module>
18+
<module>json-compatibility-suite</module>
4019
<module>json-java21-api-tracker</module>
4120
</modules>
4221

43-
<properties>
44-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45-
<maven.compiler.release>21</maven.compiler.release>
46-
<junit.jupiter.version>5.10.2</junit.jupiter.version>
47-
<assertj.version>3.25.3</assertj.version>
48-
49-
<!-- Plugin Versions -->
50-
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
51-
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
52-
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
53-
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
54-
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
55-
<maven-install-plugin.version>3.1.2</maven-install-plugin.version>
56-
</properties>
57-
58-
59-
60-
<dependencyManagement>
61-
<dependencies>
62-
<dependency>
63-
<groupId>org.junit.jupiter</groupId>
64-
<artifactId>junit-jupiter-api</artifactId>
65-
<version>${junit.jupiter.version}</version>
66-
<scope>test</scope>
67-
</dependency>
68-
<dependency>
69-
<groupId>org.junit.jupiter</groupId>
70-
<artifactId>junit-jupiter-engine</artifactId>
71-
<version>${junit.jupiter.version}</version>
72-
<scope>test</scope>
73-
</dependency>
74-
<dependency>
75-
<groupId>org.assertj</groupId>
76-
<artifactId>assertj-core</artifactId>
77-
<version>${assertj.version}</version>
78-
<scope>test</scope>
79-
</dependency>
80-
</dependencies>
81-
</dependencyManagement>
82-
83-
<build>
84-
<pluginManagement>
85-
<plugins>
86-
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-clean-plugin</artifactId>
89-
<version>${maven-clean-plugin.version}</version>
90-
</plugin>
91-
<plugin>
92-
<groupId>org.apache.maven.plugins</groupId>
93-
<artifactId>maven-resources-plugin</artifactId>
94-
<version>${maven-resources-plugin.version}</version>
95-
</plugin>
96-
<plugin>
97-
<groupId>org.apache.maven.plugins</groupId>
98-
<artifactId>maven-compiler-plugin</artifactId>
99-
<version>${maven-compiler-plugin.version}</version>
100-
</plugin>
101-
<plugin>
102-
<groupId>org.apache.maven.plugins</groupId>
103-
<artifactId>maven-surefire-plugin</artifactId>
104-
<version>${maven-surefire-plugin.version}</version>
105-
</plugin>
106-
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-jar-plugin</artifactId>
109-
<version>${maven-jar-plugin.version}</version>
110-
</plugin>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-install-plugin</artifactId>
114-
<version>${maven-install-plugin.version}</version>
115-
</plugin>
116-
</plugins>
117-
</pluginManagement>
118-
</build>
119-
</project>
22+
<name>JSON Java21 Backport</name>
23+
24+
<dependencies>
25+
<dependency>
26+
<groupId>io.github.simbo1905.json</groupId>
27+
<artifactId>json-java21</artifactId>
28+
<version>${project.version}</version>
29+
</dependency>
30+
<!-- JUnit 5 for testing -->
31+
<dependency>
32+
<groupId>org.junit.jupiter</groupId>
33+
<artifactId>junit-jupiter-api</artifactId>
34+
<scope>test</scope>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.junit.jupiter</groupId>
38+
<artifactId>junit-jupiter-engine</artifactId>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.assertj</groupId>
43+
<artifactId>assertj-core</artifactId>
44+
<scope>test</scope>
45+
</dependency>
46+
</dependencies>
47+
</project>

0 commit comments

Comments
 (0)