78 Commits

Author SHA1 Message Date
Tamas Cservenak
61cb0c796a Update Jetty to 9.4.53.v20231009 (#326)
As currently used one is plagued with CVEs etc.

As long as we are stuck on Java8, we cannot move forward
with Jetty, as Jetty 10.x (that is drop in replacement)
is Java 11.
2023-12-17 13:55:56 +01:00
Tamas Cservenak
e85fb9029a [MNG-7228] Add IT that ensure nothing "leaks" into installed model (#273) 2023-06-24 10:51:01 +02:00
Guillaume Nodet
74c1775d05 Reformat ITs 2023-06-05 08:54:28 +02:00
Guillaume Nodet
386efc3d6c Reformat 2023-06-05 08:54:28 +02:00
Slawomir Jaranowski
21e39ea511 Detecting tests which was not added to TestSuiteOrdering
Even test is skipped by `@Disabled` annotation
newer surefire schedule it for execution.

When tests are missing in TestSuiteOrdering
are executed as one of first tests in unpredictable order.
2023-03-13 22:37:35 +01:00
Slawomir Jaranowski
497bede577 Replace deprecated systemProperties by systemPropertyVariables 2023-02-24 21:50:32 +01:00
Tamas Cservenak
1b31813b91 [MNG-7665] Update Jetty to latest Java8 capable version (#228)
Update Jetty to latest 9.4.50, last Java 8 capable version. Apply API changes and also remove jetty-servlet as ITs does NOT use servlet aspect of Jetty HTTP server.. This will simplify our lives in future, to make jump to later versions (that are Java 11+). Also, drop jetty-servlet as test do not use any servlet aspect.

---

https://issues.apache.org/jira/browse/MNG-7665
2023-01-12 11:20:33 +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
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
3e892f99ed [MNG-7020] Remove Maven 2 WagonExcluder backward compat code
* Disable unused tests
* Update Maven 2 plugins to Maven 3 to avoid conflicts with old Maven
  and Wagon 1

This closes #78
2022-07-24 10:51:52 +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
Olivier Lamy
e47b17772b create a simple Jenkinsfile/gh actions to validate PR and branches without changes in core (#172)
* create a simple Jenkinsfile and GHA to validate PR and branches

Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-06-17 10:50:33 +10:00
Hervé Boutemy
3cb3dbe2fa [MWRAPPER-14] remove wrapper-related ITs: not in core any more 2021-12-26 11:15:17 +01:00
Michael Osipov
db7be8d178 [MNG-6754] Set the same timestamp in multi module builds (2/2)
Verify snapshot versions also with all deployed artifact files.
2020-11-12 12:01:50 +01:00
rfscholte
0ac723e2a6 [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
Sylwester Lachiewicz
df98cdb4ca Upgrade maven-antrun-plugin to 3.0.0 2020-04-17 22:59:18 +02:00
Maarten Mulders
3615723179 [MNG-4660] Use of --resume-from in multi-module project fails with missing inter-module dependencies 2020-04-14 22:03:37 +02:00
rfscholte
bf7e8f5ec4 http to central not supported anymore, switch to https 2020-01-15 22:00:12 +01:00
Hervé Boutemy
fdfc9c581e clarify Core ITs vs Core IT Support vs Core ITs Suite 2019-08-23 23:42:19 +02:00
tibordigana
7c87d046e2 [MNG-6731] Jetty getLocalPort() returns -1 resulting in build failures 2019-08-14 22:35:26 +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
rfscholte
1e09c00cd8 [MNG-6330] Parents relativePath not verified anymore 2017-12-29 10:42:32 +01:00
Michael Osipov
d9c9a8551d [MNG-6202] Cannot pass nonProxyHosts to ITs making remote tests lock up when proxy rejects to proxy internal hosts
Set default value 'localhost' of 'proxy.nonProxyHosts' and allow users to
override if necessary.
2017-04-01 23:11:05 +02:00
Hervé Boutemy
727cf7f339 upgraded parent pom to benefit from site staging configuration 2017-03-25 11:26:23 +01:00
Karl Heinz Marbaise
cae83cea78 Upgrade maven-shared-utils from 0.6 to 0.9 2015-10-18 17:15:22 +02:00
Robert Scholte
df7a76abd9 MaxPermSize removed since Java8, see http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6964458 2015-09-19 17:46:24 +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
Igor Fedorenko
78c916b70e maven-dependency-plugin 2.10
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 11:38:30 -05:00
Robert Scholte
8ee8479080 Trying to fix MNG4625 on Jenkins
Update maven-shared-utils to 0.6
2014-07-05 15:26:29 +02:00
Igor Fedorenko
a348e29b23 manage verifier version
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-02-09 15:57:56 -05:00
Kristian Rosenvold
aa9ac3093b Added parallel profile.
It works sometimes, but fails miserably other times.
2014-01-04 20:10:16 +01:00
Igor Fedorenko
c83fbbb60d maven-verifier 1.5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-12-06 15:40:55 -05:00
Hervé Boutemy
29b3b054ad updated maven-verifier to released version 2012-12-29 20:57:22 +01: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
Jason van Zyl
ae2cce2fce Changing version of SLF4J back to 1.6.1 to see if that makes the ITs happy again
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1407921 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 05:34:57 +00:00
Jason van Zyl
acb025276c Adding SLF4J Simple as a test dependency so that ITs that depend on a particular logging output match as the output has always been
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1407911 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 04:36:28 +00:00
Benjamin Bentmann
808a5b04ad o Increased perm gen mem for embedded tests
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1180683 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 18:37:01 +00:00
Benjamin Bentmann
89523769f5 o Added profile to point ITs at already downloaded but unpacked Maven distro
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1180647 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 16:50:22 +00:00
Olivier Lamy
427d3bcbe8 fix it with an empty repo: force download locally of dependencies use in it
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1177447 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 22:06:03 +00:00
Herve Boutemy
dc0bdc876c improved descriptions
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1145367 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 21:42:02 +00:00
Herve Boutemy
69c55e01f2 updated parent pom and plugins versions
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1144529 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 22:40:17 +00:00
Herve Boutemy
77fab03c39 renamed parent POM to prepare site publication
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1144497 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 20:37:00 +00:00
Olivier Lamy
a6b38e5069 use publics infra
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1140640 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 14:31:38 +00:00
Olivier Lamy
31660cd5a4 use verifier released version
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1137174 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 11:42:43 +00:00
Olivier Lamy
d1ac638d4c upgrade to junit 4.8.2 to test parallel support with surefire on asf jenkins
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1134913 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 11:17:01 +00:00
Benjamin Bentmann
4614c06a8c o Increased heap memory for embedded tests
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1056421 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 17:55:20 +00:00
Benjamin Bentmann
67f87669c1 o Enables local JVM monitoring for Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1055920 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 15:53:56 +00:00
Benjamin Bentmann
01ba5ac988 o Decoupled ITs from layout of local repo
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1050435 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 16:06:59 +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