Commit Graph

10939 Commits

Author SHA1 Message Date
Tamas Cservenak d7e655348a
[MNG-7676] Fix checksum plugin configuration (#977)
* [MNG-7676] Fix checksum plugin configuration

Wrong goal is being used that does not honor classifiers. Also,
have to reshuffle the config, move it inside execution otherwise
ASF parent pom execution is NOT overridden.

---

https://issues.apache.org/jira/browse/MNG-7676
2023-01-31 13:19:23 +01:00
Tamas Cservenak ad29c3c548 [maven-release-plugin] prepare for next development iteration 2023-01-31 10:58:16 +01:00
Tamas Cservenak 9b58d2bad2 [maven-release-plugin] prepare release maven-3.9.0 2023-01-31 10:57:57 +01:00
Tamas Cservenak 87f4044eda Update git-blame-ignore-revs 2023-01-31 10:23:27 +01:00
Tamas Cservenak e9d570889f Reformat 2023-01-31 10:22:08 +01:00
Tamas Cservenak 1a600c7fd1 [MNG-7675] Update Parent to 39 and reformat
Changes:
* updates parent to 39
* reformat of sources (no code change)
* updates .git-blame-ignore-revs

---

https://issues.apache.org/jira/browse/MNG-7675
2023-01-31 10:22:08 +01:00
Tamas Cservenak a5d0ca4f1d
Fix site plugin warning (#973)
As date format in these two files were not parsed.
2023-01-30 16:20:46 +01:00
Guillaume Nodet 48cac1c003
[MNG-7672] Fork should only execute the project and its submodules (#969) 2023-01-30 15:08:26 +01:00
Tamas Cservenak 8fa5545b0d
Get rid of surefire watning, take 2 (#967)
The commit 36f02c9de1 is wrong,
as new config property is a Map.
2023-01-25 15:22:16 +01:00
Tamas Cservenak 36f02c9de1
Get rid of surefire warning (#965)
As POM uses deprecated configuration.
2023-01-25 14:55:57 +01:00
Tamas Cservenak f7ca0b697a
[MNG-7608] Make native transport the default (#961)
This immediately cuts in "half" the count of HTTP requests against Maven Central or any major MRM.

Altering the meaning of "default": is now same as "auto", but still leaving it in place for future, as "default" at some point may again become something different than "native".

---

https://issues.apache.org/jira/browse/MNG-7608
2023-01-17 10:08:18 +01:00
Tamas Cservenak 51354e6a7d
[maven-3.9.x] [MNG-7666] Update default binding and lifecycle plugin versions (#955)
Finally use 3.x plugins for all.

---

https://issues.apache.org/jira/browse/MNG-7666
2023-01-16 14:31:09 +01:00
Tamas Cservenak f7149c2356
[MNG-7668] Update Resolver to 1.9.4 (#958)
Update Maven Resolver to 1.9.4

---

https://issues.apache.org/jira/browse/MNG-7668
2023-01-16 14:29:32 +01:00
Slawomir Jaranowski b5575f5c82
Jenkinsfile: pickup results from ITs - 3.9.x (#952) 2023-01-11 22:53:03 +01:00
Michael Osipov 4e8773bc44 [MNG-7658] CI-friendly versions should only come from/rely on user properties
This closes #945
2023-01-01 21:10:52 +01:00
Michael Osipov a3f88234d4 Add TODO about property source of maven.repo.local 2023-01-01 20:01:37 +01:00
Pavel Horal 86d6e2aeff [MNG-7648] Fix locationTracking in DefaultModelBuildingRequest copy constructor (#940)
- Fix locationTracking in DefaultModelBuildingRequest copy constructor
- Add location tracking unit test
2023-01-01 13:41:09 +01:00
Michael Osipov e246d6ab77 Update DOAP with Maven 3.8.7 release 2022-12-30 23:15:52 +01:00
Michael Osipov 074879ff28 [MNG-7651] Simplify and document merge of maven.config file and CLI args
This closes #939
2022-12-29 21:30:04 +01:00
Michael Osipov 331c5c3435 [MNG-7131] maven.config doesn't handle arguments with spaces in them
Since we don't have a clear specification of the file format change
reading of the file to a one-arg-per-line basis just like Java's
@argfiles or Python's argparse would handle it.
Consider that jvm.config suffers from the same issue its parsing is not
portable between Bourne shell and Windows Command prompt.
2022-12-26 21:00:34 +01:00
Tamas Cservenak a23ff0f9a2
[MNG-7618][MNG-7624] Backport to Maven 3.9.x (#937)
These changes are making IT suite to fail with maven-3.9.x.

OTOH, the change is nearly trivial, while value is high, so let's
backport them.

---

https://issues.apache.org/jira/browse/MNG-7618
https://issues.apache.org/jira/browse/MNG-7624
2022-12-26 20:01:32 +01:00
Michael Osipov cd64c54a88 Fix test Javadoc issue 2022-12-24 21:39:01 +01:00
Michael Osipov 88ec1d2383 [MNG-7352] org.apache.maven.toolchain.java.JavaToolchainImpl should be public
This closes #934
2022-12-24 19:57:42 +01:00
Michael Osipov 353eea33c1 [MNG-7641] Upgrade Maven Wagon to 3.5.3 2022-12-23 08:51:07 +01:00
Swell 6de6877c2f [MNG-7644] Fix version comparison where .X1 < -X2 for any string qualifier X
This closes #931
2022-12-21 23:34:11 +01:00
Michael Osipov ffb5428c48 Update bundled license for SLF4J 2022-12-20 11:19:17 +01:00
Michael Osipov 2dbee43408 [MNG-7634] Revert MNG-5982 and MNG-7417
This closes #917
2022-12-20 09:11:58 +01:00
Piotrek Żygieło 4adaf2abca Implement some #toString() methods
* Implement Developer#toString()
* Implement IssueManagement#toString()
* Implement License#toString()
* Implement Build#toString()
* Implement Organization#toString()
* Implement MailingList#toString()
* Implement Scm#toString()

This closes #923
2022-12-18 17:52:36 +01:00
Simon a6b8a9e9fb [MNG-7578] Fallback on Linux executable in Windows for findTool utility (#861)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-18 17:17:34 +01:00
Michael Osipov 46c84876d7 Directories, not folders 2022-12-18 16:37:08 +01:00
Michael Osipov a1d43778ef [MNG-7636] Partially revert MNG-5868 to restore backward compatibility (see MNG-7316)
Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>

This closes #919
2022-12-18 13:27:16 +01:00
Christoph Läubrich 4db9b94baf [MNG-7637] Possible NPE in MavenProject#hashCode()
This closes #921
2022-12-18 12:13:07 +01:00
Michael Osipov 3492f3ae99 [MNG-7621] Parameter '-f' causes ignoring any 'maven.config' (only on Windows)
This closes #905
2022-12-16 22:38:20 +01:00
Olivier Lamy 3d9e39c724
fix path 2022-12-16 09:21:51 +10:00
Olivier Lamy 280b8d3ec5
fix unstash name 2022-12-16 09:01:21 +10:00
Olivier Lamy f0d4b907b8
fix stash 2022-12-16 08:24:01 +10:00
Olivier Lamy c1deb6233a fix pom
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 09:16:06 +10:00
Olivier Lamy 13cf1aa119 fix path
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 09:13:46 +10:00
Olivier Lamy b4476a300f fix path
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 09:09:28 +10:00
Olivier Lamy c0c752baef simplify build and get rid of withMaven (#908)
* simplify build
2022-12-13 09:03:31 +10:00
Tamas Cservenak 69c5a5dbdb
[MNG-7619] Reverse Dependency Tree (#900)
Adds Maven feature that is able to explain why an artifact is present in local repository.

Usable for diagnosing resolution issues.

In local repository, for each artifact it records `.tracking` folder, containing farthest artifact that got to this artifact, and the list of graph nodes that lead to it.

Note: this is based on by @grgrzybek proposal and reuses some code he provided. See https://github.com/apache/maven-resolver/pull/182

---

https://issues.apache.org/jira/browse/MNG-7619
2022-12-05 16:19:20 +01:00
Tamas Cservenak 2dc7a356d3 [MNG-7612] Chained LRM
Adds new feature: Chained Local Repository Manager.

---

https://issues.apache.org/jira/browse/MNG-7612
2022-12-02 17:57:47 +01:00
Tamas Cservenak 573a3e1ec5
[MNG-7614] Translate Plexus XML to proper resolver configuration (#895)
Now that Maven 3.9.x contains other transports than Wagon, the Plexus XML is not just to be "stuffed", but translation should happen to proper resolver configuration to make them available to all transports.

---

https://issues.apache.org/jira/browse/MNG-7614
2022-12-02 16:12:01 +01:00
Slawomir Jaranowski 9127a01917
[MNG-7613] Parent POM 38 - add .git-blame-ignore-revs 2022-12-02 13:01:22 +01:00
Slawomir Jaranowski 693814f0a5 [MNG-7613] Parent POM 38 - code reformat 2022-12-02 12:54:12 +01:00
Slawomir Jaranowski abc55589da [MNG-7613] Upgrade Apache Maven parent POM to version 38 2022-12-02 12:54:12 +01:00
Tamas Cservenak 4c95a50332
[MNG-6609] Profile activation based on packaging (#883)
In short: do NOT set request.setRawModel as NOTHING sets it. The Maven4 vs Maven3 is different, in Maven 3 NOTHING calls request.setRawModel

Full explanation: as ModelBuildingRequest is REUSED, and nothing sets this value in Maven3, once you set it here (as in original PR https://github.com/apache/maven/pull/849 ) results in awkward situation in Maven3: it will not load any other model...

---

https://issues.apache.org/jira/browse/MNG-6609
2022-12-01 12:51:18 +01:00
Tamas Cservenak 36ff9a65e6 Revert "[MNG-6609] Maven 3.9: profile activation by packaging (#849)"
This reverts commit e921f1564e.
2022-11-28 09:06:29 +01:00
Konrad Windszus e921f1564e
[MNG-6609] Maven 3.9: profile activation by packaging (#849)
Generate raw model before profile activation context is generated
2022-11-27 16:49:43 +01:00
Konrad Windszus eb66f225db
[MNG-7561] never resolve version ranges with same lower and upper bound (#864)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-11-27 11:36:17 +01:00