Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1867

Java Modularity documentation creates error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-M5
    • None
    • documentation
    • None
    • JDK 16 (or 9+), Eclipse 2020-09, MacOS 10.15.07

    Description

      [Using Java Modularity](https://maven.apache.org/surefire/maven-surefire-plugin/examples/jpms.html) instructs the user to place a module-info.java file under both src/main/java and src/test/java.  This duplication causes the error:

      • The project was not built due to "Build path contains duplicate entry: 'module-info.java' for project 'Foo'"

      Attachments

        Activity

          People

            Unassigned Unassigned
            leerho Lee Rhodes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: