Skip to content

Commit b7117c1

Browse files
authored
Update poms to pass validation for Maven Central sync (#10266)
The new Sonatype publishing mechanism requires a different process to deploy, and seems to have stricter requirements. Removed unnecessary parent poms, added developers, scm, description, and re-grouped bom dependencies to avoid confusion from `com.google.gwt` dependencies. Fixes #10264
1 parent 2e307b7 commit b7117c1

11 files changed

Lines changed: 128 additions & 86 deletions

File tree

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject</groupId>
88
<artifactId>gwt</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject</groupId>
1211
<artifactId>gwt-codeserver</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT Development CodeServer</name>
14+
<description>
15+
The GWT Super Dev Mode code server
16+
</description>
1517

1618
<dependencies>
17-
<dependency>
18-
<groupId>org.gwtproject</groupId>
19-
<artifactId>gwt-dev</artifactId>
20-
</dependency>
19+
<dependency>
20+
<groupId>org.gwtproject</groupId>
21+
<artifactId>gwt-dev</artifactId>
22+
</dependency>
2123
</dependencies>
2224
</project>

maven/poms/gwt/gwt-dev/pom-template.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject</groupId>
88
<artifactId>gwt</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject</groupId>
1211
<artifactId>gwt-dev</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
15-
13+
<name>GWT Developer Tools</name>
14+
<description>
15+
Compiler, Test runner, Development mode, and other tools for developing GWT applications
16+
</description>
1617
<dependencies>
1718
<dependency>
1819
<groupId>com.google.code.findbugs</groupId>

maven/poms/gwt/gwt-servlet-jakarta/pom-template.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject</groupId>
88
<artifactId>gwt</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject</groupId>
1211
<artifactId>gwt-servlet-jakarta</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT RPC/RF jakarta.servlet implementation</name>
14+
<description>
15+
GWT-RPC and RequestFactory implementations for use in jakarta.servlet environments
16+
</description>
1517
<dependencies>
1618
<dependency>
1719
<groupId>javax.validation</groupId>

maven/poms/gwt/gwt-servlet/pom-template.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject</groupId>
88
<artifactId>gwt</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject</groupId>
1211
<artifactId>gwt-servlet</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT RPC/RF javax.servlet implementation</name>
14+
<description>
15+
GWT-RPC and RequestFactory implementations for use in javax.servlet environments
16+
</description>
1517
<dependencies>
1618
<dependency>
1719
<groupId>javax.validation</groupId>

maven/poms/gwt/gwt-user/pom-template.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject</groupId>
88
<artifactId>gwt</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject</groupId>
1211
<artifactId>gwt-user</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT User packages</name>
14+
<description>
15+
GWT-compatible widgets, browser abstractions, and JRE implementations for use in client applications.
16+
</description>
1517
<dependencies>
1618
<dependency>
1719
<groupId>com.google.jsinterop</groupId>

maven/poms/gwt/pom-template.xml

Lines changed: 43 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,55 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5-
<parent>
6-
<groupId>org.sonatype.oss</groupId>
7-
<artifactId>oss-parent</artifactId>
8-
<version>4</version>
9-
</parent>
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
105
<modelVersion>4.0.0</modelVersion>
116
<groupId>org.gwtproject</groupId>
127
<artifactId>gwt</artifactId>
138
<packaging>pom</packaging>
14-
<name>GWT</name>
15-
<url>http://www.gwtproject.org/</url>
9+
<name>GWT Web Toolkit</name>
10+
<description>BOM for GWT</description>
11+
<url>https://www.gwtproject.org/</url>
1612
<version>${gwtVersion}</version>
1713
<licenses>
1814
<license>
1915
<name>GWT Terms</name>
20-
<url>http://www.gwtproject.org/terms.html</url>
16+
<comments>GWT itself is Apache 2.0 licensed, but contains some elements with different licenses</comments>
17+
<url>https://www.gwtproject.org/terms.html</url>
2118
</license>
2219
</licenses>
2320
<properties>
24-
<jetty.version>9.4.58.v20250814</jetty.version>
25-
<asm.version>9.6</asm.version>
21+
<jetty.version>9.4.58.v20250814</jetty.version>
22+
<asm.version>9.6</asm.version>
2623
</properties>
24+
<developers>
25+
<developer>
26+
<name>GWT Project Contributors</name>
27+
<organizationUrl>https://gwtproject.org</organizationUrl>
28+
<email>google-web-toolkit-contributors@googlegroups.com</email>
29+
</developer>
30+
</developers>
31+
<scm>
32+
<connection>scm:git:https://github.com/gwtproject/gwt.git</connection>
33+
<developerConnection>scm:git:git@github.com/gwtproject/gwt.git</developerConnection>
34+
<url>https://github.com/gwtproject/gwt</url>
35+
</scm>
2736
<dependencyManagement>
2837
<dependencies>
29-
<dependency>
30-
<groupId>com.google.gwt</groupId>
31-
<artifactId>gwt-user</artifactId>
32-
<version>2.10.0</version>
33-
</dependency>
3438
<dependency>
3539
<groupId>org.gwtproject</groupId>
3640
<artifactId>gwt-user</artifactId>
3741
<version>${project.version}</version>
3842
</dependency>
39-
<dependency>
40-
<groupId>com.google.gwt</groupId>
41-
<artifactId>gwt-dev</artifactId>
42-
<version>2.10.0</version>
43-
</dependency>
4443
<dependency>
4544
<groupId>org.gwtproject</groupId>
4645
<artifactId>gwt-dev</artifactId>
4746
<version>${project.version}</version>
4847
</dependency>
49-
<dependency>
50-
<groupId>com.google.gwt</groupId>
51-
<artifactId>gwt-codeserver</artifactId>
52-
<version>2.10.0</version>
53-
</dependency>
5448
<dependency>
5549
<groupId>org.gwtproject</groupId>
5650
<artifactId>gwt-codeserver</artifactId>
5751
<version>${project.version}</version>
5852
</dependency>
59-
<dependency>
60-
<groupId>com.google.gwt</groupId>
61-
<artifactId>gwt-servlet</artifactId>
62-
<version>2.10.0</version>
63-
</dependency>
6453
<dependency>
6554
<groupId>org.gwtproject</groupId>
6655
<artifactId>gwt-servlet</artifactId>
@@ -78,6 +67,29 @@
7867
<type>pom</type>
7968
<scope>import</scope>
8069
</dependency>
70+
71+
<!-- List the final release of the old com.google.gwt groupId to help build tools correctly relocate -->
72+
<dependency>
73+
<groupId>com.google.gwt</groupId>
74+
<artifactId>gwt-user</artifactId>
75+
<version>2.10.0</version>
76+
</dependency>
77+
<dependency>
78+
<groupId>com.google.gwt</groupId>
79+
<artifactId>gwt-dev</artifactId>
80+
<version>2.10.0</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>com.google.gwt</groupId>
84+
<artifactId>gwt-codeserver</artifactId>
85+
<version>2.10.0</version>
86+
</dependency>
87+
<dependency>
88+
<groupId>com.google.gwt</groupId>
89+
<artifactId>gwt-servlet</artifactId>
90+
<version>2.10.0</version>
91+
</dependency>
92+
8193
<dependency>
8294
<groupId>com.google.jsinterop</groupId>
8395
<artifactId>jsinterop-annotations</artifactId>
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject.web.bindery</groupId>
88
<artifactId>requestfactory</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject.web.bindery</groupId>
1211
<artifactId>requestfactory-apt</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT RequestFactory annotation processor</name>
14+
<description>
15+
Compile-time codegeneration tool to validate RF contexts and proxies, and generate
16+
metadata used at runtime by RequestFactory implementations.
17+
</description>
1518
</project>

maven/poms/requestfactory/client/pom-template.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>org.gwtproject.web.bindery</groupId>
88
<artifactId>requestfactory</artifactId>
99
<version>${gwtVersion}</version>
1010
</parent>
11-
<groupId>org.gwtproject.web.bindery</groupId>
1211
<artifactId>requestfactory-client</artifactId>
1312
<packaging>jar</packaging>
14-
<version>${gwtVersion}</version>
13+
<name>GWT RequestFactory client implementation</name>
14+
<description>
15+
GWT client implementation of RequestFactory, including generator for use at compile time.
16+
</description>
1517
<dependencies>
1618
<dependency>
1719
<groupId>javax.validation</groupId>

maven/poms/requestfactory/pom-template.xml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,74 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5-
<parent>
6-
<groupId>org.sonatype.oss</groupId>
7-
<artifactId>oss-parent</artifactId>
8-
<version>4</version>
9-
</parent>
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
105
<modelVersion>4.0.0</modelVersion>
116
<groupId>org.gwtproject.web.bindery</groupId>
127
<artifactId>requestfactory</artifactId>
138
<packaging>pom</packaging>
14-
<name>RequestFactory</name>
15-
<url>http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html</url>
9+
<name>GWT RequestFactory</name>
10+
<url>https://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html</url>
11+
<description>BOM for GWT's RequestFactory</description>
1612
<version>${gwtVersion}</version>
1713
<licenses>
1814
<license>
1915
<name>GWT Terms</name>
20-
<url>http://www.gwtproject.org/terms.html</url>
16+
<comments>GWT itself is Apache 2.0 licensed, but contains some elements with different licenses</comments>
17+
<url>https://www.gwtproject.org/terms.html</url>
2118
</license>
2219
</licenses>
20+
<developers>
21+
<developer>
22+
<name>GWT Project Contributors</name>
23+
<organizationUrl>https://gwtproject.org</organizationUrl>
24+
<email>google-web-toolkit-contributors@googlegroups.com</email>
25+
</developer>
26+
</developers>
27+
<scm>
28+
<connection>scm:git:https://github.com/gwtproject/gwt.git</connection>
29+
<developerConnection>scm:git:git@github.com/gwtproject/gwt.git</developerConnection>
30+
<url>https://github.com/gwtproject/gwt</url>
31+
</scm>
2332
<dependencyManagement>
2433
<dependencies>
2534
<dependency>
26-
<groupId>com.google.web.bindery</groupId>
35+
<groupId>org.gwtproject.web.bindery</groupId>
2736
<artifactId>requestfactory-apt</artifactId>
28-
<version>2.10.0</version>
37+
<version>${project.version}</version>
2938
</dependency>
3039
<dependency>
3140
<groupId>org.gwtproject.web.bindery</groupId>
32-
<artifactId>requestfactory-apt</artifactId>
41+
<artifactId>requestfactory-client</artifactId>
3342
<version>${project.version}</version>
3443
</dependency>
3544
<dependency>
36-
<groupId>com.google.web.bindery</groupId>
37-
<artifactId>requestfactory-client</artifactId>
38-
<version>2.10.0</version>
45+
<groupId>org.gwtproject.web.bindery</groupId>
46+
<artifactId>requestfactory-server</artifactId>
47+
<version>${project.version}</version>
3948
</dependency>
4049
<dependency>
4150
<groupId>org.gwtproject.web.bindery</groupId>
42-
<artifactId>requestfactory-client</artifactId>
51+
<artifactId>requestfactory-server-jakarta</artifactId>
4352
<version>${project.version}</version>
4453
</dependency>
54+
55+
<!-- List the final release of the old com.google.gwt groupId to help build tools correctly relocate -->
4556
<dependency>
4657
<groupId>com.google.web.bindery</groupId>
47-
<artifactId>requestfactory-server</artifactId>
58+
<artifactId>requestfactory-apt</artifactId>
4859
<version>2.10.0</version>
4960
</dependency>
5061
<dependency>
51-
<groupId>org.gwtproject.web.bindery</groupId>
52-
<artifactId>requestfactory-server</artifactId>
53-
<version>${project.version}</version>
62+
<groupId>com.google.web.bindery</groupId>
63+
<artifactId>requestfactory-client</artifactId>
64+
<version>2.10.0</version>
5465
</dependency>
5566
<dependency>
56-
<groupId>org.gwtproject.web.bindery</groupId>
57-
<artifactId>requestfactory-server-jakarta</artifactId>
58-
<version>${project.version}</version>
67+
<groupId>com.google.web.bindery</groupId>
68+
<artifactId>requestfactory-server</artifactId>
69+
<version>2.10.0</version>
5970
</dependency>
71+
6072
<dependency>
6173
<groupId>javax.validation</groupId>
6274
<artifactId>validation-api</artifactId>

0 commit comments

Comments
 (0)