Commit Graph

108 Commits

Author SHA1 Message Date
Guillaume Nodet 781d19d9f1
[MNG-8410] Rename maven-api-meta to maven-api-annotations (#1957) 2024-12-10 22:43:27 +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
Tamas Cservenak 0bf1ca18b8
The IT properties creeped in into main build (#1935)
This prevents release.
2024-11-25 11:53:54 +01:00
Tamas Cservenak 88c6ff5e7e
IT: Consolidate ITs somewhat (#1924)
Align versions where possible, remove dead stuff.

Ant based Mojos were deprecated in Maven3 era, and
this is Maven4, so no need to test this. Is full
of ancient artifacts anyway.
2024-11-19 14:30:27 +01:00
dependabot[bot] 0ef049c748
Bump org.codehaus.plexus:plexus-component-metadata from 2.1.1 to 2.2.0 (#1905)
Bumps [org.codehaus.plexus:plexus-component-metadata](https://github.com/codehaus-plexus/plexus-containers) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/codehaus-plexus/plexus-containers/releases)
- [Changelog](https://github.com/codehaus-plexus/plexus-containers/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/codehaus-plexus/plexus-containers/compare/plexus-containers-2.1.1...plexus-containers-2.2.0)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-component-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 08:34:18 +01:00
dependabot[bot] 11c235eafe
IT: Bump org.codehaus.plexus:plexus-component-annotations (#1878)
Bumps [org.codehaus.plexus:plexus-component-annotations](https://github.com/codehaus-plexus/plexus-containers) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/codehaus-plexus/plexus-containers/releases)
- [Changelog](https://github.com/codehaus-plexus/plexus-containers/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/codehaus-plexus/plexus-containers/compare/plexus-containers-2.1.1...plexus-containers-2.2.0)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-component-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 16:02:14 +01:00
dependabot[bot] de4bba8787
IT: Bump org.junit.jupiter:junit-jupiter from 5.8.0 to 5.11.3 (#1894)
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.8.0 to 5.11.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.11.3)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 12:10:52 +01:00
Tamas Cservenak a836e898b0
IT: cleanup (#1886)
Yet another round

Changes:
* get rid of Guava (2 classes affected)
* align dependencies
* align plugins
2024-11-07 12:43:46 +01:00
dependabot[bot] fb43bde8a2
Bump org.apache.maven.plugins:maven-scm-publish-plugin from 1.1 to 3.3.0 (#1876)
Bumps [org.apache.maven.plugins:maven-scm-publish-plugin](https://github.com/apache/maven-scm-publish-plugin) from 1.1 to 3.3.0.
- [Commits](https://github.com/apache/maven-scm-publish-plugin/compare/maven-scm-publish-plugin-1.1...maven-scm-publish-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-scm-publish-plugin
  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-11-06 13:58:36 +01:00
Guillaume Nodet 75258afcc6 Integrate into maven's build 2024-11-05 16:56:49 +01:00
Slawomir Jaranowski 6de0ea10df Bump Maven to 3.9.7 on GH build 2024-06-01 19:02:13 +02:00
Slawomir Jaranowski ab9aca341b Update parent to 41 2023-11-18 10:50:43 +01:00
Guillaume Nodet cf71c396dd Require JDK 11 and support JDK 21 at build time (#310)
* Support JDK 21

* Update groovy to latest

* Drop jdk 8, add jdk 11 and 21
2023-10-16 13:24:46 +02:00
Guillaume Nodet 386efc3d6c Reformat 2023-06-05 08:54:28 +02:00
Guillaume Nodet aedbb150f5 Upgrade to parent 39 2023-06-05 08:54:28 +02:00
Michael Osipov 9b63abec33 Upgrade to Maven Surefire 3.0.0-M9 2023-02-20 23:03:14 +01:00
Tamas Cservenak 11e8501adb Fix plexus-component-metadata plugin version (#229)
A parent POM have it removed, but the plgMgmt does
not have this entry of IT project.
2023-01-12 13:07:09 +01:00
Guillaume Nodet 59f503bece Modernize IT plugins to use annotations (#184)
* Modernize IT plugins to use annotations

* Align some tests to maven 3.8.6

# Conflicts:
#	core-it-suite/src/test/resources-filtered/bootstrap.txt
#	core-it-suite/src/test/resources/mng-3221/report/pom.xml
#	core-it-suite/src/test/resources/mng-3428/pom.xml
#	core-it-suite/src/test/resources/mng-3530/build-path/plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3530/pom-property/plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3530/resource-object/plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3704/maven-mng3704-plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3743/plugins/maven-mng3743-check-plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3743/plugins/maven-mng3743-report-plugin/pom.xml
#	core-it-suite/src/test/resources/mng-3743/project/pom.xml
#	core-it-suite/src/test/resources/mng-4086/repo/org/apache/maven/its/mng4086/maven-it-plugin-a/0.1/maven-it-plugin-a-0.1.pom
#	core-it-suite/src/test/resources/mng-4086/repo/org/apache/maven/its/mng4086/maven-it-plugin-a/0.2-SNAPSHOT/maven-it-plugin-a-0.2-20090315.124508-1.pom
#	core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/pom.xml
#	core-it-suite/src/test/resources/mng-7310-lifecycle-activated-in-specified-module/project/pom.xml

* Add dependencies on all support artifacts to ensure multithreaded builds can use correct ordering

* Add missing dependencies on plexus-utils

* Fix for mng-7335 test

* Fix ITs for maven 4

* Rename Component -> TestComponent to leave room for the annotation

* Upgrade a few plugin versions

* Upgrade some JDK requirements to 1.8

* Remove unwanted parentheseses

* Convert the last mojo to annotations

* Force timestamped build

* Fix ITs following Component -> TestComponent rename

* Remove commented block

* Remove versions infered from plugin management

* The implementation parameter is not supported anymore

* Align maven core version

* Fix bad merge
2023-01-11 13:35:56 +01:00
Guillaume Nodet 77a2226aa1 Allow running the it suite with mvn4 (#203) 2022-10-07 08:27:22 +02:00
Guillaume Nodet 3b98814f9e Make sure the rat plugin is only run once on the parent 2022-10-07 08:17:04 +02:00
Guillaume Nodet 6e8ff2d151 Move ITs to JDK 8 / JUnit 5 (#176)
* Move ITs to JDK 8 / JUnit 5
* Add missing tests, move disabled test comments to the test itself
* Add unreferenced tests (Unreferenced tests are automatically added at the beginning, but it looks more coherent to add them anyway)
* Reset verifier to run fresh test in MNG-5581
* Remove useless lines
* Minimize changes in imports

Co-authored-by: Michael Osipov <michaelo@apache.org>
2022-09-30 22:23:04 +02:00
Michael Osipov 13b14eb4a3 [MNG-7549] Upgrade Core ITs to Maven Verifier 2.0.0-M1
Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>

This closes #202
2022-09-28 11:34:03 +02:00
Marc Wrobel d98b1842d5 Fix minor typos
Fix various minor typos in :

- project documentations,
- javadoc and comments,
- test class and method names,
- exception messages.
2022-07-19 19:36:32 +02:00
Guillaume Nodet 6b72f2f9a5 Upgrade to JDK8, use a plugin to download all dependencies to bypass conflict resolution (#178) 2022-07-01 20:54:18 +02:00
Slawomir Jaranowski c6079bb5a6 Upgrade maven-verifier to 1.8.0
- upgrade maven-verifier
- remove code implemented in maven-verifier
- replace deprecated methods
2022-05-19 16:28:13 +02:00
Hervé Boutemy 6d5b007d19 fix "edit" link to markup source and bootstrap doc on ITs Suite deps 2022-01-16 11:04:15 +01:00
Hervé Boutemy e4b2fc737f document addition resolution groups, fix javadoc, upgrade parent 2022-01-16 01:56:01 +01:00
Michael Osipov 6b0efd992c Trim trailing whitespace 2020-12-24 00:31:14 +01:00
Hervé Boutemy f5eb5bda4c update ASF CI url 2020-08-29 14:15:02 +02:00
rfscholte 0ac723e2a6 [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
rfscholte ee290b5e36 Update maven-verifier to 1.7.1
Fix MavenITmng3810BadProfileActivationTest, target/profile.properties was never created
2020-04-07 19:27:14 +02:00
rfscholte bf7e8f5ec4 http to central not supported anymore, switch to https 2020-01-15 22:00:12 +01:00
Karl Heinz Marbaise d2342c1f87 Removed scm parts which are inherited and fixed GitHub URL. 2019-12-28 23:02:57 +01:00
Hervé Boutemy fdfc9c581e clarify Core ITs vs Core IT Support vs Core ITs Suite 2019-08-23 23:42:19 +02:00
rfscholte 010191c7b4 [INFRA-18812] Revert unnecessary commits after fixing root cause 2019-08-05 18:30:03 +02:00
tibordigana c7d1df20ae Ensure any forked Maven executions are not spied on by Jenkins 2019-08-01 09:11:57 +02:00
rfscholte f4602fabc0 Upgrade maven-surefire-plugin to 2.22.0 to support Java 10 2018-07-18 22:17:08 +02:00
Hervé Boutemy 76b928f056 [INFRA-16467] move components documentation out of CMS space 2018-06-19 00:35:18 +02:00
Hervé Boutemy 3ec8c65cc4 [MNG-6377] switch from Git-WIP to GitBox 2018-03-18 15:00:02 +01:00
Hervé Boutemy 566021452b upgraded parent POM and updated site.xml 2018-03-14 01:44:34 +01:00
Stephen Connolly 69540cdf45 Ensure any forked Maven executions are not spied on by Jenkins 2017-12-12 16:36:17 +00:00
Stephen Connolly 8be088a9ef Ensure any forked Maven executions are not spied on by Jenkins 2017-12-12 15:31:48 +00:00
Stephen Connolly d4ec6e03f6 Add the serverId to scm-publish so that we do not need to rely on cached svn credentials 2017-10-18 12:51:21 +01:00
Hervé Boutemy 727cf7f339 upgraded parent pom to benefit from site staging configuration 2017-03-25 11:26:23 +01:00
Karl Heinz Marbaise 5484eeb59f Upgrade to maven-verifier version 1.6 instead of
1.6-SNAPSHOT cause maven-verifier has been released
in the meantime.
2015-07-06 21:06:25 +02:00
Jason van Zyl 030eb3cf6f MNG-5795: Verify that core extensions can be retrieved when a mirror is used that requires basic auth. 2015-04-02 00:20:19 -04:00
Jason van Zyl 2fee3bbc73 Ignore RAT plugin inside M2Eclipse 2015-04-02 00:20:18 -04:00
Hervé Boutemy ba3d2bc586 updated site svnpubsub location to match http://svn.apache.org/r1669973 2015-03-30 02:02:20 +02:00
Hervé Boutemy 623d54f199 updated parent pom and fixed little errors reported by Checkstyle 2015-03-04 02:03:15 +01:00
Igor Fedorenko bbfaf89229 MSHARED-410 updated to Verifier 1.6
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 10:44:37 -05:00