10711 Commits

Author SHA1 Message Date
Michael Osipov
cfeea9dac4 Remove unused imports 2022-03-05 12:39:24 +01:00
Michael Osipov
572d5260b9 [MNG-7428] Upgrade Maven Parent to 35 2022-03-03 13:16:13 +01:00
Michael Osipov
f0caf9c9b3 [MNG-6960] Use RuntimeInformation instead of reading properties 2022-02-27 19:31:35 +01:00
Tomi Pakarinen
05e96dae96 [MNG-5180] Versioning's snapshot version list is not included in
metadata merge

Co-authored-by: Konrad Windszus <kwin@apache.org>

This closes #684
2022-02-27 11:50:25 +01:00
Christoph Läubrich
d29af9018b [MNG-7402] BuildListCalculator never detaches the classloader
This closes #683
2022-02-26 21:40:28 +01:00
Sylwester Lachiewicz
395411fe31 [MNG-7417] Several classes do not set properties properly for building requests
This closes #306
2022-02-20 19:27:59 +01:00
Christoph Läubrich
a5acd3ec60 [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 #673
2022-02-19 21:41:18 +01:00
Christoph Läubrich
2bb1228de6 [MNG-7407] Introduce a ModelVersionProcessor component to make CI Friendly Versions pluggable
This closes #674
2022-02-19 17:51:35 +01:00
Christoph Läubrich
6f14196846 [MNG-7400] Allow more WorkspaceReaders to participate
This closes #668
2022-02-13 10:41:06 +01:00
Hervé Boutemy
0a118d6e24 [MNG-7408] explain Maven 3 reporting plugin version selection 2022-02-06 09:55:38 +01:00
Guillaume Nodet
d79485ff23
[MNG-6727] Using version range in parent and CI Friendly Version fails 2022-02-01 14:26:54 +01:00
Guillaume Nodet
83257bfde0
[MNG-7349] Limit relocation warning message to direct dependencies only 2022-01-24 07:53:26 +01:00
Guillaume Nodet
0cda424772
[MNG-7386] Make sure the ModelMerger$MergingList can be serialized 2022-01-21 16:53:03 +01:00
Hervé Boutemy
27755123e3 [MNG-7385] improve repository metadata documentation 2022-01-18 21:24:59 +01:00
Falko Modler
67ff805448 [MNG-7381] Shorten parallel builder thread name to artifactId, conditionally with groupId
This closes #663
2022-01-17 22:16:39 +01:00
Michael Osipov
72c483b527 [MNG-7384] Upgrade Maven JAR Plugin to 3.2.2 2022-01-14 11:32:30 +01:00
Falko Modler
99de6b49ee [MNG-7380] Don't log non-threadsafe warning if only building a single module
This closes #655
2022-01-11 15:45:53 +01:00
Michael Osipov
84cbe1ab2e [MNG-7362] DefaultArtifactResolver has spurious "Failure detected" INFO log 2022-01-11 15:25:11 +01:00
Guillaume Nodet
b4518b5fe4
[MNG-7347] SessionScoped beans should be singletons for a given session (#653) 2022-01-10 08:19:41 +01:00
Guillaume Nodet
8456294977
[MNG-6326] Make the build fail if core extensions can not be loaded (#648) 2022-01-07 09:51:21 +01:00
Michael Osipov
f4fd031828 Fix checkstyle issue 2022-01-06 22:26:58 +01:00
Ravil Galeyev
0f3c39b8ed [MNG-6802] FileProfileActivator changes FileProfileActivator.exists which lets flattened resolveCiFriendliesOnly depending fail activating profile
Cherry picked from 3fabb639a31d6076b1649c1a08828febabddf44a

This closes #649
2022-01-06 18:50:10 +01:00
Michael Osipov
05b748ff6a [MNG-5561] Plugin relocation loses configuration
Previously, to locate plugin configuration in the project the plugin descriptor
was read and 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 relocation.
2021-12-30 17:05:02 +01:00
Michael Osipov
ef74a62451 [MNG-7374] Mutating RelocatedArtifact does not retain type
This closes #641
2021-12-30 16:58:06 +01:00
Jeff Hodges
d173bf9cc5 [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 16:56:33 +01:00
Michael Osipov
e09baa8ac4 Improve PR template 2021-12-30 16:54:41 +01:00
Michael Osipov
100b17e1d7 [MNG-7370] Upgrade Maven Wagon to 3.5.1
This closes #644
2021-12-28 23:42:20 +01:00
Michael Osipov
8348d2bd0a Fix SLF4J license link 2021-12-26 22:15:01 +01:00
Sylwester Lachiewicz
6ae4f7e2c5 Bump Java to 17 2021-12-17 11:01:47 +01:00
Guillaume Nodet
4ff27db4f9 [MNG-7156][MNG-7285] Fix typo in test 2021-12-17 08:57:42 +01:00
Guillaume Nodet
10a72f30f7
[MNG-7156][MNG-7285] Add locking in MojoExecutor (#628) 2021-12-17 08:42:18 +01:00
Guillaume Nodet
803c215554 Fix github checks 2021-12-02 08:36:32 +01:00
Guillaume Nodet
5bc395fd08 Add github checks to maven-3.8.x branch 2021-12-01 19:42:20 +01:00
Michael Osipov
f568170e36 Update DOAP with Maven 3.8.4 release 2021-11-20 15:55:42 +01:00
Michael Osipov
ed3279809c Update DOAP with Maven 3.8.3 release 2021-11-20 15:53:09 +01:00
Michael Osipov
8af0a674db [maven-release-plugin] prepare for next development iteration 2021-11-14 10:14:54 +01:00
Michael Osipov
9b656c72d5 [maven-release-plugin] prepare release maven-3.8.4 maven-3.8.4 2021-11-14 10:14:42 +01:00
Michael Osipov
19c3b917b3 [MNG-7331] Upgrade Jansi to 2.4.0 2021-11-12 19:11:05 +01:00
Michael Osipov
5c36bf5ef7 [MNG-7312] Revert ThreadLocal approach from MNG-6843 and MNG-7251
Revert "[MNG-7251] Fix threadLocalArtifactsHolder leaking into cloned project"

This reverts commit 4e5b3d55545e5f03f05ac7b0cd1b56689df36201.

Revert "[MNG-6843] Parallel build fails due to missing JAR artifacts in compilePath"

This reverts commit 76d5f0d942f52650d3bdf775b6af42d23d69066b.

===

This closes #595
2021-10-22 21:58:12 +02:00
Jonathan Dowland
fb5f3f5b0f [MNG-7270] Switch to shell alternative to "which"
In some circumstances the init script calls `which`, which may or may not be
available on the host system. Instead, use `command -v`, which is nearly
equivalent. One area it differs is if the command being queried is defined as
a shell alias. To avoid that, call `unset -f command` to avoid the situation
where "command" has been re-defined as a shell function.

See here for more information on this approach:
<https://pubs.opengroup.org/onlinepubs/009695399/utilities/command.html>

Tested with bash, sh (bash invoked as sh), posh, dash, zsh and mksh.

This closes #556
2021-10-11 22:51:09 +02:00
Michael Osipov
b6186e2c77 Remove swap file 2021-09-27 22:16:35 +02:00
Michael Osipov
21e597ec77 [maven-release-plugin] prepare for next development iteration 2021-09-27 20:28:37 +02:00
Michael Osipov
ff8e977a15 [maven-release-plugin] prepare release maven-3.8.3 maven-3.8.3 2021-09-27 20:28:25 +02:00
Guillaume Nodet
0a6bbb8301 [MNG-7235] Speed improvements when calculating the sorted project graph
This closes #530
2021-09-27 20:18:53 +02:00
Gary Gregory
8882a9c599 [MNG-7164] Add constructor MojoExecutionException(Throwable)
This closes #474
2021-09-24 21:18:12 +02:00
George Gastaldi
ab54d17dc2 [MNG-7253] Display relocation message defined in model
Move logging to DefaultArtifactDescriptorReader

This closes #544
2021-09-18 20:54:05 +02:00
Michael Osipov
8c66edc041 [MNG-7254] Expand Windows native libraries for Jansi due to JDK-8195129 (workaround)
This closes #542
2021-09-16 18:10:47 +02:00
Michael Osipov
d1aa1e1f0a [MNG-7252] Fix warnings issued by dependency:analyze
This closes #541
2021-09-16 11:54:33 +02:00
Romain Manni-Bucau
93f9e85955 [MNG-7045] Drop CDI API from Maven
This closes #540
2021-09-15 16:40:00 +02:00
Guillaume Nodet
98a9d089bd [MNG-7236] The DefaultPluginVersionResolver should cache results for the session 2021-09-14 20:09:40 +02:00