Commit Graph

149 Commits

Author SHA1 Message Date
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
a14a1eb80f Reformat 2022-11-22 15:44:53 +01:00
Guillaume Nodet
895381b43f Switch to maven 4.0.0-alpha-2 (#718) 2022-11-19 16:56:26 +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
449e815973 Missing argument for option -D, fixes #662 (#679)
Co-authored-by: 核桃 <hetao@2dfire.com>
2022-08-30 09:14:12 +02:00
Guillaume Nodet
ff7bbbe458 Move BuildProperties to the client (#630) 2022-05-02 13:13:07 +02:00
Stephan Schroevers
0288988d63 Replace github.com/mvndaemon/mvnd references (#622)
As the repository is now hosted under `github.com/apache/maven-mvnd`.
2022-04-28 09:43:19 +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
dbe2feaf0c Fix missing space 2022-04-26 13:22:06 +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
b5a8ebfb47 Reformat 2022-01-21 09:36:49 +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
a886562a65 Fix passing options, fixes #515 (#520) 2021-12-06 16:18:22 +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
e89f81b88e Code formatting 2021-10-20 08:30:17 +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
caade66f19 Improve test stability on OSX (#453) 2021-07-29 07:42:36 +02:00
Guillaume Nodet
6524569d94 Modify the environment test to check for mismatches 2021-06-15 16:40:38 +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
3577951ed5 Raise timeout a bit 2021-05-06 20:22:38 +02:00
Guillaume Nodet
a6457afff7 Fix DaemonCrashTest silently failing 2021-04-27 18:09:30 +02:00
Peter Palaga
a809200c46 Await idle in EnvironmentTest 2021-03-10 08:07:03 +01:00
Guillaume Nodet
c3d33a1a0b Make sure the environment is properly updated, fixes #352 2021-02-12 09:18:12 +01:00
Peter Palaga
e4e605d928 Add 200ms delay between edit and rebuild in ModuleAndPluginNativeIT to avoid intermittent failures on Mac 2021-01-25 12:32:53 +01:00
Peter Palaga
3a29b4b341 Add some small delay also on non-Windows between deleting local repo and rebuilding in DeleteRepoNativeIT 2021-01-25 12:32:53 +01:00
Peter Palaga
d3ea30f5d3 Test also WatchServiceCacheFactory 2021-01-25 11:28:10 +00:00
Peter Palaga
4d89464f8a There is no need to initially delete the test local maven repo, because it is always deleted by org.mvndaemon.mvnd.junit.MvndTestExtension.MvndResource.create() 2021-01-25 11:28:10 +00:00
Peter Palaga
786430ebc0 maxConcurrentDownloads in ConcurrentDownloadsTest can also be 1 when the downloads are fast 2021-01-22 14:26:33 +00: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
d4d322f8ce Fix logging configuration and references to renamed property mvnd.uid 2021-01-14 15:17:33 +01:00
Guillaume Nodet
890c872760 Remove old junit dependency 2021-01-14 15:15:29 +01:00
Guillaume Nodet
642d06480b Add missing assertion in the test 2021-01-14 15:14:56 +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
8d929889da Disable test on windows because all jar files are locked and the repository can't even be deleted 2021-01-13 15:19:17 +01:00
Guillaume Nodet
6dd4add35e Raise watch service sensitivity, add a delay in the test for windows to make sure the poll has been done 2021-01-13 14:08:16 +01:00
Guillaume Nodet
4bdedf12b0 Split the integration test 2021-01-13 13:46:04 +01:00
Guillaume Nodet
29e823eb1b Try to workaround file locking on windows 2021-01-13 13:07:54 +01:00
Guillaume Nodet
b10af9fe15 The caches are not all cleaned when deleting the local repository, fixes #312 2021-01-13 11:36:37 +01:00