I've tried to build my bean validators with gwt 2.10.0-new-groupid-4.
Using the org.codehaus.mojo maven plugin my gwt-unit tests fail:
[INFO] testWrongUrlsAreWrong(de.knightsoftnet.validators.client.GwtTstHibernateAssertFalse) Time elapsed: 0.834 sec <<< ERROR!
[INFO] java.lang.NoSuchFieldError: FIREFOX
[INFO] at com.google.gwt.junit.RunStyleHtmlUnit.<clinit>(RunStyleHtmlUnit.java:295)
[INFO] at java.base/java.lang.Class.forName0(Native Method)
[INFO] at java.base/java.lang.Class.forName(Class.java:315)
[INFO] at com.google.gwt.junit.JUnitShell.createRunStyle(JUnitShell.java:1215)
[INFO] at com.google.gwt.junit.JUnitShell.doStartup(JUnitShell.java:943)
[INFO] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:888)
[INFO] at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:707)
[INFO] at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:681)
[INFO] at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421)
[INFO] at junit.framework.TestCase.runBare(TestCase.java:142)
[INFO] at junit.framework.TestResult$1.protect(TestResult.java:122)
[INFO] at junit.framework.TestResult.runProtected(TestResult.java:142)
[INFO] at junit.framework.TestResult.run(TestResult.java:125)
[INFO] at junit.framework.TestCase.run(TestCase.java:130)
[INFO] at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:241)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:236)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:241)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:236)
[INFO] at junit.framework.TestSuite.runTest(TestSuite.java:241)
[INFO] at junit.framework.TestSuite.run(TestSuite.java:236)
[INFO] at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105)
[INFO] at junit.textui.TestRunner.start(TestRunner.java:183)
[INFO] at org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63)
Trying to switch to net.ltgt.gwt.maven Plugin, the compile fails with:
[INFO] --- gwt-maven-plugin:1.0.1:compile (default) @ gwt-bean-validators-engine ---
[INFO] /home/manfred/git/gwt-bean-validators/gwt-bean-validators-engine/src/main/java/ already added as a resource folder; skipping.
[INFO] Compiling module de.knightsoftnet.validators.GwtBeanValidatorsEngine
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.IllegalArgumentException
[INFO] at org.objectweb.asm.ClassReader.readBootstrapMethodsAttribute(ClassReader.java:3498)
[INFO] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:275)
[INFO] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
[INFO] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
[INFO] at com.google.gwt.dev.javac.BytecodeSignatureMaker.visitCompileDependenciesInBytecode(BytecodeSignatureMaker.java:226)
[INFO] at com.google.gwt.dev.javac.BytecodeSignatureMaker.getCompileDependencySignature(BytecodeSignatureMaker.java:209)
[INFO] at com.google.gwt.dev.javac.CompiledClass.getSignatureHash(CompiledClass.java:166)
[INFO] at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:41)
[INFO] at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:36)
[INFO] at com.google.gwt.dev.javac.Dependencies.resolve(Dependencies.java:100)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:349)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:532)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:464)
[INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:210)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
[INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
[INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
[INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:113)
Am Freitag, 22. April 2022, 01:56:35 CEST schrieb Colin Alworth:
> TL;DR: If you have the capability to do so, now would be an excellent time
> to help us test GWT in anticipation of a release, especially around the
> groupId change we're going to make.
>
> --
>
> We think that we're one merge away from being ready for a GWT 2.10 release,
> so I'm starting the release process a bit early, since this last commit
> involves changing GWT's groupId away from
com.google and to org.gwtproject.
>
> To that end, I have a maven repo with the maven changes along wit all of
> the other changes in the GWT 2.10 series. The repo's URL is
>
https://repo.vertispan.com/gwt-groupid-migration-test/, and the only GWT
> version that exists there is "2.10.0-new-groupid-2".
>
> Based on earlier work (such as in the
>
https://groups.google.com/g/google-web-toolkit-contributors/c/L2RMqglOEXo/m/
> 44BeZKeBCQAJ thread), this should allow projects to transition from
> com.google.gwt to org.gwtproject by adding the org.gwtproject:gwt:pom to
> their project, and then specify gwt-user etc, and automatically manage the
> version of gwt used by dependencies. It should also be possible to just use
> the old groupid for this release, but later releases will not have that
> option.
>
> Please note that *packages are not changing *as part of this transition,