Guillaume Nodet
378a776166
Fix plugins' parent classloader to not include libraries, fixes #681 ( #683 )
2022-09-08 06:15:13 +02:00
Tamas Cservenak
53751d2069
Drop Maven dupe classes ( #633 )
...
That has been fixed in Maven version used by mvnd.
Last bit is MavenCli/DaemonCli that is currently
"almost" a copy, but they do not share any code.
2022-05-03 17:53:30 +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
Tamas Cservenak
d2365ee166
Mvnd with file locking ( #508 )
...
* Update mvnd to include Maven Resolver 1.7
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.
* Move missing piece to SPI
* Add global exclusions
* Example of mvnd using file locking (of resolver)
* Drop irrelevant
* Upgrade to released 1.7.3
Co-authored-by: Guillaume Nodet <gnodet@gmail.com >
2022-04-11 13:29:42 +02:00
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
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
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
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
268c705106
The build time event spy should aggregate values for each mojo, fixes #430
2021-06-16 16:20:19 +02:00
Guillaume Nodet
24af2d9a30
Merge pull request #420 from gnodet/i418
...
Parallel build fails due to missing JAR artifacts in compilePath
2021-06-04 09:57:44 +02:00
Guillaume Nodet
f663398ce5
Merge pull request #421 from gnodet/i419
...
Fix concurrent build of projects when using forked lifecycles
2021-06-04 09:57:35 +02:00
Guillaume Nodet
2db9e89f83
Fix the environment update, fixes #422
2021-06-02 16:57:28 +02:00
Guillaume Nodet
71631fd191
Parallel build fails due to missing JAR artifacts in compilePath, fixes #418
2021-06-02 11:11:00 +02:00
Guillaume Nodet
41a380bff1
Fix concurrent build of projects when using forked lifecycles, fixes #419
2021-06-02 08:02:27 +02:00
Guillaume Nodet
1c202e80d1
Make sure the current directory is changed when processing a new maven request, fixes #397
2021-05-20 14:22:44 +02:00