Commit Graph

2591 Commits

Author SHA1 Message Date
dependabot[bot] aa863a93a6
Bump org.ow2.asm:asm from 7.3.1 to 9.7.1 (#1875)
Bumps org.ow2.asm:asm from 7.3.1 to 9.7.1.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  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-11-06 13:58:49 +01:00
dependabot[bot] fb43bde8a2
Bump org.apache.maven.plugins:maven-scm-publish-plugin from 1.1 to 3.3.0 (#1876)
Bumps [org.apache.maven.plugins:maven-scm-publish-plugin](https://github.com/apache/maven-scm-publish-plugin) from 1.1 to 3.3.0.
- [Commits](https://github.com/apache/maven-scm-publish-plugin/compare/maven-scm-publish-plugin-1.1...maven-scm-publish-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-scm-publish-plugin
  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-11-06 13:58:36 +01:00
dependabot[bot] 7c0181db09
Bump org.apache.maven:maven-archiver from 3.6.0 to 3.6.3 (#1877)
Bumps [org.apache.maven:maven-archiver](https://github.com/apache/maven-archiver) from 3.6.0 to 3.6.3.
- [Release notes](https://github.com/apache/maven-archiver/releases)
- [Commits](https://github.com/apache/maven-archiver/compare/maven-archiver-3.6.0...maven-archiver-3.6.3)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-archiver
  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-11-06 13:58:28 +01:00
Guillaume Nodet 75258afcc6 Integrate into maven's build 2024-11-05 16:56:49 +01:00
Guillaume Nodet 4270e7883f Simplify hocon IT to not rely on a complex parent POM 2024-11-05 16:56:46 +01:00
Tamas Cservenak 9e62984ae3 [MNG-8347] Additional tests (#398)
Add additional cases as original test is not the full story.
Make sure tree is same even if pushed down a level (in Maven3 is not)

---

https://issues.apache.org/jira/browse/MNG-8347
2024-10-29 10:00:06 +01:00
Guillaume Nodet 216c16c4b3 [MNG-8360] IT for subproject profile activation (#396) 2024-10-25 17:33:53 +02:00
Tamas Cservenak 8dc7f3b990 [MNG-8347] IT for transitive dependency management (#395)
Add IT for transitive dep management. The fix should come with updated Resolver 2.0.3

---

https://issues.apache.org/jira/browse/MNG-8347
2024-10-25 15:38:54 +02:00
Guillaume Nodet 94049cd8c5 [MNG-8341] Add IT for deadlock during model building (#394) 2024-10-25 10:29:16 +02:00
Maarten Mulders fc444a4dec [MNG-8331] Demonstrate the problem with disappearing dependencies
Closes 393.
2024-10-19 19:53:52 +02:00
Guillaume Nodet 314e983f74 [MNG-8258] Change the fixed reproducible build outputTimestamp to 1 Feb 1980 (#392) 2024-10-17 16:52:40 +02:00
Guillaume Nodet d8f9b3f40b [MNG-8322] The EventSpy receives the new settings request/result (#391) 2024-10-17 11:25:42 +02:00
Guillaume Nodet eff246a5bf [MNG-8299] IT for custom lifecycle phase ordering (#389)
Main PR: https://github.com/apache/maven/pull/1802

---

https://issues.apache.org/jira/browse/MNG-8299
2024-10-16 16:19:22 +02:00
Guillaume Nodet d98fe8e9f0 [MNG-8295] Add IT for Dependency Manager Transitivity (#384)
Co-authored-by: DidierLoiseau <didierloiseau+github@gmail.com>
2024-10-15 14:25:54 +02:00
Guillaume Nodet 83f034d177 [MNG-8294] Consistency checks when loading parent (#383) 2024-10-09 13:07:21 +02:00
Guillaume Nodet 2ce2200086 [MNG-8293] [MNG-8288] Two new ITs and disable MNG-2196 IT (#382)
* Two new ITs for MNG-8288 and MNG-8293

Both problems happens during reactor load up, so ITs code
is simple, just invoke "mvn validate" while the actual trick
is in resources (projects).

* Fix javadoc

* Disable MNG-2196 IT as it can infer the parent

---------

Co-authored-by: Tamas Cservenak <tamas@cservenak.net>
2024-10-07 17:32:18 +02:00
dependabot[bot] 9ef2164b69 Bump actions/setup-java from 3 to 4
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 18:07:25 +02:00
dependabot[bot] d9d6200fe6 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 18:07:03 +02:00
Tamas Cservenak 218d11b55e Add dependabot, we have stale actions 2024-10-03 17:55:24 +02:00
Tamas Cservenak 2e0d09ec7e Workaround just to test this 2024-10-03 17:46:10 +02:00
Tamas Cservenak 0bfde6311c [MNG-8282] Disable MNG-0553 IT for Maven 4-beta5+ (feature reworked)
---

https://issues.apache.org/jira/browse/MNG-8282
2024-10-03 17:46:10 +02:00
Tamas Cservenak e2890989c1 [MNG-8267] Disable MNG-5774 ITs for beta-5+
Also minor fix, but MavenITmng8220ExtensionWithDITest needs
slf4j-api 2.0.16 that is not in bootstrap.

---

https://issues.apache.org/jira/browse/MNG-8267
2024-10-03 17:46:10 +02:00
Guillaume Nodet 4e1de4ef6e [MNG-8133] IT for ${project.rootDirectory} in external parent (#368) 2024-10-02 23:27:02 +02:00
Guillaume Nodet fa8432713a [MNG-8281] Change the outcome of an IT wrt interpolation (#370) 2024-10-02 23:25:37 +02:00
Guillaume Nodet c5211f95cb [MNG-8258] activate Reproducible Builds by default (#369) 2024-10-01 16:50:50 +02:00
Guillaume Nodet 4e91c205ea [MNG-8230] Add tests for CI-friendly versions (#366) 2024-10-01 13:57:11 +02:00
Guillaume Nodet 101fe8f0f0 Fix IT to not use m-install-p 4.0-alpha (#357)
* Disable MNG-6330 because it now validly finds the parent given the path is not specified
* Add missing roots
2024-09-28 11:03:16 +02:00
Guillaume Nodet 6a54531a0f [MNG-7255] Infer groupId for dependencies (#356) 2024-09-18 14:26:05 +02:00
Guillaume Nodet 8e0d731440 [MNG-8259] Improve Sisu / DI bridge (#363) 2024-09-18 13:04:50 +02:00
Guillaume Nodet b2c2e88915 [MNG-8234] Fix IT (#361) 2024-09-12 08:17:33 +02:00
Guillaume Nodet 71c6162dcb [MNG-8252] Fix build (#362) 2024-09-12 06:36:51 +02:00
Guillaume Nodet e6af8ffeee [MNG-8190] Fix ITs (#359) 2024-09-11 19:19:53 +02:00
Guillaume Nodet 4fc65368c7 [MNG-8252] Test parent inference and subprojects detection (#360) 2024-09-11 18:30:05 +02:00
Guillaume Nodet 2f62d16c26 [MNG-7838] Fix IT and add another one (#278) 2024-08-29 22:34:24 +02:00
Guillaume Nodet c6d7a36de5 [MNG-7897] Use project.rootDirectory (#354) 2024-08-29 20:57:44 +02:00
Guillaume Nodet 5b6378d84a [MNG-8220] Add IT to check DI in extensions (#355)
* [MNG-8220] Add IT to check DI in extensions
2024-08-29 17:32:45 +02:00
Guillaume Nodet 458301c7a9 [MNG-8052] Fix IT 2693 (#353) 2024-08-29 06:48:36 +01:00
Guillaume Nodet fefb93bd57 Use non deprecated option for Maven >= 4.0.0-beta-4 2024-08-27 21:02:01 +02:00
Guillaume Nodet 517bc993ea Fix failing MavenITmng4387QuietLoggingTest (#351) 2024-08-27 11:28:09 +02:00
Guillaume Nodet b5c0377a1b [MNG-8181] Add IT for maven.repo.central variable (#350) 2024-08-26 18:21:18 +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
Slawomir Jaranowski 30b237eb94 [MNG-7758] Report dependency problems for all repository - fix IT 2024-06-06 20:58:37 +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
Guillaume Nodet ff1d119179 [MNG-8123] IT for build cache extension (#342) 2024-05-22 15:45:02 +02:00
Tamas Cservenak c959b7ebe7 Fix MNG-7819 IT (#339)
The goal of IT is to "excecise file locking with snapshots"
and not to test model validation.

The IT used dependency had an invalid parent POM w/
wrong packaging and artifactId.
2024-04-30 13:51:16 +02:00
Tamas Cservenak aa92202f3c [MNG-8106] IT (#336)
Created IT that does "wrong" (as same directory has once G and once A role), and verify that both level metadata is present. In other words, but none is dropped.

---

https://issues.apache.org/jira/browse/MNG-8106
2024-04-25 12:00:51 +02:00
Slawomir Jaranowski d7a34452cd [MNG-8103] Upgrade default plugin bindings - fix ITs 2024-04-23 15:54:12 +02:00
Jonas Rutishauser aac2328994 [MNG-8005] test for ide WorkspaceReader (#332)
Adds an IT that verifies that "ide" WorkspaceReader is used by Maven.
Relates to fix 3f47580dcc
2024-01-18 12:52:03 +01:00
Guillaume Nodet a9a09083d9 Remove experimental bit from buildconsumer (#331) 2024-01-09 20:35:05 +01:00
Guillaume Nodet 536a9c96e1 Disable MNG-1088 test for MNG-7977 (#329) 2024-01-08 11:38:04 +01:00
crazyhzm 95d384dc69 Enables debug logs in MavenITmng6127
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-01-02 08:39:08 +01:00
Tamas Cservenak ac8874e8f6 [MNG-7967] Verify javadoc:jar is invoked (#324)
It uses javadoc:jar goal from locked-down version of Javadoc plugin: Bug is that it refuses to run as 4-alpha-9 returns here language="none". If it would run, it would explode, as project contains java source with intentionally broken javadoc.

---

https://issues.apache.org/jira/browse/MNG-7967
2023-12-17 14:28:56 +01:00
Tamas Cservenak fff02a9ec3 Use Maven 3.9.6 (#328) 2023-12-17 14:05:47 +01:00
Tamas Cservenak 61cb0c796a Update Jetty to 9.4.53.v20231009 (#326)
As currently used one is plagued with CVEs etc.

As long as we are stuck on Java8, we cannot move forward
with Jetty, as Jetty 10.x (that is drop in replacement)
is Java 11.
2023-12-17 13:55:56 +01:00
Guillaume Nodet 46ed670dbe [MNG-7965] Verify non-parseable POM is detected (#327)
Co-authored-by: Tamas Cservenak <tamas@cservenak.net>
2023-12-15 07:33:02 +01:00
Tamas Cservenak 38f543d94a Fix ITs master build (#323)
I was unaware that for master Maven 3.9.x is used.
So the original commit 8880639cee
does not work with 3.9.x, this PR fixes it.
2023-12-06 15:56:55 +01:00
Tamas Cservenak 8880639cee Preparations for resolver alpha-3 (#322)
Changes:
* transport renames
* some internals rename
2023-12-06 15:07:51 +01:00
Guillaume Nodet b806d5972e Change bootstrap syntax to align with the usual one (#316) 2023-11-26 07:35:09 +01:00
Slawomir Jaranowski 15707702d8 [MNG-7939] Allow to exclude plugins from validation 2023-11-19 22:10:29 +01:00
Slawomir Jaranowski ab9aca341b Update parent to 41 2023-11-18 10:50:43 +01:00
Tamas Cservenak e26e1d678a [MNG-7909] IT changes (#318)
To recognize new error message coming from JDK transport.

Message is to be improved with https://issues.apache.org/jira/browse/MRESOLVER-429
2023-11-07 16:06:24 +01:00
Tamas Cservenak d77141df66 [MNG-7909] Apply Resolver 2.0.0 changes (#317)
Changes:
* IT MNG-4368 "smart install" undone
* IT MNG-5175 force Wagon as it uses Wagon config
* IT MNG-7470 adapt to new default and new transport
2023-11-07 13:27:35 +01:00
Guillaume Nodet ad25b2e77e Use 4.0.0-alpha-8 instead of SNAPSHOT (#315) 2023-11-06 14:05:46 +01:00
Guillaume Nodet 40acbf6de1 Add a note about ITs requiring maven snapshots (#314) 2023-10-19 14:42:17 +02:00
juulhobert 6a83ac6c29 [MNG-7772] Test for extensions.xml defined in an ext directory in the ${user.home}/.m2 folder (#311) 2023-10-18 20:06:47 +02:00
Guillaume Nodet 5c88324237 [MNG-7837] Add IT for project element in pom (#277) 2023-10-18 08:21:12 +02:00
Guillaume Nodet cd1ef1614c Add missing HoconReader#getIntegerValue (#313) 2023-10-16 15:25:17 +02:00
Guillaume Nodet 121980470a [MNG-7804] IT for plugin execution order (#268) 2023-10-16 13:29:31 +02:00
Guillaume Nodet cf71c396dd Require JDK 11 and support JDK 21 at build time (#310)
* Support JDK 21

* Update groovy to latest

* Drop jdk 8, add jdk 11 and 21
2023-10-16 13:24:46 +02:00
Slawomir Jaranowski 5797211100 [MNG-7898] Missing .mvn directory should not be reported in quiet mode 2023-10-10 12:10:59 +02:00
Slawomir Jaranowski 464536d05b Use Maven 3.9.5 on GitHub (#242) 2023-10-04 23:56:43 +02:00
Slawomir Jaranowski 08fceb5d84 Remove methods used for JUnit 3/4 2023-10-04 20:44:29 +02:00
Slawomir Jaranowski 27bc847389 [MNG-7895] Support ${project.basedir} in file profile activation - fix ITs 3.9.5 2023-09-27 22:00:25 +02:00
Guillaume Nodet d640bdec48 Fix expectations on IT MNG-7836 following the modifications on the consumer pom (#308) 2023-09-27 09:08:37 +02:00
Slawomir Jaranowski 7046a8c406 Add .java-version to .gitignore 2023-09-26 21:25:59 +02:00
Slawomir Jaranowski d60a1cce4a [MNG-7895] Support ${project.basedir} in file profile activation - fix ITs 2023-09-26 19:48:16 +02:00
Guillaume Nodet caf44be89e Fix IT for trimmed consumer POM (#293) 2023-09-26 08:51:33 +02:00
Slawomir Jaranowski ad1e9257dd Use 1.8 for source/target in ITs - allow to execute by newer JDK
1.7 was removed in JDK 20
2023-09-24 15:38:51 +02:00
Guillaume Nodet f0fca33818 Fix IT compilation problem with recent merges (#297) 2023-09-22 11:37:26 +02:00
Guillaume Nodet c6d8f2fea6 [MNG-7836] IT for alternative pom syntax (#276) 2023-09-22 09:24:52 +02:00
Guillaume Nodet 4c64e109f3 [MNG-7891] IT for configuring extensions (#296)
Co-authored-by: Christoph Läubrich <christoph@laeubi-soft.de>
2023-09-22 09:14:42 +02:00
Guillaume Nodet c3c7981e7f [MNG-7877] Fix ITs for build bom + consumer/pom simplification (#292) 2023-09-13 13:39:27 +02:00
Guillaume Nodet e85a09a328 [MNG-7876] Add model version analysis and downgrade (#291) 2023-09-11 18:17:18 +02:00
Guillaume Nodet 1ed2264c17 [MNG-7792] Fix shaded javaagent to relocate the asm package (#290) 2023-09-05 23:08:50 +02:00
Tim te Beek 433611003b [MNG-6847] Use diamond operator (#288)
* [MNG-6847] Use diamond operator

Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.UseDiamondOperator?organizationId=QXBhY2hlIE1hdmVu

Co-authored-by: Moderne <team@moderne.io>

* Restore core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/src/main/java/org/apache/maven/its/mng5581/lifecyclemappingdelegate/TestLifecycleMappingDelegate.java

---------

Co-authored-by: Moderne <team@moderne.io>
2023-08-29 11:50:44 +00:00
Guillaume Nodet 6326854fcb [MNG-7862] The ModelLocator should always be used when locating pom.xml (fixes #289) 2023-08-23 21:24:44 +02:00
Guillaume Nodet 65f2d39a40 [MNG-6401] IT for proxy port interpolation (#275) 2023-08-23 10:54:36 +02:00
Guillaume Nodet a9bf8ed377 [MNG-7830] Switch from plexus-xml to stax / woodstox (#274) 2023-06-29 12:03:31 +02:00
Tamas Cservenak e85fb9029a [MNG-7228] Add IT that ensure nothing "leaks" into installed model (#273) 2023-06-24 10:51:01 +02:00
Tamas Cservenak c029658a92 Remove MNG-7819 Maven Metadata XML leading newline 2023-06-23 10:36:31 +02:00
Tamas Cservenak 24f25a0a71 [MNG-7819] Add IT that excercise the bug (#271)
Template/reproducer: https://gist.github.com/cstamas/3f15775bd4785a5f4b157399f52af6fc

While local repo is empty.

---

https://issues.apache.org/jira/browse/MNG-7819
2023-06-21 14:36:58 +02:00
Guillaume Nodet 0226d93b9e [MNG-5659] Add an IT for project settings (#265) 2023-06-20 13:20:11 +02:00
Guillaume Nodet 5787317971 [MNG-4645] Fix IT to not use the newly supported syntax (#266) 2023-06-19 17:03:57 +02:00
Guillaume Nodet 16a7489f46 [MNG-5600] Dependency management import should support exclusions. (#269)
Co-authored-by: Christian Schulte <schulte@apache.org>
2023-06-15 20:49:41 +02:00
Guillaume Nodet 50f23340ea [MNG-7587] Only test with 4.0 because the fix has been reverted in 3.9.x 2023-06-09 20:46:46 +02:00
Martin Kanters fca1dd661a [MNG-7338] Disable CI mode for certain tests which verify on log statements. (#209) 2023-06-08 15:44:00 +02:00
Guillaume Nodet b8f4ef8332 Adjust test failing on CI
# Conflicts:
#	core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5760ResumeFeatureTest.java
2023-06-06 10:34:47 +02:00
Guillaume Nodet 81abb5870c [MNG-7740] Remove old temporary consumer*pom files from buildDir (#263)
Co-authored-by: Giovanni van der Schelde <Giovanni.vanderSchelde@infosupport.com>
Co-authored-by: Giovanni van der Schelde <gvdschelde@gmail.com>
2023-06-05 16:24:36 +02:00
Guillaume Nodet 74c1775d05 Reformat ITs 2023-06-05 08:54:28 +02:00