Skip to content

1.8.2 error: module not found: org.assertj.core error: module not found: junit (1.8.1 works) #188

@Siedlerchr

Description

@Siedlerchr

Hi,
I just tried the 1.8.2 plugin version and encountered an error.
With the previous version, it works.

Related to #186 ?
We use a module-info.test file https://github.com/JabRef/jabref/blob/main/src/test/java/module-info.test

> Task :compileTestJava
Skipped patching fastparse_2.12-1.0.0.jar into test
Skipped patching fastparse-utils_2.12-1.0.0.jar into test2
Skipped patching sourcecode_2.12-0.1.4.jar into test3
warning: [options] --add-opens has no effect at compile time
error: module not found: org.assertj.core
error: module not found: junit
warning: module name in --add-reads option not found: org.kordamp.ikonli.IkonHandler
warning: module name in --add-reads option not found: org.kordamp.ikonli.IkonProvider
warning: [options] module name in --add-exports option not found: org.junit.platform.engine
2 errors
4 warnings

Test looks lke this:


test {
    useJUnitPlatform {
        excludeTags 'DatabaseTest', 'FetcherTest', 'GUITest'
    }

    moduleOptions {
        // TODO: Remove this as soon as archunit is modularized
        runOnClasspath = true
    }

    testLogging {
        // set options for log level LIFECYCLE
        // for debugging tests: add "STANDARD_OUT", "STANDARD_ERROR"
        events = ["FAILED"]
        exceptionFormat "full"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions