commit | 2670c007517d8d72c182df6e589fd9dc43692e26 | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Sat Dec 25 12:28:47 2021 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Thu Jan 06 16:54:03 2022 +0100 |
tree | b8f3e15d228b9d28f1e73d681c06f25e2c98f721 | |
parent | d6b9108f58ec3dfec507ccaae8102bfd6ac77f94 [diff] |
[MNG-5561] Plugin relocation loses configuration Previously, to locate plugin configuration in a project the plugin descriptor was read first and then the GA were extracted. This always worked because the GA from the model and the GA from plugin descriptor (plugin.xml) were identical. When a plugin is relocated the target artifact is read, thus its plugin descriptor as well. Naturally, the GA of new (relocated) does not correspond to the old (static) one in the model. Therefore, the configuration is not found. New approach is to use the original plugin GA to locate the configuration in the model regardless of the relocation. This closes #642
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
If you think you have found a bug, please file an issue in the Maven Issue Tracker.
More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.
You can download the release source from our download page.
If you are interested in the development of Maven, please consult the documentation first and afterward you are welcome to join the developers mailing list to ask questions or discuss new ideas/features/bugs etc.
Take a look into the contribution guidelines.
This code is under the Apache License, Version 2.0, January 2004.
See the NOTICE
file for required notices and attributions.
Do you like Apache Maven? Then donate back to the ASF to support the development.
If you want to bootstrap Maven, you'll need:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package