-
Notifications
You must be signed in to change notification settings - Fork 118
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
Only ever return pom path for type=pom #1731
base: main
Are you sure you want to change the base?
Conversation
Test Results 214 files ±0 214 suites ±0 24m 25s ⏱️ + 6m 39s For more details on these failures, see this check. Results for commit c6b72f7. ± Comparison against base commit 5f94521. ♻️ This comment has been updated with latest results. |
This closes #1730
0d1f99d
to
ea9a37e
Compare
...e/src/org/eclipse/m2e/core/internal/project/registry/EclipseWorkspaceArtifactRepository.java
Show resolved
Hide resolved
8bcdbf2
to
c6b72f7
Compare
@laeubi Any idea about the failing test cases? They seem related to the change, but I don't understand why. |
Maven requires always a resolved artifact so you need to return something existing for it to work (maybe the basedir of the project) instead of "nothing". |
IMHO returning |
If Workspace Artifacts are enabled then they must be resolved if possible, return null would mean that the project do not exits in workspace what is wrong. |
Is there plan to finish this one? |
As mentioned I think the approach is wrong to return I also miss a testcase that shows why we change it and that it actually works as expected. |
This closes #1730