Skip to content

Allow using a module name without a package name. #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebasbaumh
Copy link

Remove ensureTrailingSlash call as the slash is already there (it is actually used for splitting the path).
A module name without a package part results in a super directory created at the target/classes directory.

Fixes this error for a module named "gwt-util":
[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-3:add-super-sources (add-super-sources) on project gwt-util: Execution add-super-sources of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-3:add-super-sources failed: String index out of range: -1 -> [Help 1]

Remove ensureTrailingSlash call as the slash is already there (it is actually used for splitting the path).
A module name without a package part results in a super directory created at the target/classes directory.

Fixes this error for a module named "gwt-util":
[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-3:add-super-sources (add-super-sources) on project gwt-util: Execution add-super-sources of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-3:add-super-sources failed: String index out of range: -1 -> [Help 1]
Base automatically changed from master to main January 24, 2021 19:39
@tbroyer tbroyer force-pushed the main branch 2 times, most recently from 27efa2c to 3f742b3 Compare July 22, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant