IntegrationTest has wrong classpath order
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- groovy
- Domain
- build-system, testing
Research direction
Start by locating the IntegrationTest source-set and runtimeClasspath configuration, then use the showClassPathTest() task from the issue to reproduce the ordering. Done means integTest, test, and main classes/resources appear before the jars, matching the expected result.
Written by the indexing model from the issue text.
Description
Integration test apply wrong classpath order and as result class shadowing isn't work.
task showClassPathTest() {
doLast {
sourceSets.integTest.runtimeClasspath.each { println it}
}
}
Result:
/.../build/classes/java/integTest
/.../build/resources/integTest
...
jars
...
/.../build/classes/java/test
/.../build/resources/test
/.../build/classes/java/main
/.../build/resources/main
And expected result:
/.../build/classes/java/integTest
/.../build/resources/integTest
/.../build/classes/java/test
/.../build/resources/test
/.../build/classes/java/main
/.../build/resources/main
...
jars
...
- Dominant language
- Groovy
- Stars
- 98
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nebula-plugins/nebula-project-plugin
-
nebula-plugins/nebula-project-plugin#101 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nebula-plugins/nebula-project-plugin#71 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in nebula-plugins/nebula-project-plugin
Similar issues
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
objectionary/hone-maven-plugin#1060 ·
-
0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100