Guillaume Nodet
30dc81227b
Renaming of `ArtifactCoordinate.getVersion()` + documentation ( #1662 )
...
* Rename ArtifactCoordinate.getVersion() as getVersionConstraint().
* Introduce DownloadedArtifact, DownloadedDependency and ProducedArtifact.
* Rename coordinate -> coordinates.
* Add documentation on Artifact, ArtifactCoordinates, Dependency and DependencyCoordinates and other classes.
* Remove `LATEST` and `SNAPSHOT` from documentation since they are deprecated.
* Opportunistic addition of some missing `@Override` annotations.
---------
Co-authored-by: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
2024-08-27 23:13:34 +02:00
Guillaume Nodet
df94ee0d2c
Remove hardcoded references to woodstox stax implementation
2024-06-14 00:26:16 +02:00
Guillaume Nodet
b852f74084
[MNG-8134] Add a @Resolution annotation to mojos to inject project dependencies collection / resolution result
2024-06-11 09:23:04 +02:00
Guillaume Nodet
7161cfa189
[MNG-8153] Add back missing classes from the v3 api ( #1577 )
2024-06-10 21:51:46 +02:00
Hervé Boutemy
41d1950a6d
[MNG-8084] add di & api-impl
...
drop model-transform deleted in MNG-7877
2024-04-24 18:01:00 +02:00
Hervé Boutemy
fba2542aa2
[MNG-4840] fix requiredMavenVersion description #1445
2024-04-14 18:14:22 +01:00
Guillaume Nodet
003a5bc06d
[MNG-8084] Make the v4 api usable outside the Maven runtime ( #1441 )
2024-03-25 11:50:01 +01:00
Hervé Boutemy
740dae43ca
[MNG-4840] document requiredMavenVersion in plugin descriptor
2024-03-16 18:29:28 +01:00
huazhongming
83949a7384
Use isEmpty instead of length ( #1420 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-28 15:40:37 +08:00
Hervé Boutemy
54c1b2f28a
[MNG-8029] improve documentation about mirror settings
2024-02-17 19:40:11 +01:00
Guillaume Nodet
bd849b54ad
Dependency collection / resolution API ( #1333 )
2023-12-08 09:42:44 +01:00
Guillaume Nodet
23bca281fc
[MNG-7947] Plugin API ( #1309 )
...
* Add an InternalSession interface to avoid casting to the implementation in various places
* Upgrade to Guice 6.0.0 and add support for jakarta.inject annotations
* Maven 4 Plugin API
2023-12-05 09:11:33 +01:00
Guillaume Nodet
518b988a09
Remove reference to plexus XmlStreamReader ( #1308 )
2023-11-17 16:51:47 +01:00
Guillaume Nodet
34b0591f03
[MNG-7820] Remove dependency on plexus-utils StringUtils / FileUtils ( #1243 )
...
Co-authored-by: crazyhzm <crazyhzm@apache.org>
2023-09-14 13:48:15 +02:00
Guillaume Nodet
0b3246381d
Remove useless @author tags ( #1226 )
...
This information is usually more accurately given by the GIT history
2023-09-06 10:39:32 +02:00
Guillaume Nodet
e39142b77a
[MNG-7830] Switch from plexus-xml to stax / woodstox ( #1185 )
2023-06-29 12:03:50 +02:00
Hervé Boutemy
6ee2c5c442
[MNG-5987] document goals execution order
...
fixes #1145
2023-06-14 07:48:39 +02:00
Guillaume Nodet
e08c95a673
[MNG-7655] Switch to plexus-utils / plexus-xml 4 ( #1093 )
2023-06-04 21:03:41 +02:00
Guillaume Nodet
84e133df7c
[MNG-7585] Remove duplicate classes ( #1135 )
2023-06-02 13:58:35 +02:00
Karl Heinz Marbaise
c49c4e0b18
[MNG-7451] - Remove public modifier from test methods / test classes
2023-04-15 19:24:20 +02:00
Guillaume Nodet
9d851eea68
[MNG-7678] Settings (v3) and Settings.Builder() cannot unset a non-null field ( #983 )
2023-03-13 19:35:35 +01:00
Andrey Bruykhov
6e25a2674b
[MNG-7686] Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns
...
This closes #984
2023-02-07 21:55:12 +01:00
Hervé Boutemy
74548dde8e
[MNG-7664] consolidate Velocity templates used to generate code from models ( #949 )
2023-01-20 00:38:51 +01:00
Hervé Boutemy
a7399a4d52
[MNG-7652] switch to Modello Velocity ( #944 )
2023-01-03 22:08:35 +01:00
Guillaume Nodet
a00a44f75b
[MNG-7660] Rename Dom to XmlNode in the v4 api ( #946 )
...
* Rename Dom to XmlNode and Xpp3Dom to XmlNodeImpl
* Use XmlNodeBuilder instead of DomBuilder
2023-01-03 16:52:23 +01:00
Hervé Boutemy
fbdf109b34
[MNG-7571] add Maven API javadoc ( #830 )
2022-12-31 17:32:07 +01:00
Guillaume Nodet
8150c62749
[MNG-7650] Reformat
2022-12-26 16:12:32 +01:00
Konrad Windszus
3d0939662a
[MNG-7611] Change semantics of plugin descriptor's "requiredJavaVersion" ( #888 )
...
Always assume version constraint (the same as in requiredMavenVersion)
2022-12-01 21:54:09 +01:00
Guillaume Nodet
de19cfcd2b
[MNG-7601] Reformat sources
2022-11-22 14:26:01 +01:00
Konrad Windszus
1ada7a5902
[MNG-7569] Fix Plugin Model: Add new v4Api element ( #842 )
...
Improve descriptions, add anchors
[MNG-7575] Remove deprecated requiresReports
Relax validation of "configuration" by marking it as "DOM"
2022-10-30 08:45:03 +01:00
Michael Osipov
9c60138915
[MNG-7556] Clean up notion between user properties and system properties
...
This closes #810
2022-10-29 20:44:15 +02:00
Konrad Windszus
daa8e16902
[MNG-7570] Plugin descriptor can carry the required Maven version ( #832 )
...
Its value takes precedence over POMs Maven prerequisite
2022-10-19 08:15:28 +02:00
Konrad Windszus
d857c3a915
[MNG-7566] Allow a Maven plugin to require a Java version ( #827 )
2022-10-18 11:45:54 +02:00
Guillaume Nodet
2b6977a85f
Fix site generation ( #828 )
2022-10-14 21:52:26 +02:00
Guillaume Nodet
49d1ec1668
Restore the serializable aspect of the Model
2022-10-14 10:23:18 +02:00
Guillaume Nodet
2a9f39336c
[MNG-7553] New clean API with immutable model ( #703 )
2022-10-02 10:41:25 +02:00
Slawomir Jaranowski
47e2d689d6
[MNG-7463] Improve documentation about deprecation in Mojo
2022-09-14 23:54:40 +02:00
Marc Wrobel
5ce5591ae3
Fix minor typos
...
Fix various minor typos in :
- project documentations,
- javadoc and comments,
- test files.
2022-07-18 19:22:19 +02: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
Arturo Bernal
0080e84588
[MNG-7297] Remove redundant type arguments ( #581 )
2021-10-11 20:58:38 +02:00
Arturo Bernal
4daa48e0f6
[MNG-7287] Simplify assertion with simpler and equivalent calls
...
Closes #576
2021-10-10 22:34:07 +02:00
Arturo Bernal
b9fb762215
[MNG-7292] Unnecessarily escaped character
...
Closes #573
2021-10-10 12:18:15 +02:00
Tamas Cservenak
c3962c1a6c
[MNG-7278] Clean up core logging ( #562 )
...
We had all kind of Loggers in Core, some Plexus
injected, some acquired using SLF4J LoggerFactory,
some static, some final, etc.
This PR aligns all those uses to SLF4J finals.
Notices:
* maven-core does NOT use Plexus Logger anymore
* did not touch maven-compat
2021-10-02 20:33:55 +02:00
Gary Gregory
ad2e084ba8
[MNG-7164] Add constructor MojoExecutionException(Throwable)
...
This closes #474
2021-09-24 21:05:08 +02:00
Guillaume Nodet
bb916d0784
[MNG-7035] Migrate unit tests to Unit 5
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-01-15 15:07:06 +01:00
Michael Osipov
31ad2ff43a
Use system line separator wherever possible
...
This closes #424
2021-01-01 12:55:01 +01:00
Michael Osipov
87670ddc08
[MNG-6931] Deprecate custom logging approach
...
This closes #385
2020-10-18 22:44:29 +02:00
Lewinski, Arne
9f070e7dc1
[MNG-6866] extract methods, apply SLA, introduce mass mojo adding
2020-03-29 19:45:23 +02:00
Karl Heinz Marbaise
78ad10d12a
[MNG-6807] - Remove LifecycleXpp3ReaderTest
2019-12-15 05:24:07 +01:00
Sylwester Lachiewicz
78f605e377
[MNG-6515] Fix Javadoc build errors
2018-11-12 17:23:56 +01:00