The scope provided you added works.
I went ahead and played with the dependencies. Here’s what I found out:
The pom file dependencies can be simplified. You can remove ERFoundation, JavaFoundation and JavaEOControl and everything builds and unit tests pass.
However, ERAttributeExtension AND JavaEOAccess have to remain as dependencies as you have them right now in version 2.2-SNAPSHOT with scope test and provided respectively.
If I then change wonder.version to 7.3.11 which is my fork of wonder that uses the dependencies from my wopatched project, i.e wonder-foundation (which has ERFoundation 1.0 included), wonder-eocontrol, wonder-eoaccess (includes patches to EOAttribute from ERAttributeExtension), wonder-WebObjects (includes patches from ERWebObjects 1.0), etc. then I was able to remove JavaEOAccess and ERAttributeExtension and everything builds and unit tests pass.
Cheers Ricardo Parada
On Oct 27, 2026, at 2:08 AM, Paul Hoadley <webobjects-dev@wocommunity.org> wrote:
Hi Ricardo, On 27 Oct 2026, at 13:41, Ricardo Parada <webobjects-dev@wocommunity.org> wrote:
Anyways, I was thinking that the dependencies in the pom.xml of this wounit could be reduced to ERExtensions and let that pull the WebObjects dependencies transitively. You could remove ERFoundation too. Let ERExtensions pull that.
I have not looked in detail but I wonder if ERAttributeExtension is needed.
What I’m thinking is that if it dependended only on ERRxtensions I could force it to the version of my fork and it would pull in the wopatched projects, e.g. wonder-foundation, wonder-eocontrol, wonder-eoaccess and it already includes the patch from ERAttributeExtension as well.
I think I’ll try cloning it, make the changes, bump the version and make the changes to the pom.xml to see if it works as I’m thinking. In hope of using it with the fork of wonder that uses wopatched.
Thanks for taking a look. You might be able to reduce the dependencies like that: do have a try and report back. They're present because they're present in WOUnit 1.5.
-- Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/
|