Commit Graph

11851 Commits

Author SHA1 Message Date
Maarten Mulders 09e51544df Remove unused import 2022-03-03 10:40:03 +01:00
Michael Osipov 83bbbb3cfb [MNG-6960] Use RuntimeInformation instead of reading properties
This closes #685
2022-02-27 19:27:25 +01:00
Karsten Thoms 5394e750d9 (refactoring) Resolve usage of deprecated method
Replace usage of
  MavenExecutionRequest#getSelectedProjects()
by
  MavenExecutionRequest#getProjectActivation().getOptionalActiveProjectSelectors()

Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>

This closes #664
2022-02-27 12:58:35 +01:00
Tomi Pakarinen 1e33a57264 [MNG-5180] Versioning's snapshot version list is not included in metadata merge
Co-authored-by: Konrad Windszus <kwin@apache.org>

This closes #681
2022-02-27 12:09:17 +01:00
Christoph Läubrich e327be3d85 [MNG-7402] BuildListCalculator never detaches the classloader
This closes #683
2022-02-26 21:38:56 +01:00
Sylwester Lachiewicz 69d6c6d5a2 [MNG-7417] Several classes do not set properties properly for building requests
This closes #306
2022-02-20 19:17:47 +01:00
Martin Kanters 03df5f7c63 [MNG-7390] Allow selecting modules outside the cwd into the reactor using --projects
This closes #677
2022-02-19 23:59:40 +01:00
Giovanni van der Schelde b2a21f12f8 [MNG-7244] Remove deprecated WARNING for usage of pom.X placeholders
This closes #678
2022-02-19 23:05:27 +01:00
Christoph Läubrich 2798ee9196 [MNG-7395] Support interpolation in extensions.xml
This adds support for property interpolation in extensions.xml to allow
advanced use cases where one wants to contribute certain things via the
commandline.

