Guillaume Nodet
625b4561f0
[MNG-8232] Introduce ModelTransformer ( #1702 )
2024-09-12 08:15:53 +02:00
Guillaume Nodet
bcd5d9c9f9
DI improvements ( #1717 )
...
* Code cleanup
* Provide build path with causes when an exception occur
* Fix toString to display meaningful info
* Javadoc
* Add @NonNull and @Overrides annotations
* Support for @Nullable on fields and parameters
2024-09-12 08:14:46 +02:00
Guillaume Nodet
36de1c6e51
[MNG-8237] Option deprecation notices cleanup ( #1713 )
2024-09-12 06:39:22 +02:00
Guillaume Nodet
237eeba760
[MNG-8252] Fully infer the parent coordinates if the location points to a valid model ( #1706 ) ( #1721 )
2024-09-12 06:37:14 +02:00
Guillaume Nodet
f137c13877
[MNG-8190] Restrict build pom feature to 4.1.0 model version ( #1707 )
2024-09-11 18:31:06 +02:00
Guillaume Nodet
e6d038ac07
[MNG-8252] Fully infer the parent coordinates if the location points to a valid model ( #1706 )
2024-09-11 18:30:15 +02:00
Guillaume Nodet
e0b01fb5a4
[MNG-8210] Fix broken inference of version when using -f option ( #1720 )
2024-09-11 16:57:21 +02:00
Guillaume Nodet
bb99857f34
Enhance DiIndexProcessor
...
Sort and *update* the file (in case of a partial build)
2024-09-10 22:18:44 +02:00
Guillaume Nodet
0c7e73335d
Fix broken circular references detection
2024-09-10 21:22:47 +02:00
Guillaume Nodet
8a61f7d20a
[MNG-8249] Provide an annotation processor for DI ( #1704 )
2024-09-10 19:18:47 +02:00
dependabot[bot]
96b12394bf
Bump org.codehaus.mojo:buildnumber-maven-plugin from 3.2.0 to 3.2.1 ( #1698 )
...
Bumps [org.codehaus.mojo:buildnumber-maven-plugin](https://github.com/mojohaus/buildnumber-maven-plugin ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/mojohaus/buildnumber-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/buildnumber-maven-plugin/compare/3.2.0...3.2.1 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:buildnumber-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 11:10:52 +02:00
dependabot[bot]
2d0e307318
Bump net.bytebuddy:byte-buddy from 1.15.0 to 1.15.1 ( #1692 )
...
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy ) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.15.0...byte-buddy-1.15.1 )
---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 11:10:11 +02:00
dependabot[bot]
7d3a8f260f
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 ( #1691 )
...
Bumps org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 11:09:20 +02:00
dependabot[bot]
f67402a0b1
[MNG-8255] Bump ch.qos.logback:logback-classic from 1.5.7 to 1.5.8 ( #1709 )
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.5.7 to 1.5.8.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.7...v_1.5.8 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 08:36:27 +02:00
Konrad Windszus
c166bd1382
Disable automated JIRA comments from GitHub
...
This has been discussed in
https://lists.apache.org/thread/h6z2prghwk69vjfflgvpcs25dry4sggy
2024-08-31 00:33:15 +02:00
Tamas Cservenak
a98d530e33
[maven-release-plugin] prepare for next development iteration
2024-08-30 14:59:00 +02:00
Tamas Cservenak
697c543b4e
[maven-release-plugin] prepare release maven-4.0.0-beta-4
2024-08-30 14:58:34 +02:00
Guillaume Nodet
0c311e3da1
[MNG-8090] Fix missing repositories during parent artifact resolution
2024-08-30 11:17:17 +02:00
Guillaume Nodet
cdaf86cfe9
[MNG-8229] Fix interpolation of CI friendly versions
2024-08-30 11:17:17 +02:00
Guillaume Nodet
c0813a2b53
[MNG-7838] Fix usage of older packaged artifacts from project local repository ( #1199 )
2024-08-29 22:34:39 +02:00
Guillaume Nodet
b370e5e929
[MNG-8210] Replace Maven "module" term by "subproject" ( #1651 )
...
Co-authored-by: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
2024-08-29 20:21:40 +02:00
Guillaume Nodet
e11b475e8b
[MNG-8052] Concurrently lifecycle executor ( #1429 )
2024-08-29 19:44:53 +02:00
Guillaume Nodet
c948b26484
[MNG-8218] Always normalize Path in PathSource ( #1684 )
2024-08-29 19:44:16 +02:00
Konrad Windszus
3f430bbd07
[MNG-8228] Enable Sisu Plexus strict classpath scanning ( #1688 )
...
This was introduced with
https://github.com/eclipse-sisu/sisu.plexus/issues/51 .
This leads to exceptions in case of issues with loading potential
extensions/plexus components instead of logging just with DEBUG level.
2024-08-29 19:42:56 +02:00
Guillaume Nodet
57082737d8
[MNG-7897] Support ${project.rootDirectory} in file profile activation ( #1687 )
...
* [MNG-7897] Support ${project.rootDirectory} in file profile activation
* Add a test with the short ${basedir} expression
2024-08-29 17:33:49 +02:00
Guillaume Nodet
40fe1dc167
[MNG-8220] Fix loading DI-powered beans from extensions ( #1683 )
2024-08-29 17:32:53 +02:00
Guillaume Nodet
acec540547
[MNG-8052] New lifecycle for Maven 4 ( #1448 )
2024-08-29 06:48:54 +01:00
dependabot[bot]
9bc5cc88b4
Bump mockitoVersion from 5.12.0 to 5.13.0 ( #1685 )
...
Bumps `mockitoVersion` from 5.12.0 to 5.13.0.
Updates `org.mockito:mockito-bom` from 5.12.0 to 5.13.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.12.0...v5.13.0 )
Updates `org.mockito:mockito-junit-jupiter` from 5.12.0 to 5.13.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.12.0...v5.13.0 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-bom
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-junit-jupiter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 12:48:49 +01:00
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
6a5580fd73
[MNG-7914] Add doc for the new maven.properties file ( #1674 )
2024-08-27 23:11:04 +02:00
Konrad Windszus
7306c41b49
[MNG-8214] Improve model velocity template to support subclasses ( #1660 )
...
Make the constructors protected and take the Builder as argument
2024-08-27 09:05:43 +02:00
Guillaume Nodet
fe3806c41b
[MNG-8181] Fix badly placed deprecation
2024-08-26 18:36:22 +02:00
Guillaume Nodet
78887f1b7e
[MNG-8181] Provide a variable for maven central repo url, backed by an environment variable ( #1615 )
2024-08-26 18:21:28 +02:00
Guillaume Nodet
9bfaf54e90
Document that V4 mojo are supposed to be threadsafe ( #1675 )
2024-08-26 15:14:03 +02:00
dependabot[bot]
6e6c262192
Bump net.bytebuddy:byte-buddy from 1.14.19 to 1.15.0 ( #1681 )
...
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy ) from 1.14.19 to 1.15.0.
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.19...byte-buddy-1.15.0 )
---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 09:15:49 +02:00
dependabot[bot]
a5c8bf60e6
Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre ( #1663 )
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.2.1-jre to 33.3.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 11:44:49 +02:00
dependabot[bot]
661fa27fbe
Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.1 ( #1676 )
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.3.0...3.4.1 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 00:42:22 +02:00
dependabot[bot]
03049f25c9
Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 ( #1677 )
...
Bumps org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 00:42:10 +02:00
Guillaume Nodet
6ac914d6f9
[MNG-7914] Provide a single entry point for configuration ( #1595 )
...
* [MNG-7914] Provide a single entry point for configuration
* [MNG-7914] Rename global -> installation
* [MNG-7914] Include time zone in Maven build timestamp
* [MNG-7914] Use a single place to document all maven properties
2024-08-22 16:47:43 +02:00
Tamas Cservenak
6668da3219
[MNG-8211] Fail the build if project effective version has expression ( #1673 )
...
As this is almost always source of confusion. If feature is used and there is no proper value set, fail the build, as users for sure does not plan to deploy artifacts with version `${revision}` (or any expression in project.version).
Still, to not be disruptive, the old behaviour can be achieved by setting `maven.build.allowExpressionInEffectiveProjectVersion`=true project property.
---
https://issues.apache.org/jira/browse/MNG-8211
2024-08-22 12:54:24 +02:00
dependabot[bot]
20e6f6a8f7
[MNG-8219] Bump com.github.siom79.japicmp:japicmp-maven-plugin ( #1664 )
...
Bumps [com.github.siom79.japicmp:japicmp-maven-plugin](https://github.com/siom79/japicmp ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/siom79/japicmp/releases )
- [Changelog](https://github.com/siom79/japicmp/blob/master/release.py )
- [Commits](https://github.com/siom79/japicmp/compare/japicmp-base-0.22.0...japicmp-base-0.23.0 )
---
updated-dependencies:
- dependency-name: com.github.siom79.japicmp:japicmp-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
https://issues.apache.org/jira/browse/MNG-8219
2024-08-21 15:23:30 +02:00
Tamas Cservenak
b9ca308a91
Add mvn3 to dependabot as well
2024-08-21 11:07:48 +02:00
Hervé Boutemy
13c12611ea
use new Reproducible Central badge endpoint
2024-08-19 01:17:25 +02:00
Tamas Cservenak
b393aa0f00
Update doap w/ 3.9.x
2024-08-17 23:19:36 +02:00
Guillaume Nodet
7e550efae0
[MNG-8215] Add location tracking for toolchains ( #1608 )
2024-08-16 23:04:46 +02:00
Guillaume Nodet
40e41153c2
[MNG-8172] Fix site building ( #1594 )
2024-08-16 23:03:30 +02:00
Konrad Windszus
e335f95dfd
documentation: Fix parameter description
2024-08-16 16:16:22 +02:00
Stefan Oehme
e417e45e91
[MNG-8196] Make exception messages match Maven 3 again ( #1628 )
...
* Make exception messages match Maven 3 again
The boxing of `MojoException` into a `MojoExecutionException` brought two issues:
1. It added another layer to the stacktrace, making it a bit less readable for users and breaking test expectations for Maven extension authors (this was my main motivation for this change)
2. It lost the `longMessage`, which meant that this message was no longer shown at the end of the build.
This change fixes both problems by passing through the original `MavenException` and treating this new exception type directly in `DefaultExceptionHandler` and `MojoExecutor`
* Broaden to MavenException
---------
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-08-16 11:25:16 +02:00
Martin Desruisseaux
008d0b4d5b
Add `getModuleName(Path)` and `getModuleDescription(Path)` methods in `DependencyResolverResult`. ( #1625 )
...
Those methods are helpful for plugins that need to provide `--add-reads` and similar options,
as they allow to reuse the cached values instead of decoding `module-info.class` many times.
2024-08-16 11:19:34 +02:00
dependabot[bot]
5fb37fe5a7
Bump net.bytebuddy:byte-buddy from 1.14.18 to 1.14.19 ( #1659 )
...
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy ) from 1.14.18 to 1.14.19.
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.18...byte-buddy-1.14.19 )
---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 10:38:38 +02:00