apache / apache/maven-surefire

[SUREFIRE-1867] Java Modularity documentation creates error

Open
#2,984 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
461
Forks
588
Avg merge
1d 8h
Merged PRs (30d)
19

Description

**[Lee Rhodes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=leerho)** opened **[SUREFIRE-1867](https://issues.apache.org/jira/browse/SUREFIRE-1867?redirect=false)** and commented

[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'"

---

**Affects:** 3.0.0-M5

Contributor guide

Open the contributing guide

Research direction

Start with the “Using Java Modularity” page linked in the issue and review its instructions for module-info.java under src/main/java and src/test/java. Confirm the duplicated placement produces the reported build-path error; done means the documentation no longer instructs users to create the conflicting duplicate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.