commit | 784c6d1441b0b1083e55d6f3640a858132e7c54c | [log] [tgz] |
---|---|---|
author | Tamas Cservenak <tamas@cservenak.net> | Mon Dec 11 10:23:53 2023 +0100 |
committer | GitHub <noreply@github.com> | Mon Dec 11 10:23:53 2023 +0100 |
tree | 07c459e572db7c7af0a7e45bb53d2d695d6457de | |
parent | 5bc30c3be0a163ee4177c6beeb29e9b93084b1f7 [diff] |
[MRESOLVER-335] Proposal for better errors (#386) Basically drop the method building text message (and build something very basic instead). It is the application that should build proper output, as it does have access to org.eclipse.aether.resolution.ArtifactResolutionException#getResults and can and should build meaningful error instead. This PR does not fixes the issue for Maven, it merely does these things: * alters the message built by ArtifactResolutionException that does lack information to be complete * but IMHO Maven is not meant to use this exception message as is (as it happens today), instead * this PR makes possible that in Maven code build proper message, as it now exposes everything (maps remote repository to exception) --- https://issues.apache.org/jira/browse/MRESOLVER-335
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
git diff --check
before committing.[MRESOLVER-XXX] - Subject of the JIRA Ticket Optional supplemental description.
mvn -Prun-its verify
to assure nothing else was accidentally broken.If you plan to contribute on a regular basis, please consider filing a contributor license agreement.
For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA. In this case, it is appropriate to start the first line of a commit with ‘(doc)’ instead of a ticket number.