[MNG-6776] Inconsistent list of parameters for MojoDescriptor (#584)

It may lead to confusion as parameters (list) and
parametersMap (map) may "fall apart" easily.

Also, parametersMap did not honor parameter
ordering while parameters list makes it look
that order is important.
Simply, rebuild the map always and retain
ordering as well.

Added UT and also removed some cruft provided
by java8.

Co-authored-by: Marc Wrobel <marc.wrobel@gmail.com>
Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>

(cherry picked from commit cc51006f2973356a1046ae0757325d5e9be75327)
(cherry picked from commit 5ce5591ae341188230d6ecca76c90bd0a786fcb2)
(cherry picked from commit 47e2d689d687358a85c2cdecc176cac36093817e)
---

https://issues.apache.org/jira/browse/MNG-7309
2 files changed
tree: 3042eb4dcac53eb0a2faa4433fe54da2858d1d19
  1. .github/
  2. apache-maven/
  3. maven-artifact/
  4. maven-builder-support/
  5. maven-compat/
  6. maven-core/
  7. maven-embedder/
  8. maven-model/
  9. maven-model-builder/
  10. maven-plugin-api/
  11. maven-repository-metadata/
  12. maven-resolver-provider/
  13. maven-settings/
  14. maven-settings-builder/
  15. maven-slf4j-provider/
  16. src/
  17. .gitattributes
  18. .gitignore
  19. CONTRIBUTING.md
  20. deploySite.sh
  21. doap_Maven.rdf
  22. Jenkinsfile
  23. LICENSE
  24. NOTICE
  25. pom.xml
  26. README.md
README.md

Apache Maven

Apache License, Version 2.0, January 2004 Maven Central Jenkins Status Jenkins tests

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.

Documentation

More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.

Where can I get the latest release?

You can download release source from our download page.

Contributing

If you are interested in the development of Maven, please consult the documentation first and afterwards you are welcome to join the developers mailing list to ask question or discuss new ideas / features / bugs etc.

Take a look into the contribution guidelines.

License

This code is under the Apache Licence v2

See the NOTICE file for required notices and attributions.

Donations

You like Apache Maven? Then donate back to the ASF to support the development.

License

Apache License, Version 2.0, January 2004

Quick Build

If you want to bootstrap Maven, you'll need:

  • Java 1.7+
  • Maven 3.0.5 or later
  • Run Maven, specifying a location into which the completed Maven distro should be installed:
mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.6.x-SNAPSHOT" clean package