Guillaume Nodet
8d483f922b
[MNG-8152] Implement @SessionScoped and @MojoExecutionScoped from the DI API
2024-06-11 09:23:04 +02:00
Guillaume Nodet
5d139bdd12
[MNG-8151] Merge DependencyCollector into DependencyResolver
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
Tamas Cservenak
bea3e72cdb
[MNG-8141] Model Builder report issues during build ( #1569 )
...
And ArtifactDescriptorReader should not "toss away" but report WARNings (as in case of ERROR or FATAL MB throws).
Part 1: port ArtifactDescriptorReader to not lose WARNs
Part 2: make model validator report Profile ID duplications even in MIN level (as model WARNs)
---
https://issues.apache.org/jira/browse/MNG-8141
2024-06-10 13:04:53 +02:00
Guillaume Nodet
33010af039
Move modelVersion inference to model builder so that it is also effective on consumer models ( #1566 )
2024-06-07 09:31:02 +02:00
Tamas Cservenak
dd670bf9a1
[MNG-8140] Always tell why model was discarded as "invalid" ( #1555 )
...
The info is there, but we redirect user to rinse-repeat in debug mode, that that creates a TON of output.
All is there, just tell why.
---
https://issues.apache.org/jira/browse/MNG-8140
2024-06-06 21:10:58 +02:00
Tamas Cservenak
9db546ddb9
[MNG-8142] Hidden bug: JDK profile activator throw NumberFormatEx ( #1557 )
...
If property `java.version` is in unexpected format, the activator throws `NumberFormatEx`, that in turn, is caught and reported by `DefaultProfileSelector` w/o any cause.
These should be cleanly reported instead: report that `java.version` property is in "unexpected format", and also report why was there are failure to evaluate a property activation.
Note 1: Maven allows `-Djava.version` override (!!!), this is exactly what IT MNG-3746 does, but the `NumberFormatEx` went unnoticed, was swallowed, no cause reported.
Note 2: This bug was revealed by #1555 as it reported the issue, and later "asserted error free log" which was not error-free. Hence, this bug was simply revealed by improved logging on unrelated issue.
---
https://issues.apache.org/jira/browse/MNG-8142
2024-06-06 18:51:39 +02:00
Tamas Cservenak
9ce85ef4f4
[MNG-8066] Default exception handler does not handle recursion ( #1558 )
...
If there is a recursion in throwable causes, Maven will hang forever, instead to return.
---
https://issues.apache.org/jira/browse/MNG-8066
2024-06-06 12:31:03 +02:00
Michael Keppler
808884a85d
Fix typo in validation message
2024-06-06 08:13:27 +02:00
liutang123
0456c7c629
Caplital OS name can not activate profile
2024-06-05 16:16:41 +02:00
Tamas Cservenak
5e97703456
[MNG-8136] Update Eclipse Sisu to 0.9.0.M3 ( #1546 )
...
Update Eclipse Sisu to 0.9.0.M3
---
https://issues.apache.org/jira/browse/MNG-8136
2024-06-04 08:45:16 +02:00
Elliotte Rusty Harold
1af5368b23
Remove unhelpful links that don't describe failure reasons from output ( #1545 )
2024-06-03 15:15:36 -04:00
Slawomir Jaranowski
e7ca0684cc
Use Maven Wrapper to build
2024-06-03 19:58:28 +02:00
Slawomir Jaranowski
40448e758b
Allow to manually execute GitHub Action
2024-06-03 17:05:30 +02:00
Yueh Chun Wu
dd9679450e
[MNG-7902] Sort plugins in the validation report ( #1510 )
...
Co-authored-by: Yueh Chun Wu <kevinwu@YuehdeMBP.attlocal.net>
2024-05-23 14:25:04 +02:00
Guillaume Nodet
6e9889b1ad
[maven-release-plugin] prepare for next development iteration
2024-05-22 16:07:09 +02:00
Guillaume Nodet
e92f645c27
[maven-release-plugin] prepare release maven-4.0.0-beta-3
2024-05-22 16:06:59 +02:00
dependabot[bot]
1d201336a0
Bump org.codehaus.plexus:plexus-xml from 4.0.1 to 4.0.4 ( #1530 )
...
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-xml
dependency-type: direct:development
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-05-22 16:02:39 +02:00
dependabot[bot]
ff18f1cf4d
Bump com.google.guava:guava from 32.1.3-jre to 33.2.0-jre ( #1532 )
...
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 16:02:18 +02:00
dependabot[bot]
4f9029737b
Bump org.ow2.asm:asm from 9.6 to 9.7 ( #1529 )
...
updated-dependencies:
- dependency-name: org.ow2.asm:asm
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-05-22 15:59:56 +02:00
Guillaume Nodet
2942aadcc3
[MNG-8123] Fix Lifecycle in v3 ( #1524 )
2024-05-22 15:45:13 +02:00
dependabot[bot]
df7280182e
Bump slf4jVersion from 2.0.11 to 2.0.13 ( #1519 )
...
Bumps `slf4jVersion` from 2.0.11 to 2.0.13.
Updates `org.slf4j:slf4j-api` from 2.0.11 to 2.0.13
Updates `org.slf4j:slf4j-simple` from 2.0.11 to 2.0.13
Updates `org.slf4j:jcl-over-slf4j` from 2.0.11 to 2.0.13
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-simple
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.slf4j:jcl-over-slf4j
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-05-21 11:54:50 +02:00
Martin Desruisseaux
39696f2fab
[MNG-8084] Change six remaining imports of `ModelVersionParser`. ( #1527 )
...
This commit aims to complete d075fe7e85
, which moved `ModelVersionParser`
interface from the `org.apache.maven.model.version` package to `org.apache.maven.api.services.model`.
Completing this change is necessary for building `maven-plugin-tools` or `maven-plugin-testing`.
This commit deletes the old interface for making sure that there is no accidental use.
The old and new interfaces were identical except for the package names and the imports.
As a result of this change, the following implementation classes are identical except
for package names and imports:
* `maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java`
* `maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java`
2024-05-21 11:54:32 +02:00
dependabot[bot]
c87a4b57d2
Bump ch.qos.logback:logback-classic from 1.2.13 to 1.5.6 ( #1515 )
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.2.13 to 1.5.6.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.13...v_1.5.6 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
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-05-21 10:20:48 +02:00
dependabot[bot]
417a993bb0
Bump org.codehaus.mojo:build-helper-maven-plugin from 3.4.0 to 3.6.0 ( #1526 )
...
Bumps [org.codehaus.mojo:build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin ) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/3.4.0...3.6.0 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:build-helper-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-05-21 08:11:24 +02:00
dependabot[bot]
6a3b3b4dfd
Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 ( #1523 )
...
Bumps [org.codehaus.plexus:plexus-interpolation](https://github.com/codehaus-plexus/plexus-interpolation ) from 1.26 to 1.27.
- [Release notes](https://github.com/codehaus-plexus/plexus-interpolation/releases )
- [Commits](https://github.com/codehaus-plexus/plexus-interpolation/compare/plexus-interpolation-1.26...plexus-interpolation-1.27 )
---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-interpolation
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-05-21 08:10:32 +02:00
dependabot[bot]
31f667e32d
Bump org.codehaus.plexus:plexus-classworlds from 2.6.0 to 2.8.0 ( #1522 )
...
Bumps [org.codehaus.plexus:plexus-classworlds](https://github.com/codehaus-plexus/plexus-classworlds ) from 2.6.0 to 2.8.0.
- [Release notes](https://github.com/codehaus-plexus/plexus-classworlds/releases )
- [Commits](https://github.com/codehaus-plexus/plexus-classworlds/compare/plexus-classworlds-2.6.0...plexus-classworlds-2.8.0 )
---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-classworlds
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-05-21 08:10:18 +02:00
dependabot[bot]
d5e0c93d06
Bump com.github.siom79.japicmp:japicmp-maven-plugin ( #1520 )
...
Bumps [com.github.siom79.japicmp:japicmp-maven-plugin](https://github.com/siom79/japicmp ) from 0.17.2 to 0.21.2.
- [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.17.2...japicmp-base-0.21.2 )
---
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>
2024-05-21 08:09:59 +02:00
dependabot[bot]
10d059a198
Bump net.bytebuddy:byte-buddy from 1.14.9 to 1.14.15 ( #1514 )
...
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy ) from 1.14.9 to 1.14.15.
- [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.9...byte-buddy-1.14.15 )
---
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-05-21 08:09:41 +02:00
dependabot[bot]
c6ed70b625
Bump com.fasterxml.woodstox:woodstox-core from 6.5.1 to 6.6.2 ( #1518 )
...
Bumps [com.fasterxml.woodstox:woodstox-core](https://github.com/FasterXML/woodstox ) from 6.5.1 to 6.6.2.
- [Commits](https://github.com/FasterXML/woodstox/compare/woodstox-core-6.5.1...woodstox-core-6.6.2 )
---
updated-dependencies:
- dependency-name: com.fasterxml.woodstox:woodstox-core
dependency-type: direct:development
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-05-21 08:09:10 +02:00
dependabot[bot]
1dc3ab7271
Bump mockitoVersion from 5.7.0 to 5.12.0 ( #1521 )
...
Bumps `mockitoVersion` from 5.7.0 to 5.12.0.
Updates `org.mockito:mockito-bom` from 5.7.0 to 5.12.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.7.0...v5.12.0 )
Updates `org.mockito:mockito-junit-jupiter` from 5.7.0 to 5.12.0
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.7.0...v5.12.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-05-21 08:07:06 +02:00
Konrad Windszus
ac80eeabc4
[MNG-8050] emit warn in case of repo id clashes between settings and POM ( #1412 )
2024-05-18 16:09:22 +02:00
Guillaume Nodet
ac4debe8f5
Fix distribution licenses ( #1525 )
...
It's really painful to have to rename the file whenever a dependency is upgraded, so enhance support for various licenses.
2024-05-17 21:14:22 +02:00
Guillaume Nodet
de4e335216
Remove dependabot limit / schedule
2024-05-17 14:45:51 +02:00
Guillaume Nodet
fe5de5ad2b
Enable dependabot ( #1513 )
2024-05-17 14:42:46 +02:00
Guillaume Nodet
accbbcf5a0
Fix packaging not found ( #1507 )
...
* Fix packaging not found
* Always keep Projects in cache
2024-05-16 10:45:24 +02:00
Tamas Cservenak
71bb3bdf95
[MNG-8121] Fix NPE in metadata merge ( #1509 )
...
There is an NPE if existing metadata due bug of nx-staging-m-p had no prefix present.
---
https://issues.apache.org/jira/browse/MNG-8121
2024-05-15 19:32:27 +02:00
Guillaume Nodet
9acbed7d4f
[maven-release-plugin] prepare for next development iteration
2024-05-13 18:36:30 +02:00
Guillaume Nodet
828faba819
[maven-release-plugin] prepare release maven-4.0.0-beta-2
2024-05-13 18:36:20 +02:00
Guillaume Nodet
bde81a4d85
[MNG-8108] Fix problem when building the consumer pom
2024-05-13 18:34:29 +02:00
Guillaume Nodet
d296927de2
[MNG-8119] Remove build section from profiles in the consumer pom ( #1503 )
2024-05-13 14:04:39 +02:00
Guillaume Nodet
9442164ab2
[MNG-8108] Fix problem when building the consumer pom ( #1506 )
2024-05-13 13:15:23 +02:00
Martin Desruisseaux
583667a869
[MNG-8015] Adjustments in new API related to PathType ( #1501 )
...
* Javadoc cleanup and replacement of some `System.getProperty("...")` by more specific standard methods.
* Add Type.PROCESSOR, MODULAR_PROCESSOR and CLASSPATH_PROCESSOR.
* Modification of the path type API:
* Add a `warningForFilenameBasedAutomodules()` method in `DependencyResolverResult`.
* Add relationships from `JavaPathType` to `javax.tool` location API.
* Modify the `PathType.option(Iterable<? extends Path>)` return type
because the option and the value need to be two separated arguments.
* Fixes according some comments on the pull request.
2024-05-13 11:53:45 +02:00
dependabot[bot]
c363e272ea
Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 ( #1494 )
...
Bumps [org.xmlunit:xmlunit-core](https://github.com/xmlunit/xmlunit ) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/xmlunit/xmlunit/releases )
- [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/xmlunit/xmlunit/compare/v2.9.1...v2.10.0 )
---
updated-dependencies:
- dependency-name: org.xmlunit:xmlunit-core
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 11:53:15 +02:00
Guillaume Nodet
0564480440
[MNG-8118] Merge BOM exclusions instead of overwriting ( #1504 )
2024-05-13 08:24:14 +02:00
Tamas Cservenak
ba52bfe600
[MNG-8117] Maven PluginVersionResolver improvement ( #1502 )
...
Produces output like this:
https://gist.github.com/cstamas/3ca4bc6cea5f701054061871b5db3f35
---
https://issues.apache.org/jira/browse/MNG-8117
2024-05-09 22:17:59 +02:00
Hervé Boutemy
d8199bf3b9
[MNG-8084] add system properties to test ( #1500 )
...
fixes ./${user.home} directory creation during tests execution
2024-05-06 07:31:23 +02:00
Tamas Cservenak
3d3137920a
[MNG-8073] Adding ASL2 header to XSD files ( #1499 )
...
Using latest modello release and putting license
into POM.
---
https://issues.apache.org/jira/browse/MNG-8073
2024-05-03 21:05:01 +02:00
Guillaume Nodet
d19f28e793
Upgrade plexus-interactivity-api to 1.3 ( #1498 )
2024-05-03 16:22:08 +02:00
Guillaume Nodet
7451585a19
Fix reactor loading problems ( #1497 )
2024-05-03 10:48:38 +02:00