294 Commits

Author SHA1 Message Date
Tamas Cservenak
d3c15a75b0 Fix test framework side effects (java props) (#1359)
Some checks are pending
Early Access / Default build (without GraalVM) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (macos-13) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (macos-latest) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (windows-latest) (push) Waiting to run
Early Access / Site build (push) Waiting to run
The JvmTestClient pushed things to system properties and then did not clean up them. This went invisible, as long as user did not have user-wide extensions like smart-builder that suddenly was not filtered out anymore from tested mvnd daemon and caused havoc.

Changes:
* def client helper method emits "prev state" for properties it altered
* JvmTestClient uses this map to restore properties
* MavenConfIgnore ITs modified to still ignore takari smart builder as well...

Fixes #1357
2025-06-18 21:31:58 +02:00
Tamas Cservenak
b4de1b1a23 Disable ConcurrentDownloadsTest for now (#1293)
As due Mimir, it does not download anymore and assertion
fails. With Mimir primed caches, everything is got from
cache.
2025-03-13 15:10:01 +01:00
Guillaume Nodet
6c5dd056fa Next is 2.0.0-rc-4-SNAPSHOT 2025-03-10 16:56:59 +01:00
Guillaume Nodet
f912362c18 [release] Release 2.0.0-rc-3 2025-03-10 16:56:55 +01:00
Guillaume Nodet
9e32662401 Refactor input stream support (fixes #1257) (#1268) 2025-02-17 23:12:16 +01:00
Tamas Cservenak
d4d4f23d7d Fixes (#1253)
Seems MSC fork does not allow pushes from users who have commit rights on forked maven-mvnd, so am incorporating @ascheman changes here as well.

This PR is:
* fixes from PR https://github.com/apache/maven-mvnd/pull/1252
* plus fix SO isse (self injected cache)
* plus migrated whole daemon to Maven DI (from javax.inject) except those that override Sisu components
* ported latest Maven changes
2025-02-08 20:55:53 +01:00
Tamas Cservenak
2606a78f46 Align to 2.0.0-rc-3-SNAPSHOT
Same as Maven master
2024-12-17 14:34:46 +01:00
Jermaine Hua
7b309de9ab Support core extension more configuration (#1216)
Fixes #1163

Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-12-17 13:50:43 +01:00
Guillaume Nodet
c8fc604504 Next is 2.0.0-rc-2-SNAPSHOT 2024-11-26 10:14:09 +01:00
Guillaume Nodet
39127a4669 [release] Release 2.0.0-rc-1 2024-11-26 10:14:05 +01:00
Guillaume Nodet
31c765e0d4 Use Maven 4 model 2024-11-08 19:24:50 +01:00
Guillaume Nodet
72b7365e21 Upgrade to Maven 4.0.0-beta-5 (#1187) 2024-11-07 19:11:26 +01:00
Tamas Cservenak
0cdc32a36c Drop unused excludes (#1173) 2024-10-17 21:14:13 +02:00
Tamas Cservenak
11a6ed3528 mvnd IT: increase connectTimeout for ITs (#1171)
Experiment PR to figure out why MacOS GH runners keep failing with transport related (SSL handshake abort, HTTP timeouts) errors. As we know linux and windows boxes are in Azure, while macos boxes are somewhere else, and we get regularly real strange errors like "SSL handshake errors", "HTTP timeout error (against Central?)", so suspicion is on JDK transport (in HTTP/2 mode).

Experiments:
* force apache transport (HTTP/1.1) - ✔️ 
* force JDK transport into HTTP/1.1 - 🟥 
* use big timeout for connectTimeout - ✔️ 

Conclusion: for ITs we will for now increase the default (10sec) `connectTimeout` Resolver configuration, as it seems too low.
2024-10-17 14:07:05 +02:00
Guillaume Nodet
a032544164 Improve log and leverage the new infrastructure in Maven (#1164) 2024-10-15 18:15:15 +02:00
Tamas Cservenak
27258c0e54 Maven Daemon CLIng (#1158)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-10-15 13:05:56 +02:00
Guillaume Nodet
9644e46617 Fix maven.multiModuleProjectDirectory (fixes #1031) (#1057) 2024-07-16 17:17:04 +02:00
Tamas Cservenak
69e7232ae7 Next is 2.0.0-beta-2-SNAPSHOT 2024-06-20 18:09:45 +02:00
Tamas Cservenak
74cdaf62b2 [release] Release 2.0.0-beta-1 2024-06-20 18:09:44 +02:00
Tamas Cservenak
952a67450b mixup in case of DISPLAY messages type (#1038)
ProjectEvent message mixup fixed.

Fixes #1036
2024-06-20 09:01:29 +02:00
Tamas Cservenak
7caba4d555 Next is 2.0.0-beta-2-SNAPSHOT 2024-06-18 09:11:12 +02:00
Tamas Cservenak
3f5b472022 [release] Release 2.0.0-beta-1 2024-06-18 09:11:10 +02:00
Tamas Cservenak
bc61f6441e [2.x] Pre-release tidy-up (#1011)
Changes:
* no source change
* (build) expel all versions from child modules: they must be all top level depMgmt or pluginMgmt
* (build) Top POM contains GAVs while child modules GA+scope. This tremendously simplifies maintenance.
* (javadoc) fix Javadoc errors
* (build) remove obsolete profiles and mr-JARs, project is 17+

Updates:
* maven wrapper 3.3.2 w/ scripts
2024-06-13 10:05:16 +02:00
Tamas Cservenak
6de743152c Default value must be manually handled (#953)
Default must be manually handled, i missed this.

Fixes #912
2024-05-22 16:33:29 +02:00
dependabot[bot]
7b2ea436ea Bump testcontainers.version from 1.19.7 to 1.19.8 (#991)
Bumps `testcontainers.version` from 1.19.7 to 1.19.8.

Updates `org.testcontainers:testcontainers` from 1.19.7 to 1.19.8
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.19.7...1.19.8)

Updates `org.testcontainers:junit-jupiter` from 1.19.7 to 1.19.8
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.19.7...1.19.8)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:junit-jupiter
  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 15:36:56 +02:00
Guillaume Nodet
42b230c10c Upgrade to Maven 4.0.0-beta-1 (#974) 2024-05-03 21:10:04 +02:00
Guillaume Nodet
a6b275db59 Split Maven 3 and 4 support and switch to version 2.0-SNAPSHOT (fixes #973) (#970) 2024-04-26 10:38:39 +02:00
Tamas Cservenak
d41d6a2709 Updates to build (dependabot reported) and other stuff (#951)
Most of cumulative things dependabot reported, plus more.

Changes:
* use plugins from parent (instead to double-maintain them here as well)
* general cleanup, add property where there are 2+ uses for it
* update plugins not present in parent
* non-key dependencies (maven3, maven4, graalvm not touched) updates
2024-04-19 16:26:23 +02:00
Tamas Cservenak
1fc7a988b9 Align mvnd m39 with Maven 3.9.x re config interpolation (#933)
Port Maven 3.9.7 config and new properties (session.root/top)
into Daemon m39.

The IT got this property as it triggers exception (failure)
if mvn39 could not "discover" top directory.

Fixes #910
2024-04-19 16:25:49 +02:00
dependabot[bot]
ea62ae3514 Bump org.apache.activemq:apache-activemq
Bumps org.apache.activemq:apache-activemq from 5.16.0 to 5.16.6.

---
updated-dependencies:
- dependency-name: org.apache.activemq:apache-activemq
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-17 16:36:38 +01:00
Guillaume Nodet
f05de78d08 Next is 1.0-m9-SNAPSHOT 2023-10-26 07:45:20 +02:00
Guillaume Nodet
0f4bdb6df5 [release] Release 1.0-m8 2023-10-26 07:45:11 +02:00
Karl Heinz Marbaise
accb99e910 Removed superfluous public for tests (#882) 2023-10-16 14:45:20 +02:00
Guillaume Nodet
15d622e185 Next is 1.0-m8-SNAPSHOT 2023-07-11 07:13:39 +02:00
Guillaume Nodet
b2ef5d8199 [release] Release 1.0-m7 2023-07-11 06:59:21 +02:00
Guillaume Nodet
f8adf1b770 Switch to slf4j simple logger (fixes #835) (#868) 2023-07-10 15:16:32 +02:00
Guillaume Nodet
838b720342 Bump to maven-parent 40, maven 3.9.3 and 4.0.0-alpha-7 and maven-resolver 1.9.13 (#858) 2023-07-03 16:27:23 +02:00
Clay Johnson
0e07a384c4 Add configuration to send build scans to https://ge.apache.org (#810)
* Add configuration to send build scans to https://ge.apache.org

* Add `.mvn` directories to IT tests projects that lack one

Some of the integration tests to do not have `.mvn` directories and
search up the project structure until they find the `.mvn` directory
of the root project.

This change adds `.mvn` directories with empty `maven.config` files so
that the sample projects in VCS will be as close as possible to those
executed during integration testing
2023-06-11 20:30:10 +02:00
Guillaume Nodet
b00e7978a8 Fix broken detection of mvnd home on alpine linux (fixes #849) (#848)
* Fix for musl dynamic loader
* Add caching for mvnd.home and java.home
* Add IT for alpine linux
2023-05-18 07:37:14 +02:00
Guillaume Nodet
538a5c1369 Next is 1.0-m7-SNAPSHOT 2023-03-23 10:16:45 +01:00
Guillaume Nodet
47d4c6b9c3 [release] Release 1.0-m6 2023-03-23 09:59:27 +01:00
Guillaume Nodet
76f8139281 Rename maven-${version}-mvnd-mvn(39|40)-yyy to maven-mvnd-${version}-m(39|40)-yyy and fix release workflow 2023-03-23 08:20:54 +01:00
Guillaume Nodet
34b7ee35cf Next is 1.0-m6-SNAPSHOT 2023-03-22 08:58:41 +01:00
Guillaume Nodet
71146dab82 [release] Release 1.0-m5 2023-03-22 08:58:28 +01:00
Petr Široký
b0b7115344 Make the default (non-native) build work again (#808)
* Make the default (non-native) build work again

 * the renamed test is supposed to use the native binary, but it was
   being picked up by surefire, because of its name. For non-native builds
   (e.g. without -Pnative) the test would fail as the native
   binary does not exist

* Add GitHub job for for default (non-native) build
2023-03-12 23:07:51 +01:00
Guillaume Nodet
d771375870 Move back mvn script into the mvn/bin folder to avoid conflicts, fixes #787 (#803) 2023-03-10 12:59:04 +01:00
Guillaume Nodet
65da451ecd Switch back to takari smart builder (#805) 2023-03-10 08:48:08 +01:00
Guillaume Nodet
95b40a3d8a Provide distributions for both maven 3.9.x and 4.0.x (#796) 2023-03-08 00:03:49 +01:00
Guillaume Nodet
d6b8cb1173 Turn off transfer messages when running tests when possible (#790) 2023-02-14 17:06:54 +01:00
Guillaume Nodet
11c6567bdd Next is 1.0.0-m5-SNAPSHOT 2023-01-28 14:41:03 +01:00