jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Fix documentation for Maven jetty plugin for Jetty 12

Open hantsy opened this issue 1 year ago • 6 comments

The official doc related to maven jetty plugin: https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#get-up-and-running

I am using jetty in my project, when updating the jetty version to 12.0.2 from v11, the maven-jetty-plugin is missing in the Maven public repo. Check https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-maven-plugin

hantsy avatar Oct 30 '23 03:10 hantsy

you need to use the corresponding eeX version. ee10 use this one https://repo.maven.apache.org/maven2/org/eclipse/jetty/ee10/jetty-ee10-maven-plugin/ you will find versions for ee8, ee9 and ee10

olamy avatar Oct 30 '23 03:10 olamy

So the maven jetty plugin doc should be updated.

hantsy avatar Oct 30 '23 03:10 hantsy

So the maven jetty plugin doc should be updated.

Good catch! we definitely need to fix this. Would you be happy to provide a PR?

olamy avatar Oct 30 '23 03:10 olamy

@olamy I will try to send a PR soon.

hantsy avatar Oct 30 '23 04:10 hantsy

The moved jetty-maven-plugin coordinates are in the migration tables -> https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12

joakime avatar Oct 30 '23 13:10 joakime

See https://github.com/jetty/jetty.project/issues/11329 - currently some of those coordinates are not correct.

JWT007 avatar Jan 26 '24 15:01 JWT007

Fixed by #11341.

sbordet avatar Mar 09 '24 16:03 sbordet