Guillaume Nodet
8d2ae6da4d
Attempt at moving mvn as first class citizen in mvnd distribution, #392 ( #769 )
...
# Conflicts:
# dist/src/main/provisio/maven-distro.xml
2023-01-24 16:56:55 +01:00
Guillaume Nodet
33422a36fc
Fix system out / err streams when redirecting to file ( #779 )
2023-01-24 16:41:53 +01:00
Guillaume Nodet
b8028d2e10
Make connection timeouts configurable, fixes #772 ( #778 )
2023-01-24 16:41:43 +01:00
Guillaume Nodet
34004ebc77
Upgrade to sisu 0.9.0.M1 and surefire 3.0.0-M8
2023-01-19 13:11:45 +01:00
Guillaume Nodet
08c8c54a12
Upgrade to assertj 3.24.2, graalvm 22.3.1, groovy 4.0.7, junit 5.9.2, xstream 1.4.20, ockback 1.2.11, slf4j 1.7.36
...
# Conflicts:
# pom.xml
2023-01-18 15:52:32 +01:00
Guillaume Nodet
dceb0b805e
Upgrade maven wrapper to 3.1.1 and latest maven
2023-01-18 02:23:07 +01:00
Guillaume Nodet
7445188512
Upgrade jline to 3.22.0 ( #775 )
2023-01-18 02:01:04 +01:00
Peter Palaga
21b0daa052
Exclude test and cache filed from apache-rat-plugin checks
2023-01-18 02:00:51 +01:00
Guillaume Nodet
d1ce733c3b
Fix spotless config to include all java files ( #768 )
...
# Conflicts:
# client/src/main/java-fallback/org/mvndaemon/mvnd/client/DefaultClient.java
2023-01-18 01:59:50 +01:00
Guillaume Nodet
a31a080948
Upgrade to maven 3.8.7
2023-01-06 14:17:57 +01:00
Guillaume Nodet
e9fd7ee032
Typo
2023-01-06 13:57:02 +01:00
Guillaume Nodet
4e6a1e837c
Upgrade to maven parent 39 and reformat accordingly
...
# Conflicts:
# daemon/src/main/java/org/apache/maven/project/CachingProjectBuilder.java
# daemon/src/main/java/org/mvndaemon/mvnd/plugin/CachingPluginVersionResolver.java
# daemon/src/main/java/org/mvndaemon/mvnd/syncontext/DaemonNamedLockFactoryAdapterFactoryImpl.java
2023-01-06 13:56:26 +01:00
Guillaume Nodet
91f377d70b
Add a mvnd.rawStreams property ( #719 )
2023-01-06 13:55:01 +01:00
Guillaume Nodet
852e4e5535
Move signal handling into its own class ( #754 )
...
This opens some room to per-jdk implementation
2023-01-06 13:35:39 +01:00
Guillaume Nodet
5eebb89d82
Add an option to specify the debug address and display info when starting ( fixes #737 ) ( #753 )
2023-01-06 13:35:16 +01:00
Guillaume Nodet
740f914098
Fix the common jar not being built with the multi-release flag
2023-01-06 13:35:10 +01:00
James Z.M. Gao
b81c8568a8
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 >
# Conflicts:
# pom.xml
2023-01-06 13:34:55 +01:00
Plamen Totev
ee43e50b4b
Improve the README file ( #734 )
...
There is wide spread misconception that in order to build a Maven project
the command is `mvn clean install`.
It would be better to promote the right way (in the vast majority of the cases)
to build a Maven project.
`mvnd verify` aligns with Maven documentation as well,
where the example command is `mvn verify`.
2023-01-06 13:34:22 +01:00
Peter Palaga
2220b01207
Fixup #716 Calculate java home from java command ( #721 )
...
* Add a test
* Simplify the stream processing
Co-authored-by: Guillaume Nodet <gnodet@gmail.com >
2023-01-06 13:34:11 +01:00
Guillaume Nodet
c9dec66723
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().
2023-01-06 13:34:03 +01:00
Guillaume Nodet
724d1fec21
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
2023-01-06 13:33:42 +01:00
James Z.M. Gao
1ab67841d2
Build mostly static native image, loose linux glibc requirement to 2.12 ( #730 )
2023-01-06 13:33:39 +01:00
Guillaume Nodet
5af94b596e
Clean up some warnings during the build ( #750 )
2023-01-06 13:33:28 +01:00
Guillaume Nodet
f2117ccfff
Fix daemon JVM start options (follow-up to #749 ) ( #751 )
2023-01-06 13:33:24 +01:00
Stefan Oehme
21383df304
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.
2023-01-06 13:33:21 +01:00
Stefan Oehme
3be232595f
Reset system properties after calling event syps ( #729 )
...
Event spies may want to read system properties, which will fail if they are reset
too early. This change makes the behavior consistent with regular Maven.
2023-01-06 13:33:17 +01:00
Guillaume Nodet
60de2a84b9
Update ITs to recent maven plugins ( #744 )
...
* Switch ITs to surefire 3.0.0-M7
* Upgrade other plugins in ITs
* Upgrade quarkus and jandex
2023-01-06 13:33:12 +01:00
Guillaume Nodet
3443ce3294
Clean up and upgrade dependencies/plugins versions ( #741 )
...
# Conflicts:
# pom.xml
2023-01-06 13:32:54 +01:00
Guillaume Nodet
0d04291df0
Fix usage of the wrong groovy plugin
2023-01-06 13:30:53 +01:00
Guillaume Nodet
790830daed
Switch graalvm to 22.3.0
2023-01-06 13:30:50 +01:00
Guillaume Nodet
bbffbd3651
Fix possible NullPointerException
2023-01-06 13:30:45 +01:00
Guillaume Nodet
fbf6dd16cb
Ignore reformat commit in git blame
2023-01-06 13:30:30 +01:00
Guillaume Nodet
e95bd93dca
Reformat
2023-01-06 13:26:18 +01:00
Guillaume Nodet
af189641a6
Upgrade parent pom to 38
...
# Conflicts:
# pom.xml
2023-01-06 13:25:31 +01:00
Guillaume Nodet
6e2ba24ed2
Upgrade maven-shade-plugin to 3.4.1
2023-01-06 13:24:50 +01:00
Guillaume Nodet
7be6bd004d
Upgrade to groovy 4 to allow building on recent JDK ( #735 )
2023-01-06 13:23:29 +01:00
James Z.M. Gao
e50eedf018
Sync entry scripts with maven 3.8.6 ( #711 )
2022-10-16 21:31:47 +02: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
Willem Jiang
b408dea606
Fixed a typo of build mvnd in README ( #709 )
2022-10-16 09:24:48 +02:00
Guillaume Nodet
39819a3290
Update release scripts
2022-10-10 18:30:44 +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
0.8.2
2022-10-04 09:05:56 +02:00
Guillaume Nodet
2f4ff6334a
Upload tar.gz along with zip during release
2022-10-04 08:30:35 +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
Guillaume Nodet
5ca0155141
Update RELEASING.adoc
2022-10-03 23:10:29 +02: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
48ca793014
Fix duplicate space in doc
2022-10-03 21:08:57 +02:00
Guillaume Nodet
192affadc6
Fix maven extensions' parent classloader ( fixes #690 ) ( #702 )
2022-10-03 15:19:50 +02:00