tapestry-5
tapestry-5 copied to clipboard
TAP5-2741: Update to Jakarta EE 9
This is going to be a marathon, not a sprint. This first commit is not yet concerned with any of the Jakarta EE stuff. Actually, it's only about breaking up the build logic some more. A more broken-down build logic will hopefully make it easier to accommodate different JDK versions for building and also make it easier to produce the Jakarta EE variants. I created this draft PR at this early stage to share my progress with you guys.
I'm aware that even though all tests passed with this commit (locally, at least) I temporarily disabled some steps (Javadoc, Jacoco, and publishing, specifically.)
Looking forward to crossing the finish line after 42195 meters :) Hopefully alive, not dead.
Ok
El El mié, abr. 26, 2023 a la(s) 12:27 p.m., Volker Lamp < @.***> escribió:
This is going to be a marathon, not a sprint. This first commit is not yet concerned with any of the Jakarta EE stuff. Actually, it's only about breaking up the build logic some more. A more broken-down build logic will hopefully make it easier to accommodate different JDK versions for building and also make it easier to produce the Jakarta EE variants. I created this draft PR at this early stage to share my progress with you guys.
I'm aware that even though all tests passed with this commit (locally, at least) I temporarily disabled some steps (Javadoc, Jacoco, and publishing, specifically.)
Looking forward to crossing the finish line after 42195 meters :) Hopefully alive, not dead.
You can view, comment on, or merge this pull request online at:
https://github.com/apache/tapestry-5/pull/38 Commit Summary
- c5998ab https://github.com/apache/tapestry-5/pull/38/commits/c5998ab411647cc6a60205c66fcf165cde2074dd TAP5-2741: First progress towards a more flexible build setup.
File Changes
(44 files https://github.com/apache/tapestry-5/pull/38/files)
- M beanmodel/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-8cd708314848ff188b1b2ca6d146b5bdf66bde7b741013898740b58f50595c95 (8)
- M build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7 (248)
- M buildSrc/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-bc7a42af0a917334e95bb43c1ac3408e14a03a45ef844e044089d4dc233d5b74 (8)
- A buildSrc/src/main/groovy/tapestry.base.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-51903efe5758f756650c47839eee86c24d456cd5391a779cd8b6850ed3845fe2 (19)
- A buildSrc/src/main/groovy/tapestry.java.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-ac67ec34a501313af16453834872e4b7bf4a260bd430e1bd6a7ba2d9c2037314 (105)
- M commons/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-384101fcca73e4114e17445b62e10869e5607e4be815de891a4bf7a5d1fab56e (4)
- M genericsresolver-guava/src/test/java/org/apache/tapestry5/genericsresolverguava/internal/AbstractBeanModelSourceImplTest.java https://github.com/apache/tapestry-5/pull/38/files#diff-c56bea8516373209bd21c8794576ab61dcfd3223293206bb35a4d04e1cf60eae (2)
- M plastic/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-2aa2174b46a276f149cafbe596bbb3646dffbafc77567d217227c27ad0f091cf (4)
- A platform/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-7c66fc1f6e3c20e09a7d1319588c80877dee6e8430c0e43795542247e1f9c8f1 (35)
- M settings.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-7f825392aa37acd1cee0c2e7b9bb7366ad6eac64f3e6cdd816e156bcb69d30de (24)
- M tapestry-beanvalidator/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-a755ca7b314f674ba1fe61029cd39cee88ef8309b9e7210ae970b86994fc21eb (4)
- M tapestry-beanvalidator/src/test/java/org/apache/tapestry5/beanvalidator/integration/TapestryBeanValidationIntegrationTests.java https://github.com/apache/tapestry-5/pull/38/files#diff-94db60f873f30e4fca45ad63068dc56e16babab29883dc158a0082543b69c2c2 (2)
- M tapestry-clojure/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-83681df7ec2f8dc343451133b9415e7a628cca22f072a13c66a6b764f32c079f (4)
- M tapestry-core/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-d2536bd6027c65c74356a5b1fd8c391148717c25865a790991ee807c77a4ffc5 (6)
- M tapestry-func/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-23cf1667246082c3f1db849cbea1d88414bd01eb043ad83248122c193fe17e54 (4)
- M tapestry-hibernate-core/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-7de1e2f60301b3f4585d614fa937aabdfa145f5346b6fb6a50900ef396037af1 (4)
- M tapestry-hibernate/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-bdf2a41e6d2c59cfe5b2263bcd9bf76a09d81ca66d5a5e336b0a12f893c9a4dc (4)
- M tapestry-hibernate/src/test/java/org/apache/tapestry5/hibernate/web/integration/TapestryHibernateIntegrationTests.java https://github.com/apache/tapestry-5/pull/38/files#diff-793fef8e89328d1805f7e9325f3ba09bd6c7e5b1314ba842001573912fa59014 (2)
- M tapestry-http/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-cbb886a0f197ff35acedfe4daedcde7ab6ca44e8241ee2f3b59115528a249071 (4)
- M tapestry-internal-test/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-2d9f3bae32439bf5f0c26fe5197d081363f108e248884e6e1a808f84bb2df25f (4)
- M tapestry-ioc-jcache/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-af908e910ec7aef3dde250cdddfa08c7a20fefa5652919d570c4ef1adf166cdf (4)
- M tapestry-ioc-junit/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-b09bbe9b2ea1aedb8c8c7fdf9442620f9c8e9acf603fe2d69502da3a40bdfbdf (4)
- M tapestry-ioc/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-c4ffc55eb203011ca84c9819e4250d3904d6a72c095f59b2672038b273a62f50 (4)
- M tapestry-javadoc/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-26055ea6f8166a70df3bcfa9da7b66f80614764ff5fcb4c221eeebbb1db3820e (11)
- A tapestry-javadoc/src/module-info.java https://github.com/apache/tapestry-5/pull/38/files#diff-a28e29c76c78fa741887a92557e6b5c6e4099192a87806b0da93c5c2c62b4017 (3)
- M tapestry-jmx/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-611e25a96c28f8cd6e1d1416e5f0353d66b99f371976d6a6b3572d0d401bef38 (4)
- M tapestry-jmx/src/test/java/org/apache/tapestry5/jmx/integration/TapestryJmxIntegrationTests.java https://github.com/apache/tapestry-5/pull/38/files#diff-6cb9ec234efcbdc5c640ce715350540f7b902beab67cd9732b20a49bbfea3330 (2)
- M tapestry-jpa/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-19636d4de998cec331a4dae433e263e95241acc6d2e471f735b70bbf6d524b30 (4)
- M tapestry-json/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-df102ad3805330ef3a7d31f7357959033b410a1001dd33754e8d560d3d48a67c (4)
- M tapestry-kaptcha/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-0bdfb5cae15436872628283c4032a1bf37f8c950af7a49030b908c824ced7e0e (4)
- M tapestry-latest-java-tests/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-75179d169b8a1648d2d5bc8f62adfa27d28f7bb24f245cbe13d4b5c93c03e3bc (14)
- M tapestry-mongodb/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-92ecf6595fe8eaf8640fd95f86105de15d43fc64100ff174515d8cc5329c9c0a (4)
- M tapestry-openapi-viewer/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-73899aedc9d7c13e7f5aab73101c00f006c1d3e665c49816f522defee8c799c7 (4)
- M tapestry-rest-jackson/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-0f8e924cc45111070a92873201e126017a6b1cede6da2c0561daccff1ce00e1e (4)
- M tapestry-runner/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-ad1503f4895a2deccd015f815de02e5c48f75a210dfef4931e65c075b227e7f5 (4)
- M tapestry-spock/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-c4af889f724cd836b0b882a49f4726e913150ac0b0d022ea568484281bed62f0 (14)
- M tapestry-spring/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-d454291fe83cc0ffde3c41bc4b4352256e9480c7979642d77f7f33806ff38b07 (4)
- A tapestry-test-constants/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-d3882b95d82b75a0dc663fc0a441813e070207563c92e9ead8b497463f50af8a (3)
- M tapestry-test-data/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-a593b5316e749ec32f456b79b080f0687f205925c75143c37ad5f769992a72af (4)
- M tapestry-test/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-70910292c3e65718c1b202082d56b465cf14b375b4b4ab0d6cdec0789f6a527d (4)
- M tapestry-upload/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-18f483b881b75d6a7d40485039f677696e3179ce9dfc60630c3bd253503b085a (4)
- M tapestry-version-migrator/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-8371348d2ce2aa68f79cc884c0c5d599f2819fa2938821a688c52a5913610573 (4)
- M tapestry-webresources/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-a72c557cb76c7d1d94909f767187a6f182e39f33905b111604a6d87519ffa9d0 (4)
- M tapestry5-annotations/build.gradle https://github.com/apache/tapestry-5/pull/38/files#diff-8f171edcd22aff0fa7df5625acfdb70e381f2b92e23d277367975d7ce19c4d6d (4)
Patch Links:
- https://github.com/apache/tapestry-5/pull/38.patch
- https://github.com/apache/tapestry-5/pull/38.diff
— Reply to this email directly, view it on GitHub https://github.com/apache/tapestry-5/pull/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOR3AGRYON76BQL532ZDQSTXDFEG5ANCNFSM6AAAAAAXMVYOJQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
What is the state of this PR? How can i build the jakarta feature variant with the current build script?
What is the state of this PR? How can i build the jakarta feature variant with the current build script?
Unfortunately, we are not there yet, i.e. you can't build the jakarta feature variant with the current build script at this time.
A posted a short summary on the dev mailing list a couple of months ago. While I'm still keen to get to this done, I haven't been able to allocate much time to this issue over the last few months.
@vjlamp I have used a different approach in this PR: #43 (TAP5-2741: switch to Jakarta EE and Java 11).
I think it will not be possible to support both the old and new namespace with one branch because you have to change a lot (especially because of changes in dependencies). I think the best way would be to create a new Tapestry version (5.9 or 6.0) that support Jakarta EE and create a branch for 5.8 that still supports the old Java EE namespace.
@derkoe Yes, that's what I concluded also. It'll probably be the 5.9 release, not a 6.x release anyway, as @thiagohp motivated. Thank you for suggesting #43, I'll check it out :)