Thursday, September 26, 2024

Re: What is the version of JARs in GWT 2.11.0 download

Yes I took a second look and I see the differences you noted. Yes sorry, I mean transitive. 

Thanks again for the quick reply. 

On Thursday, September 26, 2024 at 11:48:08 AM UTC-7 Colin Alworth wrote:
If you downloaded the 2.11.0 zip, those are 2.11.0 jars in there. The current build process first produces the jars for the zip artifact, and then repackages those for release to maven central, so there will be differences (artifacts in the zip have most dependencies shaded into them, while the ones in Maven Central reference external dependencies were possible to keep the jar size down and allow downstream projects to manage versions as desired).

I think you are misreading the dependencies of org.gwtproject:gwt - you are looking at the _old groupId_ of com.google.gwt if you are seeing 2.10.0 in the org.gwtproject artifact for 2.11.0. The old groupId will continue to be listed so that any project that mixes (mistakenly or through necessity) org.gwtproject and com.google.gwt will end up with only org.gwtproject artifacts.

Take a closer look at that pom, and specifically check for the org.gwtproject dependencies - they are referenced as ${project.groupId}. From https://search.maven.org/artifact/org.gwtproject/gwt/2.11.0/pom,
compare

            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-user</artifactId>
                <version>2.10.0</version>
            </dependency>

with

            <dependency>
                <groupId>org.gwtproject</groupId>
                <artifactId>gwt-user</artifactId>
                <version>${project.version}</version>
            </dependency>

I'm not sure what transitional dependencies mean for gradle - do you mean transitive dependencies?

On Thursday, September 26, 2024 at 1:40:34 PM UTC-5 ude...@gmail.com wrote:
I downloaded the GWT 2.11.0 zip. I assumed the version of the JARs such as gwt-dev and gwt-user are 2.11.0, but there isn't a pom file in each JAR to confirm this assumption. 

I looked on mvnrepository and org.gwtproject:gwt shows the dependancoes to be 2.10.0. I also see the same thing in the POM view. It does indicate there are updates to 2.11.0. 

So what is the actual version of the JARs in the downloaded archive?

We don't use Maven, but Gradle. And we also don't use transitional  dependencies. I have to upload these JARs to our antifactory so I want to classify them accurately .

Thanks.  

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/61a6e117-aab2-4584-a911-5702ad3ade1dn%40googlegroups.com.

No comments:

Post a Comment