This closes #665
2022-02-19 22:01:10 +01:00
Christoph Läubrich 62cf29bab3 [MNG-7407] Introduce a ModelVersionProcessor component to make CI Friendly Versions pluggable
This closes #675
2022-02-19 17:49:59 +01:00
Maarten Mulders 0be5e406d7 [MNG-7406] Do not include formatted details in Exception message
Closes #672
2022-02-16 22:11:52 +01:00
Tamas Cservenak cc51006f29
[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.

---

https://issues.apache.org/jira/browse/MNG-7309
2022-02-14 12:26:51 +01:00
Christoph Läubrich a4729755ae [MNG-7400] Allow more WorkspaceReaders to participate
This closes #667
2022-02-12 21:42:08 +01:00
Hervé Boutemy 6ca13af230 [MNG-7408] explain Maven 3 reporting plugin version selection 2022-02-06 09:56:11 +01:00
Guillaume Nodet 1d473233f2 [MNG-6727] Using version range in parent and CI Friendly Version fails 2022-02-01 14:35:07 +01:00
Guillaume Nodet 6b607109d3 [MNG-7349] Limit relocation warning message to direct dependencies only
# Conflicts:
#	maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
2022-01-24 07:57:43 +01:00
Guillaume Nodet dbfe8097d2 [MNG-7386] Make sure the ModelMerger$MergingList can be serialized 2022-01-21 17:00:11 +01:00
Hervé Boutemy 1af8513fa7 [MNG-7385] improve repository metadata documentation 2022-01-18 21:19:32 +01:00
Maarten Mulders 76452c7269 [MNG-7339] Verify Maven can build itself less often
Closes #658.
2022-01-18 21:00:41 +01:00
Guillaume Nodet 9d4b2b23f0
[MNG-7345] Fix exported packages (#618) 2022-01-18 10:42:47 +01:00
Falko Modler ab4fec0a33 [MNG-7381] Shorten parallel builder thread name to artifactId, conditionally with groupId
This closes #662
2022-01-17 20:39:11 +01:00
Michael Osipov c0a49c7396 [MNG-7384] Upgrade Maven JAR Plugin to 3.2.2 2022-01-14 11:25:33 +01:00
Falko Modler 18725ec1e0 [MNG-7380] Don't log non-threadsafe warning if only building a single module
This closes #655
2022-01-11 15:30:52 +01:00
Michael Osipov 7a772fecc0 [MNG-7362] DefaultArtifactResolver has spurious "Failure detected" INFO log 2022-01-11 15:24:05 +01:00
Guillaume Nodet faf5d5d274
[MNG-7347] SessionScoped beans should be singletons for a given session (#621) 2022-01-10 08:19:33 +01:00
Giovanni van der Schelde 4476026c52 [MNG-7217] Update Commons CLI to version 1.5.0
Closes #605
2022-01-08 19:57:39 +01:00
Hervé Boutemy c229278477 rework javadoc 2022-01-08 17:27:28 +01:00
Hervé Boutemy f30a0ab4dd [MNG-7267] update artifact handlers documentation 2022-01-08 16:03:57 +01:00
Hervé Boutemy 8bde888dc8 [MNG-7267] update lifecycle documentation after switch from Plexus XML 2022-01-08 15:57:39 +01:00
Hervé Boutemy e617d51bd4 [MNG-7264] packaging plugins bindings cannot be empty 2022-01-08 15:25:54 +01:00
Tamas Cservenak 7180d68a18 Proposal to change abstract provider
Changes:
* validate input
* do not modify loop invariant within loop body
2022-01-08 15:25:54 +01:00
Hervé Boutemy a53083db6c [MNG-7264] refactor packaging bindings providers to ease maintenance 2022-01-08 15:25:54 +01:00
Hervé Boutemy a7375a0eff [MNG-7263] use constants instead of copy/paste 2022-01-08 15:25:13 +01:00
Hervé Boutemy 94af1d99f8 [MNG-7263] improve AbstractLifecycleProvider 2022-01-08 15:25:13 +01:00
Hervé Boutemy 711d5fbbf2 [MNG-7263] introduce AbstractLifecycleProvider 2022-01-08 15:25:13 +01:00
Hervé Boutemy e5b0831c10 [MNG-7263] refactor lifecycle providers to ease documentation
- lifecycle id
- phases
- default plugins bindings
2022-01-08 15:25:13 +01:00
Guillaume Nodet b4773576a8 [MNG-6326] Make the build fail if core extensions can not be loaded (#648) 2022-01-07 10:03:15 +01:00
Michael Osipov 2670c00751 [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
2022-01-06 16:54:03 +01:00
Hervé Boutemy d6b9108f58 [MNG-6917] upgrade maven-wrapper-plugin to 3.1.0 2022-01-05 00:09:35 +01:00
Michael Osipov 706d9319f1 [MNG-7369] Maven BOM doesn't need to package as a JAR
This closes #647
2022-01-02 15:11:41 +01:00
Michael Osipov 46d57bdb3f [MNG-7374] Mutating RelocatedArtifact does not retain type
This closes #641
2021-12-30 16:50:58 +01:00
Jeff Hodges 2cb4fe949a [MNG-7377] Add .vscode/ to .gitignore
VS Code creates directories with configurations in project directories. This
is usually fine, but triggers the `apache-rat` license alarms and future
VS Code users might accidentally commit the directory.

To solve the alarm and avoid future issues, we add it to .gitignore.

This closes #646
2021-12-30 14:58:09 +01:00
Michael Osipov d8445a54bb Improve PR template 2021-12-30 14:52:36 +01:00
Michael Osipov 0a8bd727ac [MNG-7370] Upgrade Maven Wagon to 3.5.1
This closes #644
2021-12-28 22:20:45 +01:00
Michael Osipov 951b5ee95f Fix SLF4J license link 2021-12-26 22:12:10 +01:00
Hervé Boutemy 3d4d6d8bea fix wrong dependencies 2021-12-26 22:06:43 +01:00
Hervé Boutemy f793d862e3 [MWRAPPER-14] remove Maven Wrapper from core 2021-12-26 17:42:35 +01:00
Michael Osipov 6257b33142 [MNG-7193] Introduce MAVEN_ARGS environment variable
Add args directly after the class name and leave users the option to override
with maven.config or CLI args.

This closes #637
2021-12-21 10:29:19 +01:00
Michael Osipov e6287b4701 Improve startup scripts
This closes #636
* Properly name jump labels for jvm.config in cmd
* Supply one arg per line
2021-12-20 21:24:40 +01:00
Guillaume Nodet 33aedfc28b
[MNG-7156][MNG-7285] Add locking in MojoExecutor (#627) 2021-12-17 09:18:40 +01:00