Closed juripetersen closed 3 months ago
Can you check why some unit tests are failing?
Can you check why some unit tests are failing?
I can't replicate the error locally. It looks like building the assembly fails due to local/cache problems? Maybe a rerun of the action solves it?
@kbeedkar it seems like the build can't find wayang-api-json
in https://repo.maven.apache.org/maven2/org/apache/wayang/. This seems to be correct, as that module is not to be found there. Do we have to publish a release for that module to be in maven-central?
@juripetersen - yes I think so.
But the change does not concern the missing module, so that is weird. Also the module is locally located.
@zkaoudi @kbeedkar I can reproduce this by running ./mvnw clean verify -B -Dmaven.test.skip=false -Dwayang.configuration=file:$(pwd)/tools/test/config/wayang.properties
on a fresh setup. The error occurs because some modules are not on mvn central as they are not in a release yet. I think this is sensible and the build should be constructed from the current state of the repo and not from central. If I run mvn clean install
before, the local modules are built and then used for the verification step. This resolves the error.
Is including install as a step before verification in our action a solution, or does this introduce something I am unaware of?
@juripetersen makes totally sense. @2pk03 do you see any issue with that?
This proposes a functional interface to change the Loggers level with the
WayangContext
:The change provides better ergonomics and prevents having to fiddle with configuration files, when Context objects etc. can be created during plan building. Furthermore, this aligns with the API presented in other Apache projects like Spark