Commit Graph

309 Commits

Author SHA1 Message Date
Tamas Cservenak
92cbc7d6cf Update Maven to 4.0.0-alpha-3 and Maven Resolver to 1.9.2 (#742)
https://issues.apache.org/jira/browse/MNG-7586

* Remove CliMavenPluginManager which has the changed needed in alpha-3
* Align slf4j api with maven
* Make sure the invoker being called from IT reuses the settings from the invoker running the IT
* Fix IT when mrm is disabled
* Fix InvalidingPluginRealmCache

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-15 19:26:58 +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
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
Stefan Oehme
eedcb77e3c 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.
2022-12-07 18:05:50 +01:00
Guillaume Nodet
e91c780c18 Clean up and upgrade dependencies/plugins versions (#741) 2022-11-23 13:23:10 +01:00
Guillaume Nodet
d1d3cb0f65 Fix possible NullPointerException 2022-11-23 10:16:27 +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
5a8f29cf6f Switch master to 1.0.0-SNAPSHOT 2022-11-19 16:17:44 +01: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
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
Guillaume Nodet
8c9d1673de SimpleAppender omits stacktraces (fixes #696) (#700) 2022-10-03 11:25:10 +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
378a776166 Fix plugins' parent classloader to not include libraries, fixes #681 (#683) 2022-09-08 06:15:13 +02:00
Guillaume Nodet
1327fe2af4 Cleanup (#650)
* Improve reproducibility of builds by using digest on docker images
* Inline the manifest Multi-Release entry
* Remove unused files
* Switch the groupId to org.apache.maven.daemon and use maven parent pom
* Fix distribution
* Fix ITs
* Fix native build for windows
2022-06-15 08:09:12 +02:00
Guillaume Nodet
dddc3e60f1 Next is 0.8.1-SNAPSHOT 2022-05-04 14:22:05 +02:00
Guillaume Nodet
2cfffe23ee [release] Release 0.8.0 2022-05-04 14:22:01 +02:00
Guillaume Nodet
e3bff92c95 Use sisu apt processor (#636) 2022-05-04 10:20:32 +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
Hervé Boutemy
d3d83bad37 prepare Reproducible Builds (#626) 2022-05-02 11:14:07 +02:00
Guillaume Nodet
30c41aa8d5 Next is 0.8.1-SNAPSHOT 2022-04-29 17:31:50 +02:00
Guillaume Nodet
709ac3f888 [release] Release 0.8.0 2022-04-29 17:31:45 +02:00
Guillaume Nodet
c1393eac4d Next is 0.8.1-SNAPSHOT 2022-04-29 16:26:06 +02:00
Guillaume Nodet
0dc83af8f6 [release] Release 0.8.0 2022-04-29 16:26:01 +02:00
Guillaume Nodet
72cb8343d9 Next is 0.8.1-SNAPSHOT 2022-04-29 13:43:13 +02:00
Guillaume Nodet
4e5be51e4f [release] Release 0.8.0 2022-04-29 13:43:07 +02:00
Guillaume Nodet
73b99b89b1 Next is 0.8.1-SNAPSHOT 2022-04-29 13:25:18 +02:00
Guillaume Nodet
d567f1d140 [release] Release 0.8.0 2022-04-29 13:25:13 +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
dd193f1b6b Next is 0.8.1-SNAPSHOT 2022-04-27 22:08:56 +02:00
Guillaume Nodet
c1039a6d67 [release] Release 0.8.0 2022-04-27 22:08:52 +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
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