Commit Graph

270 Commits

Author SHA1 Message Date
Guillaume Nodet
3b100839a8 Fix mvn/bin/mvn debug output (#606) 2022-03-05 09:03:14 +01: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
8ae2ce3525 Remove wrong MavenProject, #561 (#566) 2022-01-11 08:14:31 +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
9f651b1196 Improve setEnv logic, fixes #528 (#535) 2022-01-03 08:31:09 +01:00
Guillaume Nodet
06fa4fd227 Fix url cache (fixes #532 and #527) 2022-01-03 08:30:41 +01:00
Guillaume Nodet
4bb5c5d5b5 Fix resident extensions (#531) 2021-12-14 18:20:34 +01:00
Guillaume Nodet
bbfe926a57 Next is 0.7.2-SNAPSHOT 2021-12-07 14:15:31 +01:00
Guillaume Nodet
97c587c113 Release 0.7.1 2021-12-07 14:15:27 +01:00
Guillaume Nodet
588e87993d Replace the locking spy with locking in the MojoExecutor (#523)
This is a port of https://github.com/apache/maven/pull/628 to mvnd and it should go away when we upgrade to maven 3.8.4 which should include the fix
2021-12-06 18:00:33 +01:00
Tamas Cservenak
807409d507 Update mvnd to include Maven Resolver 1.7 (#507)
As mvnd itself is Java8 lang level, it is completely
okay to up resolver to 1.7 (that is java8 as well).
The only reason why Maven 3.8.x CANNOT use resolver
1.7 is that it is still Java7 level.
2021-11-26 17:34:10 +01:00
Guillaume Nodet
5095a50145 Next is 0.7.1-SNAPSHOT 2021-10-20 20:47:52 +02:00
Guillaume Nodet
0ebc71628c Release 0.7.0 2021-10-20 20:47:49 +02:00
Guillaume Nodet
9b1dc66320 Code formatting 2021-10-20 18:11:57 +02:00
Guillaume Nodet
69c975fcd0 Provide a local (semaphore based) sync context and use it as the default (#480)
* Provide a local (semaphore based) sync context and use it as the default
* Use a ReentrantLock
* Update daemon/src/main/java/org/mvndaemon/mvnd/sync/MvndSyncContextFactory.java
Co-authored-by: Peter Palaga <ppalaga@redhat.com>
* Improve lock acquisition
Co-authored-by: Peter Palaga <ppalaga@redhat.com>
2021-10-20 10:23:13 +02:00
Guillaume Nodet
0a77ed06ba Fix path computation on cygwin, fixes #499 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
2aa5de2371 Support Maven 3.8.3, fixes #488 (#493) 2021-10-06 15:19:12 +02:00
Guillaume Nodet
a02286fc15 Reformat 2021-10-06 13:59:26 +02:00
Guillaume Nodet
8697cd6151 Add missing value in message ordering, fixes #486 2021-10-04 15:22:38 +02:00
Guillaume Nodet
93406a8ec4 Make sure the plugin eviction pattern also applies to extensions 2021-09-14 15:01:40 +02:00
Guillaume Nodet
58db967056 Align with maven PR 2021-09-14 14:57:54 +02:00
Peter Palaga
3ac4030a1b Next is 0.6.1-SNAPSHOT 2021-09-07 18:33:48 +02:00
Peter Palaga
038257e127 Release 0.6.0 2021-09-07 18:33:45 +02:00
Guillaume Nodet
da714c98ac Speed improvement (MNG-7235) 2021-09-07 16:27:43 +02:00
Guillaume Nodet
f59cd2a0d1 Reformat 2021-09-07 16:27:43 +02:00
Guillaume Nodet
f36f531b00 Add unmodified DefaultProjectDependencyGraph from maven 3.8.2 2021-09-07 16:27:43 +02:00
Guillaume Nodet
fe5a9dd43f Fix formatting 2021-09-07 16:27:43 +02:00
Guillaume Nodet
79f448a7f9 Add a caching PluginVersionResolver 2021-09-07 16:27:43 +02:00
Guillaume Nodet
e3b922e140 Revert MNG-7170 2021-09-07 14:13:47 +02:00
Guillaume Nodet
2cda0ad620 Reformat 2021-09-07 14:13:47 +02:00
Guillaume Nodet
4b29eeba1f Add stock maven 3.8.2 DefaultModelBuilder 2021-09-07 14:13:47 +02:00
Guillaume Nodet
db30a78841 Disable the IPC sync context factory by default (can be enabled using the new environment option) 2021-09-06 13:04:39 +02:00
Guillaume Nodet
692df3ecea Make sure mvnd does not build more projects than needed, fixes #464 (#465) 2021-09-02 15:32:12 +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
230edac5ae Provide an early display of build failures (fixes #361)
Also fix ordering of messages when projects are skipped at the end
2021-09-01 15:55:38 +02:00
Guillaume Nodet
c95ae1d012 Provide an eviction pattern to get rid of classloaders for bad behaving plugins, #440 (#448) 2021-08-31 11:27:18 +02:00
Guillaume Nodet
aa89bd64ba Introduce a SocketFamily instead 2021-08-31 08:44:53 +02:00
Guillaume Nodet
b67ab81c3d Allow unix domain sockets for client/daemon connection (not used by default) 2021-08-31 08:43:31 +02:00
Guillaume Nodet
b0a199f209 Make sure the client env vars are correctly propagated to system properties 2021-08-31 08:41:37 +02:00
Guillaume Nodet
8cfd1da3b0 Make sure the IpcClient recreates the server if the context creation fails, fixes #446 2021-07-06 14:52:11 +02:00
Guillaume Nodet
8a9e9b4b7d Forked projects are counted as projects leading to incorrect count, fixes #443 2021-07-06 10:22:45 +02:00
Guillaume Nodet
fb1af1d6e3 Minor improvements to the LockingEventSpy code 2021-07-06 08:33:10 +02:00
Guillaume Nodet
b7c6a8a58b Next is 0.5.3-SNAPSHOT 2021-06-18 16:24:27 +02:00
Guillaume Nodet
7c6cd4fcbc Release 0.5.2 2021-06-18 16:24:22 +02:00
Guillaume Nodet
268c705106 The build time event spy should aggregate values for each mojo, fixes #430 2021-06-16 16:20:19 +02:00
Guillaume Nodet
20e4d48ebc Fix tests on JDK 16 2021-06-15 15:37:12 +02:00
Guillaume Nodet
ce8c08fd4c Next is 0.5.2-SNAPSHOT 2021-06-04 11:23:14 +02:00