Commit Graph

56 Commits

Author SHA1 Message Date
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
Guillaume Nodet
42b230c10c Upgrade to Maven 4.0.0-beta-1 (#974) 2024-05-03 21:10:04 +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
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
86d4e9b365 Upgrade to surefire 3.0.0-M8 2023-01-28 00:08:08 +01:00
Stefan Oehme
74df4b6b53 Fix core export provider (#764)
* Fix core export provider

Since https://github.com/apache/maven/pull/616, the default
CoreExportProvider no longer uses the provided CoreExports,
but instead tries (and fails) to discover them itself.

This change fixes that by providing our own custom instance
of CoreExportProvider. This allows core extension to contribute
exported artifacts and exported packages again, like it used to
do before the Maven 4.x upgrade.

* Add integration tests for API-providing extensions
2023-01-17 11:18:22 +01:00
Tamas Cservenak
92cbc7d6cf Update Maven to 4.0.0-alpha-3 and Maven Resolver to 1.9.2 (#742)
https://issues.apache.org/jira/browse/MNG-7586

* Remove CliMavenPluginManager which has the changed needed in alpha-3
* Align slf4j api with maven
* Make sure the invoker being called from IT reuses the settings from the invoker running the IT
* Fix IT when mrm is disabled
* Fix InvalidingPluginRealmCache

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-15 19:26:58 +01:00
Guillaume Nodet
82efe456c9 Update ITs to recent maven plugins (#744)
* Switch ITs to surefire 3.0.0-M7
* Upgrade other plugins in ITs
* Upgrade quarkus and jandex
2022-11-23 14:49:28 +01:00
Guillaume Nodet
31612a129e Upgrade to groovy 4 to allow building on recent JDK (#735) 2022-11-19 00:18:28 +01:00
Guillaume Nodet
aacd3eb4cc Handle the multimodule project directory as early as possible in the client (fixes #694) (#697) 2022-10-03 22:46:09 +02:00
Guillaume Nodet
73f4d50bcb Remove default values for heap options (#610)
* Set default max heap size to null

Let the JVM decide the max heap size instead of using hardcoded defaults
to match the behaviour of vanilla Maven.

* Add ITs for verifying max heap behaviour

- By default no max heap should be set
- If configured via jvm.config then max heap should be set but not mvnd.maxHeapSize
- If configured via mvnd.maxHeapSize then max heap should be set

* Remove defaults memory options

* Add missing test project

* Fix too small heap size

* Fix tests

Co-authored-by: Ashhar Hasan <hashhar_dev@outlook.com>
2022-04-26 13:22:37 +02:00
Guillaume Nodet
4755734708 Avoid caching parent with a version containing a property, fixes #594 (#602) 2022-03-03 13:22:27 +01:00
Guillaume Nodet
62d580b930 Daemon reuse ignores differences in .mvn/jvm.config, fixes #576 (#580) 2022-01-13 10:01:33 +01:00
Guillaume Nodet
4c99b52e03 Make sure the maven.home and maven.conf properties are correctly set when the JVM is started, fixes #553 2022-01-11 08:12:18 +01:00
Guillaume Nodet
b3a55333a8 Fix NoSuchFileException when using the compile phase, fixes #564 2022-01-07 11:46:54 +01:00
Guillaume Nodet
4bb5c5d5b5 Fix resident extensions (#531) 2021-12-14 18:20:34 +01:00
Guillaume Nodet
f760a1da78 Upgrade to GraalVM 21.3.0 and JDK 17 (#506)
* Upgrade to GraalVM 21.3.0 and JDK 17
* Upgrade groovy
* Upgrade quarkus version
2021-10-20 12:21:01 +02:00
Guillaume Nodet
dae96da65e Negative local Maven repo lookup persists after installing the artifact, fixes #482 2021-10-07 05:09:13 +02:00
Guillaume Nodet
30e1747d84 The maven.multiModuleProjectDirectory is badly set when using -f [path-to-pom], fixes #484 2021-10-06 15:18:00 +02:00
Guillaume Nodet
ee49cb3414 Provide a way to remove decoration on the standard out/err streams, fixes #356 2021-09-02 14:37:19 +02:00
Guillaume Nodet
7621dfe4c4 Merge pull request #330 from gnodet/i276
Do not run server threads as daemon as it causes problems with the exec-maven-plugin (#276)
2021-05-18 16:27:58 +02:00
Guillaume Nodet
744afa88f0 Merge pull request #399 from gnodet/synccontext
Upgrade maven 3.8.1 + prototype for global lock
2021-05-18 16:08:31 +02:00
Guillaume Nodet
4cfaf7aaf9 Improve events reporting for forked lifecycles (#411) 2021-05-18 16:08:15 +02:00
Guillaume Nodet
64d1f8d6b0 Do not run server threads as daemon as it causes problems with the exec-maven-plugin, fixes #276 2021-05-18 16:02:02 +02:00
sky
69da77be0e Remove takari-local-repository extension 2021-05-06 20:23:41 +02:00
Guillaume Nodet
c3d33a1a0b Make sure the environment is properly updated, fixes #352 2021-02-12 09:18:12 +01:00
Guillaume Nodet
2019848faf Add a reproducer test for #277 2021-01-22 09:52:56 +01:00
Guillaume Nodet
9e6ceed856 Fix error when the reactor contains duplicate groupId:artifactId, fixes #333 2021-01-18 13:45:54 +01:00
Guillaume Nodet
a846ccb96d Fix the integration test 2021-01-14 14:08:16 +01:00
Guillaume Nodet
3b2efbfead Add an integration test 2021-01-14 13:31:57 +01:00
Guillaume Nodet
4bdedf12b0 Split the integration test 2021-01-13 13:46:04 +01:00
Guillaume Nodet
d6464ed790 Use an agent to support processes launched with redirected io, fixes #241 2021-01-06 17:25:08 +01:00
Guillaume Nodet
f84f1e0c4b Fix extension resolution that use jdk activation, fixes #300 2021-01-06 15:54:22 +01:00
Guillaume Nodet
1da82d2f7c Remove unneeded options in the test pom 2021-01-05 16:51:18 +01:00
Guillaume Nodet
e639be9a9f Fix logging to use an inheritable thread local, fixes #295 2021-01-05 16:51:18 +01:00
Guillaume Nodet
1302ab3a28 mvnd fails when version range is used in extensions.xml, fixes #275 2020-12-18 08:38:24 +01:00
Peter Palaga
dc25d0ca1f Workaround connection resets and other network issues on Azure cloud 2020-12-08 20:53:22 +00:00
Peter Palaga
575de9aa9a Reproduce #218 pom.xml changes not honored 2020-11-15 15:50:32 +00:00
Guillaume Nodet
c83f7045d6 Use org.mvndaemon package 2020-11-12 09:22:26 +01:00
Guillaume Nodet
39dff61060 Should support core extensions #114 2020-11-02 16:43:41 +01:00
Peter Palaga
59a9bbad5b mvnd native executable is not passing -Dkey=val to the daemon #157 2020-10-27 10:38:34 +00:00
Peter Palaga
4f78bbcec4 Have unique test project module names 2020-10-23 21:44:55 +01:00
Guillaume Nodet
22f608d5b4 Implement a keep-alive strategy to detect stales connections, fixes #47 2020-10-22 17:44:44 +02:00
Peter Palaga
ec6280f4f7 Downgrade to maven-surefire-plugin 2.22.2 to avoid weird issues 2020-10-17 00:15:22 +02:00
Peter Palaga
0569045ac8 Disable mrm on the CI 2020-10-17 00:15:22 +02:00
Peter Palaga
40947fe037 Test a scenario using mvn #92 2020-10-16 14:34:38 +02:00
Guillaume Nodet
6f5928347c Remove warnings from the build 2020-10-13 10:38:56 +02:00
Peter Palaga
9c1b63eb16 Test BOM edits #9 2020-09-29 12:25:04 +02:00
Peter Palaga
7cfeef84b7 Add .mvn directories to itest projects 2020-07-29 16:56:32 +02:00