Guillaume Nodet
003a5bc06d
[MNG-8084] Make the v4 api usable outside the Maven runtime ( #1441 )
2024-03-25 11:50:01 +01:00
Guillaume Nodet
52d453caf9
Complete Packaging in v4 api ( #1451 )
2024-03-25 10:56:37 +01:00
Hervé Boutemy
6e508869f0
configure javadoc groups
2024-03-24 22:16:47 +01:00
Hervé Boutemy
c710760fb9
[MNG-8085] switch png+imagemap to svg
2024-03-24 19:29:19 +01:00
carrychair
267de063ee
remove repetitive words ( #1436 )
...
Signed-off-by: carrychair <linghuchong404@gmail.com>
2024-03-18 00:24:53 +00:00
dependabot[bot]
a0206ec32f
Bump ognl:ognl from 2.5.1 to 3.0.12 in /maven-compat/src/test/resources ( #1439 )
...
Bumps [ognl:ognl](https://github.com/jkuhnert/ognl ) from 2.5.1 to 3.0.12.
- [Release notes](https://github.com/jkuhnert/ognl/releases )
- [Commits](https://github.com/jkuhnert/ognl/commits )
---
updated-dependencies:
- dependency-name: ognl:ognl
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 00:24:19 +00:00
Hervé Boutemy
740dae43ca
[MNG-4840] document requiredMavenVersion in plugin descriptor
2024-03-16 18:29:28 +01:00
Slawomir Jaranowski
1fc87b8d0d
[MNG-8075] Allow project.baseUri in repository.url
2024-03-15 19:09:08 +01:00
Tamas Cservenak
33788fd7fc
[maven-release-plugin] prepare for next development iteration
2024-03-06 20:57:04 +01:00
Tamas Cservenak
0a6a5617fe
[maven-release-plugin] prepare release maven-4.0.0-alpha-13
2024-03-06 20:56:36 +01:00
Benjamin Marwell
2bfa3a8fae
[MNG-8061] Maven: Require Java 17 ( #1430 )
2024-03-03 22:28:30 +01:00
Tamas Cservenak
5029cc238c
[MNG-8012] Warn if in-reactor BOM import happens ( #1434 )
...
This should be in fact prevented IMHO. Also, model builder missed File uses are corrected.
---
https://issues.apache.org/jira/browse/MNG-8012
2024-03-01 18:27:21 +01:00
Guillaume Nodet
9780ca1baf
[MNG-8015] Control the type of path where each dependency can be placed ( #1401 )
...
Co-authored-by: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
2024-03-01 18:18:13 +01:00
Guillaume Nodet
a27873629f
[MNG-8024] Make WrapperProperties and WrapperList serializable ( #1433 )
2024-03-01 17:30:18 +01:00
Guillaume Nodet
a3e8da805c
Make LifecycleStarter pluggable ( #1424 )
2024-02-29 00:56:36 +01:00
Guillaume Nodet
456890d40b
Missing annotations on api ( #1428 )
2024-02-29 00:54:53 +01:00
Guillaume Nodet
24eee1f8e6
Add a SpiService marker interface ( #1427 )
2024-02-29 00:32:09 +01:00
Guillaume Nodet
a9934f91fd
Extract JLine support into its own module ( #1426 )
2024-02-29 00:31:59 +01:00
Guillaume Nodet
ce15193394
Fix concurrent cache access ( #1425 )
2024-02-29 00:31:49 +01:00
Guillaume Nodet
5307bcba09
Use SessionData to store ProjectIndex ( #1423 )
2024-02-29 00:31:09 +01:00
Guillaume Nodet
3c2f8ebdb7
Use v4 api to resolve project dependencies ( #1409 )
2024-02-29 00:30:57 +01:00
Konrad Windszus
cf60940497
[MNG-5726] Support regular expression matching in profile activation for ( #1421 )
...
OS version
This requires using the reserved prefix "regex:" in the version element.
2024-02-28 19:04:58 +01:00
huazhongming
ab6ec5bd74
[MNG-7976] Investigate MNG-6127 IT instability ( #1422 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-28 15:46:36 +08:00
huazhongming
83949a7384
Use isEmpty instead of length ( #1420 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-28 15:40:37 +08:00
Tamas Cservenak
cf438ca624
[MNG-8059] Paths everywhere ( #1413 )
...
Make execution flow never invoke path.toFile, at least what model-builder and maven-resolver-provider matters. Using new methods from Resolver 2 alpha8 and also adding in relevant maven bits, as half of the work was already done.
---
https://issues.apache.org/jira/browse/MNG-8059
2024-02-26 18:04:44 +01:00
Guillaume Nodet
a31c145ae9
[MNG-8006] Switch property contributors to use a lazy lookup ( #1419 )
2024-02-20 16:38:09 +01:00
Guillaume Nodet
ff5fa9e4e5
[MNG-8057] Upgrade Modello to 2.3.0 ( #1418 )
2024-02-18 22:33:41 +01:00
Guillaume Nodet
969a6ffbb2
Move API first (as needed by other modules)
2024-02-18 21:14:00 +01:00
Hervé Boutemy
54c1b2f28a
[MNG-8029] improve documentation about mirror settings
2024-02-17 19:40:11 +01:00
Tamas Cservenak
7b60c8d7dc
[MNG-8054] Ability to force build number ( #1414 )
...
For snapshot deploys
---
https://issues.apache.org/jira/browse/MNG-8054
2024-02-16 12:43:34 +01:00
Slawomir Jaranowski
972b074656
[MNG-8039] Don't change resolved artifact by DefaultProjectBuilder
2024-02-15 23:17:05 +01:00
Guillaume Nodet
0c529f830a
[MNG-8053] Profile activation by packaging in the POM ( #1410 )
2024-02-15 09:42:00 +01:00
huazhongming
70509586f8
[MNG-8046] Upgrade github action version from v3 to v4 ( #1405 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-10 21:59:51 +08:00
Guillaume Nodet
fc9a7d8da3
Add missing @Override annotations
2024-02-09 20:20:54 +01:00
Guillaume Nodet
fd825f9b20
ArtifactManager should check for non null artifact early
2024-02-09 18:13:55 +01:00
Guillaume Nodet
07b256ae03
Use role hint when loading a v4 mojo
2024-02-09 18:13:55 +01:00
Guillaume Nodet
ef4b5737a2
[API] Use ProjectScope for accessing compile source roots and resources
...
# Conflicts:
# api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
2024-02-09 18:13:31 +01:00
Guillaume Nodet
3f271b8f1b
[API] Add a PluginXmlFactory
2024-02-09 18:13:31 +01:00
Guillaume Nodet
05fcfd4591
[DI] Fix constructor bindings, move discovery inside Injector, remove annotation processor
2024-02-09 18:13:31 +01:00
Slawomir Jaranowski
c2ec76c6a7
[MNG-8045] Use DependencyGraphDumper instead of own implementation
2024-02-08 20:13:50 +01:00
Guillaume Nodet
c88afd470f
Clean mdo schemas ( #1365 )
...
* fix namespace location
* remove unneeded CDATA
* code formatting
* use {@code xxx}
* generate location tracking classes
* add location tracking to toolchain model
* Fix javadoc
2024-02-07 22:28:01 +01:00
Guillaume Nodet
c813320848
Remove empty dependency scope from the api ( #1402 )
2024-02-07 14:37:36 +01:00
Tamas Cservenak
76794c0237
[MNG-8043] Dependency properties should be provided by Maven ( #1399 )
...
Followup of MRESOLVER-484:
* move off deprecated resolver bits
* introduce non-deprecated replacements
* move existing to code to those new bits
---
https://issues.apache.org/jira/browse/MNG-8043
2024-02-07 10:51:56 +01:00
Guillaume Nodet
a37cf3d37f
[MNG-7954] New dependency injection mechanism ( #1393 )
2024-02-05 10:45:47 +01:00
Tamas Cservenak
3f9fec2307
[MNG-8026] Maven drives regarding scopes ( #1391 )
...
Changes:
* new types for build path, path scope, dependency scope, language
* introduce "extensible enum" and provides registries, SPI providers, etc...
---------
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-02-05 10:42:51 +01:00
huazhongming
b3ec995848
[MNG-8013] Integration testing process logs can be output github artifact ( #1375 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-05 11:02:11 +08:00
Tamas Cservenak
42559937d8
[MNG-7854] Warn if imported dep is ignored ( #1370 )
...
The artificial (or "bolted on") scope "import" behaves wildly differently that rest of Maven, causes surprise to our users. For start, we should emit "actionable" warnings about these, ultimate goal is to align this behaviour with "maven way" of working ("closest occurence wins" vs current weird "direct occurrence then first occurence wins" strategy).
Warnings are only created when the dependency is not directly managed. The warning also suggests to add a direct managed dependency to get rid of it, so it's now helpful and actionnable.
---
https://issues.apache.org/jira/browse/MNG-7854
2024-02-01 17:25:04 +01:00
Guillaume Nodet
16fc54da7f
[MNG-8037] Restrict project to the entity being built and make it immutable ( #1389 )
...
* Make POM and basedir required on the project
* Remove the API to build projects from artifact coordinate
2024-01-31 00:39:19 +01:00
Guillaume Nodet
0a1117854c
[MNG-8036] [MNG-8017] [MNG-8022] Upgrade JLine to 3.25.1 ( #1390 )
2024-01-29 16:51:24 +01:00
Tamas Cservenak
2452a6488a
[MNG-8035] Update to Resolver 2.0.0-alpha-7 ( #1394 )
...
Update to Resolver 2.0.0-alpha-7, sort out TODO.
This is also one simple change "sneaked in" for RAT, to ignore local `.mvn` that is unrelated to all this, but does not make any harm. In turn, it allows dev local checkout to have various stuff set without
decorating those with headers or fighing RAT plugin.
---
https://issues.apache.org/jira/browse/MNG-8035
2024-01-29 16:27:43 +01:00