ocpsoft / rewrite

OCPsoft URL-Rewriting Framework
http://ocpsoft.org/rewrite/
Apache License 2.0
189 stars 86 forks source link

New jakarta versions depend on unpublished spring-framework-bom #377

Closed cocorossello closed 1 year ago

cocorossello commented 1 year ago

I get this error when I try to use rewrite-servlet 10.0.0.Final in gradle:

      > Could not resolve org.ocpsoft.rewrite:rewrite-servlet:9.0.0.Final.
         > Could not parse POM https://repo.maven.apache.org/maven2/org/ocpsoft/rewrite/rewrite-servlet/9.0.0.Final/rewrite-servlet-9.0.0.Final.pom
            > Could not resolve org.ocpsoft.rewrite:rewrite-parent:9.0.0.Final.
               > Could not resolve org.ocpsoft.rewrite:rewrite-parent:9.0.0.Final.
                  > Could not parse POM https://repo.maven.apache.org/maven2/org/ocpsoft/rewrite/rewrite-parent/9.0.0.Final/rewrite-parent-9.0.0.Final.pom
                     > Could not find org.springframework:spring-framework-bom:6.0.0-M4.
                       Searched in the following locations:
                         - https://repo.maven.apache.org/maven2/org/springframework/spring-framework-bom/6.0.0-M4/spring-framework-bom-6.0.0-M4.pom

So I guess that spring-bom-dependency should get an upgrade

<version.spring>6.0.0-M4</version.spring>

Want a PR?

lincolnthree commented 1 year ago

Hey!

Thanks for the issue. Interesting. Yes a PR would be great! Though I'm not sure what would be different about our resolution of this artifact vs your resolution.

The artifact is available in Maven Central: https://mvnrepository.com/artifact/org.springframework/spring-framework-bom/6.0.0-M4

Perhaps check your Maven environment for custom repository restrictions as well?

Thanks! ~Lincoln

lincolnthree commented 1 year ago

Interesting. I don't see it here, however:

https://repo.maven.apache.org/maven2/org/springframework/spring-framework-bom/

cocorossello commented 1 year ago

Shouldn't it be upgraded to latest 6.x? (6.0.9)

lincolnthree commented 1 year ago

Shouldn't it be upgraded to latest 6.x? (6.0.9)

Yeah I think that's right. Thank you for submitting these! I will get them merged & put out new releases ASAP!

lincolnthree commented 1 year ago

Merged and released new versions 3.5.2, 8.0.1.Final (unrelated) and 9.0.1.Final and 10.0.1.Final with this fix! Thanks @cocorossello :D