Commit Graph

267 Commits

Author SHA1 Message Date
Guillaume Nodet
47d4c6b9c3 [release] Release 1.0-m6 2023-03-23 09:59:27 +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
Guillaume Nodet
89e41a23ec Use system out for build log and sys err for in progress display, fixes #822 (#824) 2023-03-21 14:33:51 +01:00
Guillaume Nodet
4d24010f55 Prompter prompt should not prepend the projectId when there's only one project, fixes #816
Also make sure the daemon prompter log only goes to the daemon log
2023-03-14 13:52:47 +01:00
Petr Široký
e1815e52a3 Minor clean-up in OsUtils
* fix typo in method names
 * add a test for the other *toHumanReadable method
 * replace StringBuilder usage with simple concatenation
   where applicable (for fixed length strings)
2023-03-12 23:08:32 +01:00
Petr Široký
3657375e97 Use String.join() instead of Collectors.joining() where applicable
* the String.join() is more readable and there should not be any
   downsides (like performance or so)
2023-03-12 23:08:32 +01:00
Petr Široký
50653ae7d9 logging: use format specifiers instead of string concatenation 2023-03-12 23:08:32 +01:00
Stefan Oehme
0b55c8f3e6 Add property to disable model caching
This is mostly for the integration tests of the Gradle Enterprise Maven extension,
which heavily test dependency resolution and reuse the same GAVs in many test,
e.g. a🅱️1.0. It would be a lot of effort to rewrite all those tests and a shame
to restart the daemon every time. So I wanted to ask if you'd consider this flag
to disable the caching altogether.
2023-03-02 22:42:36 +01:00
Stefan Oehme
1bcfc29d45 Make Classworld setup more alike to vanilla Maven (#784)
Use the plexus Launcher to start the daemon server, just like we would
launch a normal Maven process.

This improves compatibility with any extensions or plugins that assume that
their ClassLoader is a ClassRealm.
2023-02-14 17:06:34 +01:00
Guillaume Nodet
11c6567bdd Next is 1.0.0-m5-SNAPSHOT 2023-01-28 14:41:03 +01:00
Guillaume Nodet
f01c3ff97a [release] Release 1.0.0-m4 2023-01-28 14:35:11 +01:00
Guillaume Nodet
8e92805e30 Next is 1.0.0-m4-SNAPSHOT 2023-01-28 14:27:02 +01:00
Guillaume Nodet
35d3e842af [release] Release 1.0.0-m3 2023-01-28 14:26:51 +01:00
Guillaume Nodet
44ea9d84ff Next is 1.0.0-m3-SNAPSHOT 2023-01-28 10:16:22 +01:00
Guillaume Nodet
cef086fb3d [release] Release 1.0.0-m2 2023-01-28 10:16:08 +01:00
Guillaume Nodet
4f90d558b2 Attempt at moving mvn as first class citizen in mvnd distribution, #392 (#769) 2023-01-24 10:50:40 +01:00
Guillaume Nodet
b2bd0aaae5 Fix system out / err streams when redirecting to file (#779) 2023-01-24 08:19:05 +01:00
Guillaume Nodet
19cc6c42b7 Make connection timeouts configurable, fixes #772 (#778) 2023-01-23 19:56:49 +01:00
Guillaume Nodet
f3c336adb9 Fix spotless config to include all java files (#768) 2023-01-10 18:39:29 +01:00
Guillaume Nodet
554e82a6a1 Next is 1.0.0-SNAPSHOT 2022-12-16 12:57:35 +01:00
Guillaume Nodet
7586cf2b0c [release] Release 1.0.0-m1 2022-12-16 12:08:31 +01:00
Guillaume Nodet
89841adbcb Upgrade to maven parent 39 and reformat accordingly 2022-12-16 11:38:47 +01:00
Guillaume Nodet
55236739f8 Add a mvnd.rawStreams property (#719) 2022-12-16 11:33:59 +01:00
Guillaume Nodet
39ee2b6014 Move signal handling into its own class (#754)
This opens some room to per-jdk implementation
2022-12-16 11:11:04 +01:00
Guillaume Nodet
7a788bb86f Add an option to specify the debug address and display info when starting (fixes #737) (#753) 2022-12-16 08:39:39 +01:00
Guillaume Nodet
cc2181ebdb Revert "Always display failed and main project at the end (fixes #723) (#724)"
This reverts commit fd3f20ef96.

After using it a bit, the output is rather worse, so let's revert until a better solution is found.
2022-12-15 21:45:54 +01:00
Guillaume Nodet
adbf836768 Fix the common jar not being built with the multi-release flag 2022-12-15 19:27:55 +01:00
James Z.M. Gao
f8d047bdae Use muti-release jar to fallback mvnd-client to original maven (#722)
* Use muti-release jar to fallback mvnd-client to original maven

The mvnd-client is built to a muti-release jar. The default version of
    DefaultClient is compiled against the same target version as the
   embedded maven (4.x, so JDK 1.8) which only invoke the MavenCli.main(). 
The java-11 version is the full qualified mvnd-client.

* update cmd scripts

* embedded maven now works under JDK 1.8

Build SimpleAppender for JDK 1.8 since it is the log appender only
   for the embedded maven

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-14 17:41:02 +01:00
Guillaume Nodet
fd3f20ef96 Always display failed and main project at the end (fixes #723) (#724) 2022-12-14 09:34:24 +01:00
Peter Palaga
031c263232 Fixup #716 Calculate java home from java command (#721)
* Add a test
* Simplify the stream processing

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-14 00:35:10 +01:00
Guillaume Nodet
2b8076d1ed Support redirecting input from client to daemon, #541 (#581)
The implementation currently switches on the redirection when the daemon actually starts reading the System.in stream using InputStream.read() or InputStream.available().
2022-12-13 23:59:35 +01:00
Guillaume Nodet
2a8d18d119 Display plugin's goal prefix and version instead of artifactId (#748)
* Display plugin's goal prefix and version instead of artifactId
* Default to groupId:artifactId if goalPrefix is not present
2022-12-13 23:58:58 +01:00
Guillaume Nodet
25b5117749 Clean up some warnings during the build (#750) 2022-12-13 23:00:11 +01:00
Guillaume Nodet
bc021d0577 Fix daemon JVM start options (follow-up to #749) (#751) 2022-12-09 23:58:13 +01:00
Stefan Oehme
866a7c6f3f Add more discriminating properties to the daemon
The local repo and maven settings are both used while resolving core extensions,
which happens during daemon startup. Thus these two also need to be discriminating
properties, as the core extensions themselves are discriminating.
2022-12-08 23:02:02 +01:00
Guillaume Nodet
a14a1eb80f Reformat 2022-11-22 15:44:53 +01:00
Guillaume Nodet
5a8f29cf6f Switch master to 1.0.0-SNAPSHOT 2022-11-19 16:17:44 +01:00
James Z.M. Gao
c94ee72a30 Calculate java home from java command (#716) 2022-10-16 20:26:35 +02:00
Nicolas Filotto
e1e5c088af Release the read lock in a finally block (#703) 2022-10-16 20:14:54 +02:00
Guillaume Nodet
f2224cb563 Next is 0.9.0-SNAPSHOT 2022-10-04 09:06:03 +02:00
Guillaume Nodet
2bba2d6a4d [release] Release 0.8.2 2022-10-04 09:05:56 +02:00
Guillaume Nodet
da369cfe0d Next is 0.9.0-SNAPSHOT 2022-10-04 07:51:14 +02:00
Guillaume Nodet
a9f7d1156f [release] Release 0.8.2 2022-10-04 07:51:08 +02:00
Thorsten Heit
a8e72a1b25 Fix for JUnit test failing on Windows (fixes #695) 2022-10-03 08:08:32 +02:00
Tamas Cservenak
641ad93da3 Fixes module id coloring on Maven transfer. (#686)
* Fixes module id coloring on Maven transfer.

The module id coloring was not consistent during transfer
and it caused "vibrating" effect.

* PR comments
2022-09-20 10:09:49 +02:00
Guillaume Nodet
309d0c7eff Next is 0.9.0-SNAPSHOT 2022-09-08 11:39:54 +02:00
Guillaume Nodet
821c6a54a2 [release] Release 0.8.1 2022-09-08 11:39:51 +02:00
Guillaume Nodet
0299a38264 Simplify the InterpolationHelper, use 'env.' to align with maven #676 2022-08-30 11:30:15 +02:00
Guillaume Nodet
5e59c40453 Ability to configure the daemon storage location, fixes #673 (#678) 2022-08-29 23:15:15 +02:00