Skip to content

Commit d8dc6ab

Browse files
authored
Move the implementation to a different groupId and package namespace (#283)
Signed-off-by: Lukas Jungmann <[email protected]>
1 parent fe26424 commit d8dc6ab

File tree

118 files changed

+289
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+289
-292
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ language: java
44

55
jdk:
66
- openjdk11
7-
- openjdk14
7+
- openjdk15
88

99
cache:
1010
directories:
@@ -15,9 +15,9 @@ install: true
1515

1616
script:
1717
- cd api
18-
- mvn -U -C -Pstaging,oss-release -Dnon.final=true -Dgpg.skip=true clean verify
18+
- mvn -U -C -Pstaging,oss-release -Dnon.final=true -Dgpg.skip=true clean install
1919
- cd ..
20-
- mvn -U -C -Pstaging,oss-release,all -Dnon.final=true -Dgpg.skip=true clean verify
20+
- mvn -U -C -Pstaging,oss-release,all -Dnon.final=true -Dgpg.skip=true clean install
2121
- cd tck
2222
- mvn -U clean install
2323
- cd ../impl-tck

api/src/main/java/jakarta/json/spi/JsonProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2021 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -48,7 +48,7 @@ public abstract class JsonProvider {
4848
* {@code JsonProvider} implementation class.
4949
*/
5050
private static final String DEFAULT_PROVIDER
51-
= "org.glassfish.json.JsonProviderImpl";
51+
= "org.eclipse.jsonp.JsonProviderImpl";
5252

5353
protected JsonProvider() {
5454
}

bundles/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
<modelVersion>4.0.0</modelVersion>
2222

2323
<parent>
24-
<groupId>org.glassfish</groupId>
24+
<groupId>org.eclipse.jsonp</groupId>
2525
<artifactId>json</artifactId>
2626
<version>2.0.2-SNAPSHOT</version>
2727
<relativePath>../pom.xml</relativePath>
2828
</parent>
2929

30-
<groupId>org.glassfish</groupId>
30+
<groupId>org.eclipse.jsonp</groupId>
3131
<artifactId>json-bundles</artifactId>
3232
<packaging>pom</packaging>
3333
<name>Jakarta JSON Processing bundles</name>

bundles/ri/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
23-
<groupId>org.glassfish</groupId>
23+
<groupId>org.eclipse.jsonp</groupId>
2424
<artifactId>json-bundles</artifactId>
2525
<version>2.0.2-SNAPSHOT</version>
2626
</parent>
@@ -35,16 +35,16 @@
3535
<artifactId>jakarta.json-api</artifactId>
3636
</dependency>
3737
<dependency>
38-
<groupId>org.glassfish</groupId>
38+
<groupId>org.eclipse.jsonp</groupId>
3939
<artifactId>jakarta.json</artifactId>
4040
</dependency>
4141
<dependency>
42-
<groupId>org.glassfish</groupId>
42+
<groupId>org.eclipse.jsonp</groupId>
4343
<artifactId>jakarta.json</artifactId>
4444
<classifier>module</classifier>
4545
</dependency>
4646
<dependency>
47-
<groupId>org.glassfish</groupId>
47+
<groupId>org.eclipse.jsonp</groupId>
4848
<artifactId>jsonp-jaxrs</artifactId>
4949
</dependency>
5050
</dependencies>

bundles/ri/src/main/assembly/archive.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
3+
Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
44
55
This program and the accompanying materials are made available under the
66
terms of the Eclipse Public License v. 2.0, which is available at
@@ -38,24 +38,24 @@
3838
<outputDirectory>mods</outputDirectory>
3939
<includes>
4040
<include>jakarta.json:jakarta.json-api:*</include>
41-
<include>org.glassfish:jakarta.json:jar:module:*</include>
41+
<include>org.eclipse.jsonp:jakarta.json:jar:module:*</include>
4242
</includes>
4343
</dependencySet>
4444
<dependencySet>
4545
<useProjectArtifact>false</useProjectArtifact>
4646
<outputDirectory>standalone</outputDirectory>
4747
<includes>
48-
<include>org.glassfish:jakarta.json</include>
48+
<include>org.eclipse.jsonp:jakarta.json</include>
4949
</includes>
5050
<excludes>
51-
<exclude>org.glassfish:jakarta.json:jar:module:*</exclude>
51+
<exclude>org.eclipse.jsonp:jakarta.json:jar:module:*</exclude>
5252
</excludes>
5353
</dependencySet>
5454
<dependencySet>
5555
<useProjectArtifact>false</useProjectArtifact>
5656
<outputDirectory>jaxrs</outputDirectory>
5757
<includes>
58-
<include>org.glassfish:jsonp-jaxrs*</include>
58+
<include>org.eclipse.jsonp:jsonp-jaxrs*</include>
5959
</includes>
6060
</dependencySet>
6161
</dependencySets>

bundles/ri/src/main/resources/README.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ IMPORTANT NOTE: module names are not yet final and may change in the future rele
1717

1818
for standalone reference implementation which includes APIs and implementation classes:
1919
<dependency>
20-
<groupId>org.glassfish</groupId>
20+
<groupId>org.eclipse.jsonp</groupId>
2121
<artifactId>jakarta.json</artifactId>
2222
<version>${project.version}</version>
2323
</dependency>
@@ -31,15 +31,15 @@ for APIs:
3131

3232
for implementation only:
3333
<dependency>
34-
<groupId>org.glassfish</groupId>
34+
<groupId>org.eclipse.jsonp</groupId>
3535
<artifactId>jakarta.json</artifactId>
3636
<classifier>module</classifier>
3737
<version>${project.version}</version>
3838
</dependency>
3939

4040
for Jakarta RESTful Web Services integration module:
4141
<dependency>
42-
<groupId>org.glassfish</groupId>
42+
<groupId>org.eclipse.jsonp</groupId>
4343
<artifactId>jsonp-jaxrs</artifactId>
4444
<version>${project.version}</version>
4545
</dependency>

demos/customprovider-jdk9/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
3+
Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved.
44
55
This program and the accompanying materials are made available under the
66
terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -14,7 +14,7 @@
1414
<modelVersion>4.0.0</modelVersion>
1515

1616
<parent>
17-
<groupId>org.glassfish.jsonp</groupId>
17+
<groupId>org.eclipse.jsonp</groupId>
1818
<artifactId>demos</artifactId>
1919
<version>2.0.2-SNAPSHOT</version>
2020
<relativePath>../pom.xml</relativePath>
@@ -63,7 +63,7 @@
6363
<configuration>
6464
<argLine>
6565
--module-path ${project.build.directory}/classes:${mod.dir}:${project.build.directory}/test-classes
66-
--add-modules org.glassfish.jakarta.json.demos.customprovider
66+
--add-modules org.eclipse.jsonp.demos.customprovider
6767
</argLine>
6868
</configuration>
6969
</plugin>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -8,8 +8,8 @@
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
1010

11-
module org.glassfish.jakarta.json.demos.customprovider {
11+
module org.eclipse.jsonp.demos.customprovider {
1212
requires transitive jakarta.json;
13-
exports org.glassfish.json.customprovider;
14-
provides jakarta.json.spi.JsonProvider with org.glassfish.json.customprovider.TestProvider;
13+
exports org.eclipse.jsonp.demos.customprovider;
14+
provides jakarta.json.spi.JsonProvider with org.eclipse.jsonp.demos.customprovider.TestProvider;
1515
}

demos/customprovider-jdk9/src/main/java/org/glassfish/json/customprovider/TestGenerator.java renamed to demos/customprovider-jdk9/src/main/java/org/eclipse/jsonp/demos/customprovider/TestGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -8,7 +8,7 @@
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
1010

11-
package org.glassfish.json.customprovider;
11+
package org.eclipse.jsonp.demos.customprovider;
1212

1313
import jakarta.json.JsonException;
1414
import jakarta.json.JsonValue;

demos/customprovider-jdk9/src/main/java/org/glassfish/json/customprovider/TestProvider.java renamed to demos/customprovider-jdk9/src/main/java/org/eclipse/jsonp/demos/customprovider/TestProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -8,7 +8,7 @@
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
1010

11-
package org.glassfish.json.customprovider;
11+
package org.eclipse.jsonp.demos.customprovider;
1212

1313
import jakarta.json.spi.JsonProvider;
1414
import jakarta.json.stream.JsonGenerator;

0 commit comments

Comments
 (0)