commit | 02a055bde67f23cf908f97a04813c044d16c5490 | [log] [tgz] |
---|---|---|
author | Phil Clay <philsttr@users.noreply.github.com> | Tue Dec 22 08:37:41 2020 -0800 |
committer | Michael Osipov <michaelo@apache.org> | Thu Dec 24 18:21:52 2020 +0100 |
tree | 49fde9c49b3258426b3fdc60d3f2cca74d9cf454 | |
parent | 92d7e747c2228ed411ae6e9d1639401a6b8fe6cc [diff] |
[MDEPLOY-265] Allow old alt*DeploymentRepository property format if default layout is used The legacy format (<=2.x) of alt*DeploymentRepository is id::layout::url. The new format (>= 3.x) of alt*DeploymentRepository is id::url which is equivalent to id::default:url from the legacy format. This change introduces backwards compatibility with 2.x by supporting alt*DeploymentRepository values in the id::layout::url format if and only if the layout is equal to "default". The "default" layout is the most commonly used layout, so this should maintain backwards compatibility with the large majority of projects using the alt*DeploymentRepository properties. * Usage of the legacy format with the "default" layout will result in a warning message being logged. * Usage of the legacy format with layouts other than "default" will result in an exception being thrown. This closes #15
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.[MDEPLOY-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.