Skip to content

Conversation

@desruisseaux
Copy link
Contributor

The main purpose of this pull request is to put the file paths between quotes in the command line. For example instead of:

--module-source-path my.module=src/foo:src/bar

Format as:

--module-source-path my.module="src/foo:src/bar"

This pull request also contains opportunistic Javadoc formatting: missing dots at the end of summary sentences, missing closing </p> HTML tag.

This commit contains also opportunistic documentation fixes.
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a JIRA issue or Github issue, whichever using right now

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a test

@desruisseaux
Copy link
Contributor Author

Test added.

@desruisseaux
Copy link
Contributor Author

Regarding the JIRA ticket, I think that the migration to GitHub is done. The JIRA page for Maven now said "Maven (Moved to GitHub Issues)" and I don't see a "Create" button.

Given that a pull request on GitHub is practically identical to a GitHub issue + code, do we really need a separated GitHub issue?

elharo
elharo previously requested changes Jun 24, 2025
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we need a separate issue. It's used for the release notes.

@gnodet
Copy link
Contributor

gnodet commented Jun 24, 2025

This needs a JIRA issue or Github issue, whichever using right now

That's not true afaik. The release notes are built from issues and PRs, so we don't need an issue for each PR.

@gnodet gnodet added the bug Something isn't working label Jun 24, 2025
@olamy
Copy link
Member

olamy commented Jun 24, 2025

This needs a JIRA issue or Github issue, whichever using right now

That's not true afaik. The release notes are built from issues and PRs, so we don't need an issue for each PR.

agree and stated here https://maven.apache.org/developers/conventions/github.html

When you provide a Pull Request - creating separate issue is not necessary as you can describe your proposition in Pull Request.

@desruisseaux desruisseaux requested a review from elharo June 25, 2025 08:06
@elharo
Copy link
Contributor

elharo commented Jun 25, 2025

This needs a JIRA issue or Github issue, whichever using right now

That's not true afaik. The release notes are built from issues and PRs, so we don't need an issue for each PR.

agree and stated here https://maven.apache.org/developers/conventions/github.html

When you provide a Pull Request - creating separate issue is not necessary as you can describe your proposition in Pull Request.

OK, so not required for the relase notes but still required and good idea. Per the page you cite, "A GitHub Issue should be created to report a bug or request a new feature." With Jira we had pretty good bug tracker records. Let's keep that up.

@desruisseaux desruisseaux requested a review from elharo June 25, 2025 13:29
@elharo elharo dismissed their stale review June 25, 2025 13:37

still think this needs an issue, but won't block on that

@gnodet
Copy link
Contributor

gnodet commented Jun 26, 2025

This needs a JIRA issue or Github issue, whichever using right now

That's not true afaik. The release notes are built from issues and PRs, so we don't need an issue for each PR.

agree and stated here https://maven.apache.org/developers/conventions/github.html

When you provide a Pull Request - creating separate issue is not necessary as you can describe your proposition in Pull Request.

OK, so not required for the relase notes but still required and good idea. Per the page you cite, "A GitHub Issue should be created to report a bug or request a new feature." With Jira we had pretty good bug tracker records. Let's keep that up.

Issues and PRs are really the same. The difference is that when you don't have code and you just report something, you create an issue. When you actually fix something, we just create a PR. Creating an issue for each PR is redundant and does not bring anything in GitHub. Both issues and PRs are assigned to milestones/releases, so having both systematically is actually confusing, because it creates lots of duplicates.

@desruisseaux desruisseaux self-assigned this Jun 26, 2025
@desruisseaux desruisseaux merged commit 1a681ec into apache:master Jun 26, 2025
19 checks passed
@desruisseaux desruisseaux deleted the fix/add-quotes branch June 26, 2025 07:58
@gnodet gnodet added this to the 4.1.0 milestone Jun 26, 2025
@elharo
Copy link
Contributor

elharo commented Jun 26, 2025

I disagree that issues and PRs are the same. They are very different things with different purposes, and if I'd thought moving to github issues meant we were going to stop using issues, I would have argued against it. Our development practices are going backwards.

@gnodet
Copy link
Contributor

gnodet commented Jun 26, 2025

I disagree that issues and PRs are the same. They are very different things with different purposes, and if I'd thought moving to github issues meant we were going to stop using issues, I would have argued against it. Our development practices are going backwards.

@elharo Can you be more explicit about what you think we're loosing ? I really don't see.

desruisseaux added a commit to Geomatys/maven that referenced this pull request Nov 13, 2025
This is a partial revert of apache#2505
based on the constatation that above PR has not been merged in 4.0.x.
For making the two branches consistent, we need to either port or revert 2505.
A revert is less disruptive as no Maven 4.1.x version has been released yet
and it would avoid apache/maven-compiler-plugin#991.
desruisseaux added a commit to Geomatys/maven that referenced this pull request Nov 13, 2025
This is a partial revert of apache#2505
based on the observation that above PR has not been merged in 4.0.x.
For making the two branches consistent, we need to either port or revert 2505.
A revert is less disruptive as no Maven 4.1.x version has been released yet
and it would avoid apache/maven-compiler-plugin#991.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants