Commit Graph

1178 Commits

Author SHA1 Message Date
Stefan Oehme
bb1a4e1e89 Fix daemon connection race condition (#1071)
The Server was using a SynchrnousQueue to coordinate the main thread
and the background thread that receives the request from the client.
A SynchronousQueue only allows insertions when a corresponding call
to `get` is in progress. However, since the receiver thread is started
before the call to `get`, there was a short time window, where the call
to `queue.offer` could fail and simply return `false`. This return code
was ignored.

A possible solution would have been to call `put` instead of `offer`,
but I decided to replace the queue with a Future, since we only wait
for a single element.
2024-07-19 13:42:27 +02:00
dependabot[bot]
a9bbd5e2a1 Bump maven.resolver.version from 1.9.20 to 1.9.21 (#1073)
Bumps `maven.resolver.version` from 1.9.20 to 1.9.21.

Updates `org.apache.maven.resolver:maven-resolver-api` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

Updates `org.apache.maven.resolver:maven-resolver-impl` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

Updates `org.apache.maven.resolver:maven-resolver-spi` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

Updates `org.apache.maven.resolver:maven-resolver-util` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

Updates `org.apache.maven.resolver:maven-resolver-connector-basic` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

Updates `org.apache.maven.resolver:maven-resolver-transport-wagon` from 1.9.20 to 1.9.21
- [Release notes](https://github.com/apache/maven-resolver/releases)
- [Commits](https://github.com/apache/maven-resolver/compare/maven-resolver-1.9.20...maven-resolver-1.9.21)

---
updated-dependencies:
- dependency-name: org.apache.maven.resolver:maven-resolver-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven.resolver:maven-resolver-impl
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven.resolver:maven-resolver-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven.resolver:maven-resolver-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven.resolver:maven-resolver-connector-basic
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.maven.resolver:maven-resolver-transport-wagon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 07:27:04 +02:00
dependabot[bot]
bdead1c73f Bump groovy.version from 4.0.21 to 4.0.22 (#1061)
Bumps `groovy.version` from 4.0.21 to 4.0.22.

Updates `org.apache.groovy:groovy` from 4.0.21 to 4.0.22
- [Commits](https://github.com/apache/groovy/commits)

Updates `org.apache.groovy:groovy-all` from 4.0.21 to 4.0.22
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.groovy:groovy-all
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17 07:25:20 +02:00
dependabot[bot]
900e43c1eb Bump io.takari.maven:takari-smart-builder from 0.6.6 to 1.0.0 (#1069)
Bumps [io.takari.maven:takari-smart-builder](https://github.com/takari/takari-smart-builder) from 0.6.6 to 1.0.0.
- [Release notes](https://github.com/takari/takari-smart-builder/releases)
- [Commits](https://github.com/takari/takari-smart-builder/compare/takari-smart-builder-0.6.6...takari-smart-builder-1.0.0)

---
updated-dependencies:
- dependency-name: io.takari.maven:takari-smart-builder
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 18:10:26 +02:00
dependabot[bot]
c9cc5ab2aa Bump org.apache.maven:maven-parent from 42 to 43 (#1070)
Bumps [org.apache.maven:maven-parent](https://github.com/apache/maven-parent) from 42 to 43.
- [Release notes](https://github.com/apache/maven-parent/releases)
- [Commits](https://github.com/apache/maven-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 17:20:26 +02:00
dependabot[bot]
d433918982 Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 (#1064)
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.26.0 to 3.26.3.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.26.0...assertj-build-3.26.3)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 17:18:11 +02:00
dependabot[bot]
2c3c102e91 Bump org.apache.maven.plugins:maven-dependency-plugin (#1068)
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.7.0...maven-dependency-plugin-3.7.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 17:17:45 +02:00
Guillaume Nodet
df5a179269 [1.x] Fix user properties interpolation and maven.multiModuleProjectDirectory (fixes #1031) (#1056) 2024-07-16 17:16:31 +02:00
Stefan Oehme
a5a5eb5782 Separate message and exception by newline (#1055)
This was a small discrepancy to the output of vanilla Maven and made the output
hard to read, since the failure class name started right after the message without
any whitespace in between.
2024-07-16 17:16:12 +02:00
Tamas Cservenak
e12915de84 Next is 1.0.2-SNAPSHOT 2024-06-20 14:55:16 +02:00
Tamas Cservenak
621c13a190 [release] Release 1.0.1 1.0.1 2024-06-20 14:55:15 +02:00
Tamas Cservenak
c18a2eaeb6 Lower CPU requirements (#1041)
Using "compatibility" march.

Fixes #1029
2024-06-20 14:22:21 +02:00
Tamas Cservenak
0d11bf8730 [1.x] Fix win terminal (#1040)
Fixing terminal on Windows.

changes:
* added missing jline-native to dist
* up GraalVM to 22
* introduce `--diag` on client
* up SVM version, cleanup of GraalVM params

Fixes #1032
2024-06-20 14:18:09 +02:00
Tamas Cservenak
0e27c24acf [1.x] mixup in case of DISPLAY messages type (#1037)
ProjectEvent message mixup fixed.

Fixes #1036
2024-06-20 09:01:20 +02:00
Tamas Cservenak
6150ae34c8 Fix release candidate script 2024-06-18 10:03:37 +02:00
Tamas Cservenak
bd0b3075cd Port changes from master to mvnd-1.x 2024-06-17 16:56:41 +02:00
Tamas Cservenak
0e60f9ba39 Fix release candidate script (#1024)
Just use gh for all.
2024-06-14 16:06:17 +02:00
Tamas Cservenak
0d2c63ad0e Next is 1.0.1-SNAPSHOT 2024-06-14 14:43:38 +02:00
Tamas Cservenak
0cb7cbcbed [release] Release 1.0.0 1.0.0 2024-06-14 14:43:37 +02:00
Tamas Cservenak
47bdce9a98 Fix release workflow, part2 (#1023) 2024-06-14 14:42:04 +02:00
Tamas Cservenak
2fc06bfd05 Fix the release.yaml workflow (#1022)
Prevent conflicts among uploaded artifacts.
2024-06-14 14:20:53 +02:00
Tamas Cservenak
32514767ce Drop changelog, is off (#1021)
As we split mvnd in two branches (1.x vs 2.x), is
totally confused.
2024-06-14 13:39:34 +02:00
Tamas Cservenak
3b08972454 Remove this paragraph, is fixed and untrue, GH doies make all binaries. 2024-06-14 12:48:29 +02:00
Tamas Cservenak
69b301eba3 More script changes (#1020)
Changes:
* `release-build.sh`: Just do not push. This allows one to locally verify the outcome, and push (for now manually like `git push origin mvnd-1.x --tags`). Added reminder message.
* `release.yaml`: whenever mvn would resolve deps, make sure release settings XML is present. It does not stir anything if Maven is in Central, but as in this moment, maven is still staged only.
2024-06-14 12:45:30 +02:00
Tamas Cservenak
c963ea4cd9 For mvnd 1.0.0 the "main branch" is mvnd-1.x 2024-06-14 11:57:04 +02:00
Guillaume Nodet
2ec6f43baf Pin docker images used for native compilation (#1019)
* Pin docker images used for native compilation

* Update docker images

* Make mvnd-1.x buildable with Java 21 (#1018)

So far it was buildable ONLY with Java 17, but only due
single IT: it used old Quarkus version that refused to
work on Java 21.

Ported updates from mvnd master and now mvnd-1.x branch
can also be build without any problem with Java 21.

* Update RELEASING

* Adding two changed binaries as well

---------

Co-authored-by: Tamas Cservenak <tamas@cservenak.net>
2024-06-14 11:51:46 +02:00
Tamas Cservenak
04baad7387 Make mvnd-1.x buildable with Java 21 (#1018)
So far it was buildable ONLY with Java 17, but only due
single IT: it used old Quarkus version that refused to
work on Java 21.

Ported updates from mvnd master and now mvnd-1.x branch
can also be build without any problem with Java 21.
2024-06-14 08:57:54 +02:00
Tamas Cservenak
f32d00003a Fix deprecation warning about JAnsi Terminal (#1017)
And use JNI (and FFM) instead.

Changes:
* use DefaultClient from master (thanks @gnodet !)
* drop jansi (as DefaultClient should not depend on it)
* introduce two new jline3 terminal backends: jni and ffm (used on Java 22+)
* tested/verified (thanks @wendigo )
2024-06-13 21:48:27 +02:00
Tamas Cservenak
359cfeff10 Release binaries: linux amd64, macos amd64, macos aarch64, windows amd64 (#1016)
GH Action and related changes to finally cover all targeted OS/platforms with native binary.

Changes:
* no source change
* POM change: using released Maven 3.9.8 (and added access to staged Maven 3.9.8)
* Provide 4 plaf binaries: linux amd64, windows amd64, mac amd64 and mac aarch64
* adopt GH workflows for these changes (using "OS" alone is not enough)
* adopt generally GraalVM naming and use them consecutively
2024-06-13 17:05:00 +02:00
Tamas Cservenak
ab47c660da [1.x] Pre-release tidy-up (#1010)
Changes:
* no source changes
* (build) expel all versions from child modules: they must be all top level depMgmt or pluginMgmt
* (build) Top POM contains GAVs while child modules GA+scope. This tremendously simplifies maintenance.
* (javadoc) fix Javadoc errors

Updates:
* use latest Maven 3.9.8-SNAPSHOT (TS locked version, controlled deploy by me)
* AssertJ 3.26.0
* Takari Smart Builder 0.6.6
* Sisu 0.9.0.M3
* maven wrapper 3.3.2 w/ scripts

This brings mvnd-1.x in "releasable" state (once Maven 3.9.8 is out).
2024-06-13 10:04:50 +02:00
Guillaume Nodet
42e5786701 Remove staging repository 2024-05-27 08:18:54 +02:00
Tamas Cservenak
62ac4196f9 Backport of "Default value must be handled" (#1000)
Default must be manually handled, i missed this.

Fixes #912

Backport of #953 to mvnd-1.x
2024-05-22 16:37:49 +02:00
Tamas Cservenak
e4da0c0b9f Update deps (#999)
(same as on master, align with master)

Changes:
* ~roaster 2.29.0.Final~ (bytecode is banned by enforcer, is newer than allowed)
* testcontainers 1.19.8
* picocli 4.7.6
* jline 3.26.1
* javassist 3.30.2-GA
2024-05-22 16:18:11 +02:00
Tamas Cservenak
e4c574bb48 [1.x] Maven 3.9.7 (#997)
Plus some improvements, plugin updates and cleanups.

Changes:
* Maven 3.9.7 (staged, on vote)
* Maven Wrapper 3.3.1 + script updates
* maven-plugin-tools 3.13.0
* remove duplicate entry for maven-embedder (daemon)
* buildhelper-maven-plugin 3.6.0
* graalvm plugin 0.10.2
* provisio 1.0.25
* exec-maven-plugin 3.3.0
* backport `-itr` (Maven CLI)

Fixes #934
2024-05-22 14:45:18 +02:00
Tamas Cservenak
a172d93f5b Update provisio (#978)
To make it work with BF collector (that is default in mvn4) Also, remove defunct extensions.

Backport of 8d5d25006a
2024-04-29 10:17:20 +02:00
Guillaume Nodet
76c3cb57cc Switch back to support only Maven 3.9.x 2024-04-23 21:48:29 +02:00
Tamas Cservenak
a6dbd07ec4 Daemons should not swallow any exception (#969)
The "happy path" should happen without anything thrown, unsure why here runtime ex is rethrown, others swallowed.

Change: just remove the try/catch and make method throw Exception (diff best seen with whitespace ignored).

Fixes #957
Fixes #966
2024-04-23 10:03:20 +02:00
Tamas Cservenak
9bafc4b97d More cleanup (#967)
Changes:
* update maven-wrapper to 3.3.0
* do not override parent versions
* use properties where appropriate
2024-04-23 09:30:57 +02:00
Tamas Cservenak
d41d6a2709 Updates to build (dependabot reported) and other stuff (#951)
Most of cumulative things dependabot reported, plus more.

Changes:
* use plugins from parent (instead to double-maintain them here as well)
* general cleanup, add property where there are 2+ uses for it
* update plugins not present in parent
* non-key dependencies (maven3, maven4, graalvm not touched) updates
2024-04-19 16:26:23 +02:00
Tamas Cservenak
1fc7a988b9 Align mvnd m39 with Maven 3.9.x re config interpolation (#933)
Port Maven 3.9.7 config and new properties (session.root/top)
into Daemon m39.

The IT got this property as it triggers exception (failure)
if mvn39 could not "discover" top directory.

Fixes #910
2024-04-19 16:25:49 +02:00
Tamas Cservenak
8bb26402c1 Cumulative update of GH flow (#950)
Changes:
* Cumulative update of GH flow
* Graal update
* Add concurrency
* Add -V to see what maven is used
* Use same Java version for def build
* Apply @gzm55 advice
2024-04-19 15:23:45 +02:00
Tamas Cservenak
d23e0e88f6 Update to parent POM 42 (#932)
Changes:
* parent POM 42
* unset release where needed (makes com.sun pkg unreachable)
* explicitly index as parent disables "implicit" AP
* remove redundtant stuff
* update dependabot to take care of workflow as well (as mvnd uses own)
2024-04-18 19:40:05 +02:00
Tamas Cservenak
a1ac6660ec Ignore smart-builder core extension, if present. (#916)
Add new daemon param to ignore some extensions, make default to ignore takari-smart-builder as it is used by mvnd itself as well.

Fixes #912
2024-04-17 22:04:35 +02:00
Tamas Cservenak
d5d697c75d Maven DaemonCLI for 3 and 4 were not aligned (#915)
As comments are supported for both 3 and 4 but mvnd did not
support them in 3.
2024-03-29 10:24:12 +01:00
Nathan Sit
90b505a9e7 Update README.adoc 2024-03-18 14:19:32 +01:00
Sylwester Lachiewicz
f6a6747b04 Update commons-compress to 1.26.1 2024-03-17 17:52:15 +01:00
dependabot[bot]
ea62ae3514 Bump org.apache.activemq:apache-activemq
Bumps org.apache.activemq:apache-activemq from 5.16.0 to 5.16.6.

---
updated-dependencies:
- dependency-name: org.apache.activemq:apache-activemq
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-17 16:36:38 +01:00
Nathan Sit
1d246800d4 Update to mvn 3.9.6
Changes:
* Update mvn from 3.9.5 to 3.9.6
* Update resolver from 1.9.16 to 1.9.18
* Update surefire from 3.1.2 to 3.2.2
2024-03-15 16:10:27 +01:00
Guillaume Nodet
9ee1cf5cad Remove non fully supported installers (not part of the automated release process) 2023-11-07 09:39:02 +01:00
Guillaume Nodet
7dbb194985 Generate sha512 checsums 2023-11-07 09:33:04 +01:00