Commit Graph

60 Commits

Author SHA1 Message Date
Guillaume Nodet c4834efdba
Move everything out of bootstrap (#1909) 2024-11-16 18:50:22 +01:00
Guillaume Nodet 4b0dd4362a
Cleanup file access and assertions in ITs (#1912) 2024-11-15 13:08:33 +01:00
dependabot[bot] 0752547314
IT: Bump org.apache.maven.shared:maven-shared-utils from 0.9 to 3.4.2 (#1896)
Bumps [org.apache.maven.shared:maven-shared-utils](https://github.com/apache/maven-shared-utils) from 0.9 to 3.4.2.
- [Release notes](https://github.com/apache/maven-shared-utils/releases)
- [Commits](https://github.com/apache/maven-shared-utils/compare/maven-shared-utils-0.9...maven-shared-utils-3.4.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.shared:maven-shared-utils
  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-11 12:10:32 +01:00
dependabot[bot] 1ff134ecc3
Bump org.apache.maven.shared:maven-shared-utils (#1869)
Bumps [org.apache.maven.shared:maven-shared-utils](https://github.com/apache/maven-shared-utils) from 0.1 to 3.3.3.
- [Release notes](https://github.com/apache/maven-shared-utils/releases)
- [Commits](https://github.com/apache/maven-shared-utils/compare/maven-shared-utils-0.1...maven-shared-utils-3.3.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.shared:maven-shared-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-06 13:59:31 +01:00
Guillaume Nodet fefb93bd57 Use non deprecated option for Maven >= 4.0.0-beta-4 2024-08-27 21:02:01 +02:00
Guillaume Nodet 517bc993ea Fix failing MavenITmng4387QuietLoggingTest (#351) 2024-08-27 11:28:09 +02:00
Tamas Cservenak d77141df66 [MNG-7909] Apply Resolver 2.0.0 changes (#317)
Changes:
* IT MNG-4368 "smart install" undone
* IT MNG-5175 force Wagon as it uses Wagon config
* IT MNG-7470 adapt to new default and new transport
2023-11-07 13:27:35 +01:00
Slawomir Jaranowski 08fceb5d84 Remove methods used for JUnit 3/4 2023-10-04 20:44:29 +02:00
Guillaume Nodet 386efc3d6c Reformat 2023-06-05 08:54:28 +02:00
Petr Široký 3f029c11a9 [MNG-7661] Replace deprecated 'verifier.addCliOption()' 2023-01-13 17:16:59 +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
Petr Široký 1a78c89175 [MNG-7661] Remove deprecated 'verifier.resetStreams()'
* the method itself is empty in newer versions of verifier,
   so this change is not removing any behavior
2023-01-05 19:35:02 +01: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
Guillaume Nodet 82f5356905 Remove verifier.getCliOptions().add( x ) pattern (#197)
Follow up to bd2508049c which missed a few tests using the above pattern
2022-09-09 10:32:45 +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
Slawomir Jaranowski 98af9777d6 Fix tests on JDK 1.7 - setup TLS protocol for verifier 2022-04-08 07:59:51 +02:00
rfscholte a469fd5823 Make tests verifiable with at least Maven 3.6.3 2021-02-28 23:26:58 +01:00
Michael Osipov db6f8bfef8 Correct terms: Java operates on files and directories
Use 'directory' instead of the term 'folder' from Windows Explorer.
2021-01-23 22:59:43 +01:00
Sylwester Lachiewicz b46310ef89 Set minimal default target/source/release for maven-compiler to Java 7 2021-01-08 03:50:12 +01:00
Michael Osipov 6b0efd992c Trim trailing whitespace 2020-12-24 00:31:14 +01:00
Maarten Mulders 8a989d5e4b [MNG-6985] Use correct maven.multiModuleProjectDirectory in Embedded mode 2020-09-11 07:48:41 +02:00
Michael Osipov 0944ed2259 [MNG-6938] MavenITBootstrapTest fails with StringIndexOutOfBoundsException: String index out of range: -1
This is a regression introduced by 1c88bf3e1c.
2020-06-11 00:23:29 +02:00
Hervé Boutemy b804f9c6fa display (near-)method name as a method 2020-06-07 10:16:50 +02:00
Hervé Boutemy 1c88bf3e1c add color to ITs rendering 2020-06-06 22:05:19 +02:00
rfscholte 0ac723e2a6 [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
rfscholte 010191c7b4 [INFRA-18812] Revert unnecessary commits after fixing root cause 2019-08-05 18:30:03 +02:00
tibordigana f576fefa0a [MNG-6725] Skip '.mavenrc' via MAVEN_SKIP_RC=1 and '-Dmaven.skip.rc=true' on child ITs (by default on Jenkins CI). 2019-07-30 11:48:44 +02:00
Sylwester Lachiewicz 0b939e6bbd [MNG-6522] Fix typos 2019-01-11 23:20:36 +01:00
Sylwester Lachiewicz 91f5088578 [MNG-6522] Prepare to run ITs tests with Java 12-ea 2019-01-11 19:25:41 +01:00
Hervé Boutemy 566021452b upgraded parent POM and updated site.xml 2018-03-14 01:44:34 +01:00
Stephen Connolly 2190e3181f Provide a mechanism whereby tests can indicate versions of Maven expected to fail
- This will let us fix broken tests while confirming that the versions of Maven that were released using the broken test contain the bug that escaped the broken test
2017-02-01 22:30:25 +00:00
Robert Scholte e2cc95e53a Auto set source+target to 1.6 when testing with JDK9 2015-09-19 20:50:08 +02:00
Kristian Rosenvold 248f1b4be5 Java7 here too... 2015-06-20 15:27:14 +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 ba27d4ea52 MNG-5767 enforce use of maven.multiModuleProjectDirectory
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 11:51:30 -05:00
Hervé Boutemy d4059be892 make File comparison on canonical value to avoid problems with symlinks 2014-03-11 02:42:08 +01:00
Jason van Zyl 2c338a5c97 Make it more convenient to run a Maven integration test from within the workspace against the version of Maven also in the workspace. 2014-02-21 12:17:29 -08:00
Igor Fedorenko a348e29b23 manage verifier version
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-02-09 15:57:56 -05:00
Jason van Zyl 7f8e038f68 - update to use m-s-u 0.1 and verifier 1.4-SNAPSHOT
trying to restore the embedded ITs and verifier trunk has already been updated so I just kept going



git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413294 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 05:35:50 +00:00
Herve Boutemy f70a8ad7f7 improved SKIP message: *Maven* version is not in range
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1225606 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 17:53:33 +00:00
Herve Boutemy 7d372a4e31 code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1225603 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 17:50:59 +00:00
Herve Boutemy a83f1c9178 simplified ITs names for site rendering
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1144956 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 20:40:09 +00:00
Herve Boutemy b281f2bf40 renamed core-integration-testing to core-it-support to match directory name
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1144952 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 20:10:12 +00:00
Herve Boutemy 7682e5fa29 updated pom xsd location to http://maven.apache.org/xsd/maven-4.0.0.xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1042110 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 07:55:53 +00:00
Benjamin Bentmann 830da18971 o Added detection of Maven version to ease execution of individual ITs via -Dtest=
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@985676 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 13:50:41 +00:00
Benjamin Bentmann 4b3c364887 o Enabled ITs to choose different global settings depending on network needs
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@982028 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 20:35:51 +00:00
Benjamin Bentmann 46382579be o Used property prefix different from Surefire props
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@981853 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 12:58:16 +00:00
Benjamin Bentmann ee063d5cb2 o Added factory method to create verifier setup with global settings
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@981694 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 21:37:46 +00:00
Benjamin Bentmann 0085e85a15 o Updated to maven-verifier:1.2
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@818021 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 09:40:18 +00:00