Commit Graph

15120 Commits

Author SHA1 Message Date
dependabot[bot] 2322ab4060
Bump org.junit:junit-bom from 5.10.2 to 5.10.3 (#1592)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  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-07-02 10:46:56 +02:00
dependabot[bot] fb239d7903
Bump com.fasterxml.woodstox:woodstox-core from 6.6.2 to 7.0.0 (#1590)
Bumps [com.fasterxml.woodstox:woodstox-core](https://github.com/FasterXML/woodstox) from 6.6.2 to 7.0.0.
- [Commits](https://github.com/FasterXML/woodstox/compare/woodstox-core-6.6.2...woodstox-core-7.0.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.woodstox:woodstox-core
  dependency-type: direct:development
  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-07-02 10:46:38 +02:00
Piotrek Żygieło 57fd0dc69b
[MNG-7194] Test missing property evaluation (#1573)
Co-authored-by: Piotrek Żygieło <pzygielo@users.noreply.github.com>
2024-06-26 05:22:09 +02:00
Guillaume Nodet 5b4e17736b
[MNG-8164] Session#collectDependencies(Project) does not obey exclusions (#1591) 2024-06-25 22:07:29 +02:00
dependabot[bot] 60ff077409
Bump org.jline:jline from 3.26.1 to 3.26.2 (#1588)
Bumps [org.jline:jline](https://github.com/jline/jline3) from 3.26.1 to 3.26.2.
- [Release notes](https://github.com/jline/jline3/releases)
- [Changelog](https://github.com/jline/jline3/blob/master/changelog.md)
- [Commits](https://github.com/jline/jline3/compare/jline-parent-3.26.1...jline-parent-3.26.2)

---
updated-dependencies:
- dependency-name: org.jline:jline
  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-06-25 21:47:12 +02:00
Guillaume Nodet c3f1cd6f76
[MNG-8160] Recreate the transformed artifact if it has been deleted (by the clean goal for example) (#1587) 2024-06-19 10:46:28 +02:00
Guillaume Nodet df94ee0d2c Remove hardcoded references to woodstox stax implementation 2024-06-14 00:26:16 +02:00
dependabot[bot] 56cfb7fa46 Bump net.bytebuddy:byte-buddy from 1.14.15 to 1.14.17
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy) from 1.14.15 to 1.14.17.
- [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.15...byte-buddy-1.14.17)

---
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>
2024-06-12 21:33:17 +02:00
dependabot[bot] e0eb6697f4 Bump com.google.guava:guava from 33.2.0-jre to 33.2.1-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.2.0-jre to 33.2.1-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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 21:32:59 +02:00
Slawomir Jaranowski 768ebbc263
[MNG-7758] Report dependency problems for all repository (#1563) 2024-06-12 09:49:10 +02:00
Slawomir Jaranowski 42f15e5523 [MNG-7758] Report dependency problems for all repository - extends ITs (#348)
* [MNG-7758] Report dependency problems for all repository - extends ITs

* [MNG-7758] Report dependency problems for all repository - extends ITs

* [MNG-7758] Report dependency problems for all repository - extends ITs
2024-06-12 09:48:43 +02:00
Pavlo Shevchenko db33754938
[MNG-8150] Remove unused locale argument from FileSizeFormat (#1579)
## Summary

Addressing https://github.com/apache/maven/pull/1575#discussion_r1634977808

 - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)

---

https://issues.apache.org/jira/browse/MNG-8150
2024-06-11 23:48:41 +02:00
Pavlo Shevchenko e995ba62eb
[MNG-8150] Handle absent source/target files in transfer listener (#1575)
The PR address two issues observed in the `SimplexTransferListener` and `ConsoleMavenTransferListener`:
1. [TransferResource#getFile()](https://github.com/apache/maven-resolver/blob/master/maven-resolver-api/src/main/java/org/eclipse/aether/transfer/TransferResource.java#L170) can be null. The current `SimplexTransferListener` will break with an NPE if the `file` is not set on the resource.
2. `TransferResource` is not immutable and does not implement `equals` or `hashCode,` making its usage in collections brittle. Listener consumers are not guaranteed to reuse the same instance across listener invocations. I suggest wrapping it in an immutable identifier.

Resolves https://issues.apache.org/jira/browse/MNG-8150

 - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)

---

https://issues.apache.org/jira/browse/MNG-8150
2024-06-11 22:50:56 +02:00
dependabot[bot] 2a43242937 Bump org.codehaus.plexus:plexus-testing from 1.0.0 to 1.3.0
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 11:13:34 +02:00
Guillaume Nodet e9ece0c9c9 Remove commons-io dependency 2024-06-11 11:06:12 +02:00
dependabot[bot] 75a234c0f6 Bump org.junit:junit-bom from 5.10.1 to 5.10.2
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.2)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 09:31:18 +02:00
dependabot[bot] c4bf01445d Bump commons-cli:commons-cli from 1.5.0 to 1.8.0
Bumps commons-cli:commons-cli from 1.5.0 to 1.8.0.

---
updated-dependencies:
- dependency-name: commons-cli:commons-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 09:31:00 +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 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
Slawomir Jaranowski 30b237eb94 [MNG-7758] Report dependency problems for all repository - fix IT 2024-06-06 20:58:37 +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
Slawomir Jaranowski fe968ff43b Add .mvn directory in project root 2024-06-02 20:16:30 +02:00
Slawomir Jaranowski 6de0ea10df Bump Maven to 3.9.7 on GH build 2024-06-01 19:02:13 +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
Guillaume Nodet ff1d119179 [MNG-8123] IT for build cache extension (#342) 2024-05-22 15:45:02 +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