-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add quotes in the command-line arguments formatted by JavaPathType.
#2505
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
Conversation
This commit contains also opportunistic documentation fixes.
elharo
left a comment
There was a problem hiding this 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
elharo
left a comment
There was a problem hiding this 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
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Outdated
Show resolved
Hide resolved
Add a test case.
76d9cae to
534aac0
Compare
|
Test added. |
|
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
left a comment
There was a problem hiding this 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.
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 |
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. |
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
Outdated
Show resolved
Hide resolved
still think this needs an issue, but won't block on that
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. |
|
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. |
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.
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.
The main purpose of this pull request is to put the file paths between quotes in the command line. For example instead of:
Format as:
This pull request also contains opportunistic Javadoc formatting: missing dots at the end of summary sentences, missing closing
</p>HTML tag.