Commit Graph

27 Commits

Author SHA1 Message Date
Tamas Cservenak 5b7a6de55a
[MNG-8421] Move all of logging setup to LookupInvoker; mvnenc IT (#1964)
Currently mvnenc is unable to log to file (-l) as logging setup is incomplete, move all of this logic to LookupInvoker. Also, create prompt in mvnenc only when needed. Finally, implement needed changes to support mvnenc ITs and add mvnenc IT.

Other changes:
* get rid of `distributionFileName` dirty hack, is remnant from old ITs
* fix CI re removal of that above and use of site that is brain-dead

---

https://issues.apache.org/jira/browse/MNG-8421
2024-12-12 09:43:12 +01:00
Tamas Cservenak 01e47259d2
IT: Streamline ITs more (#1952)
Changes:
* remove unneeded POM cruft
* remove embedded profile (is default) introduce forked profile
* CI: drop "embedded" profile use
2024-12-05 17:03:20 +01:00
Tamas Cservenak e74bde05c9
[MNG-8403] Maven ITs use maven-executor (#1940)
The goal of this PR is manifold, but major one is to be able to use in ITs new options introduced in Maven4. Currently the "embedded" mode supports only Maven3 options, as Maven4 got new CLI entry point (CLIng), while verifier uses old MavenCli entry point, that is also deprecated. Finally, a full cleanup of (black) magic happened as well, keep ITs simple and clean.

Changes:
* dropped from ITs classpath maven-shared-util
* dropped from ITs classpath maven-verifier, copied last master Verifier to maven-it-helper and modified
* enhancements to new maven-executor to make it fully replace maven-verifier
* ITs are now using new infra and are using new CLIng "entry point" as well (so far ITs used deprecated maven-embedder/MavenCLI class).

---

https://issues.apache.org/jira/browse/MNG-8403
2024-12-05 09:02:41 +01:00
Guillaume Nodet 8a88a40c8d
Fix CI cache for ITs (#1934) 2024-11-22 11:28:24 +01:00
Guillaume Nodet 12b3dae3ce
Add CI cache (#1914)
* Add cache for all steps
* Pass through the maven.repo.loca.tail property
2024-11-17 15:50:32 +01:00
Guillaume Nodet 75258afcc6 Integrate into maven's build 2024-11-05 16:56:49 +01:00
Slawomir Jaranowski e7ca0684cc Use Maven Wrapper to build 2024-06-03 19:58:28 +02:00
Slawomir Jaranowski 40448e758b Allow to manually execute GitHub Action 2024-06-03 17:05:30 +02:00
Benjamin Marwell 2bfa3a8fae
[MNG-8061] Maven: Require Java 17 (#1430) 2024-03-03 22:28:30 +01:00
huazhongming 70509586f8
[MNG-8046] Upgrade github action version from v3 to v4 (#1405)
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-10 21:59:51 +08:00
huazhongming b3ec995848
[MNG-8013] Integration testing process logs can be output github artifact (#1375)
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-02-05 11:02:11 +08:00
Guillaume Nodet 07db6ec76a
[MNG-7911] Require JDK 11 and support JDK 21 at build time (#1278) 2023-10-16 13:25:27 +02:00
Guillaume Nodet f24266eb64
[MNG-7836] Support alternative syntaxes for POMs (#1197)
The IT associated with this PR is using the Maven model to generate a hocon POM parser.  This requires the maven-api-model module to attach the POM as an artifact, and the maven.yml change so that the model is present in the local repository.
2023-09-22 09:25:10 +02:00
Slawomir Jaranowski 20f7c65a52 Execute IT tests with clean local repository 2023-01-17 19:48:48 +01:00
Slawomir Jaranowski a6b1ebb1cd Update actions in GH build
Old actions use deprecated node 12

- cache v2 -> v3
- checkout v2 -> v3
- download-artifact v2 -> v3
- setup-java v2 -> v3
- disable access to GITHUB_TOKEN
- don't store credentials with checkout
- don't execute build for PR from local repository branches - we have build on push event
2022-11-16 08:36:53 +01:00
Hervé Boutemy f793d862e3 [MWRAPPER-14] remove Maven Wrapper from core 2021-12-26 17:42:35 +01:00
Hervé Boutemy ede86ab4b6 [MNG-6914] move apache-maven-wrapper to its own separate Maven module 2021-10-16 19:44:39 +02:00
Sylwester Lachiewicz c825b97bf7 (doc) Update GH build config - bump 17-ea to 17, use new setup-java@2 action 2021-10-10 11:38:50 +02:00
Maarten Mulders f4009a1c0a
Run GitHub actions integration tests with Java 17-ea (#466) 2021-04-18 20:17:30 +02:00
Maarten Mulders 521c4c2588
Run GitHub actions integration tests with Java 16 (#456) 2021-04-04 21:33:14 +02:00
Martin Kanters 2ef0e5bacc Upgrade github actions cache and use m2 cache for integration testing as well 2020-12-15 09:39:35 +01:00
Martin Kanters d98844cfdf [MNG-7004] Replacing set-env in the GitHub Actions workflow with the new way to set environment variables, since set-env is deprecated. 2020-10-23 17:14:14 +02:00
Martin Kanters 0e3c7a433f [MNG-6949] Get the correct PR origin user and branch name from the GitHub Actions context, in order to run the matching integration tests repo and branch.
Closes #377
2020-09-23 13:06:56 +02:00
Maarten Mulders 2c3949cf1a Run Github CI builds with Java 8, 11, 15 and 16-ea
Closes #376
2020-09-20 19:50:56 +02:00
Olivier Lamy 4de92e4ed1
add 15-ea build 2020-08-17 17:57:59 +10:00
Maarten Mulders 3b442badfc [MNG-6949] Run integration tests on large matrix, build on small one.
Integration tests now run on Java 8, 11 and 14 with Windows, macOS and Linux.
2020-07-01 12:06:54 +02:00
Martin Kanters c9d1788f76 [MNG-6949] Add a GitHub Actions Workflow for building and integration testing changes 2020-07-01 12:06:54 +02:00