You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "toaditi (via GitHub)" <gi...@apache.org> on 2026/06/15 12:51:50 UTC

[PR] OFBIZ-13402 Move test sources from src/main/groovy to src/test/groovy [ofbiz-framework]

toaditi opened a new pull request, #1352:
URL: https://github.com/apache/ofbiz-framework/pull/1352

   ## Summary
   
   - Moves all integration test Groovy source files from `src/main/groovy` to `src/test/groovy` across `applications/`, `framework/`, and `plugins/` so they are excluded from production JAR artifacts
   - Updates `createOfbizCommandTask` in `build.gradle` to include `sourceSets.test.runtimeClasspath` when the task is invoked with `--test`, so moved test classes remain on the classpath when running `./gradlew ofbiz --test`
   - Adds a Groovy capability resolution rule to `build.gradle` to resolve the conflict between `org.codehaus.groovy:*:3.0.x` (declared on this branch) and `org.apache.groovy:*:4.0.x` (bundled with Gradle 8.x runtime)
   
   Backport of the trunk change for OFBIZ-13402.
   
   ## Test plan
   
   - [ ] `./gradlew checkstyleMain codenarcMain codenarcTest` passes
   - [ ] `./gradlew ofbiz --test component=All` still finds and runs all integration tests
   - [ ] Production JAR no longer contains compiled test classes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] OFBIZ-13402 Move test sources from src/main/groovy to src/test/groovy [ofbiz-framework]

Posted by "toaditi (via GitHub)" <gi...@apache.org>.
toaditi closed pull request #1352: OFBIZ-13402 Move test sources from src/main/groovy to src/test/groovy
URL: https://github.com/apache/ofbiz-framework/pull/1352


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org