Commit Graph

2582 Commits

Author SHA1 Message Date
Slawomir Jaranowski 8599cec4a7 [MNG-5222] Maven 3 no longer logs warnings about deprecated plugin parameters 2022-04-12 20:48:55 +02:00
Slawomir Jaranowski 6303d3ef16 Use old version of m-enforcer-p for JDK 1.7 2022-04-08 15:23:26 +02:00
Slawomir Jaranowski 135685b198 Skip mng7045 DropUselessAndOutdatedCdiApiTest on JDK 1.7 2022-04-08 13:53:10 +02:00
Slawomir Jaranowski 98af9777d6 Fix tests on JDK 1.7 - setup TLS protocol for verifier 2022-04-08 07:59:51 +02:00
Gabriel Belingueres 66cd7b58fb Fix MNG-828
* Make datetime parsing Locale independent.
2022-04-04 20:09:29 +02:00
Slawomir Jaranowski 2f4fd12d41 [MNG-828] fix assertions for maps, properties 2022-03-25 20:56:38 +01:00
Slawomir Jaranowski 89589b32f8 [MNG-828] fix date format in assertions 2022-03-25 18:11:00 +01:00
Slawomir Jaranowski 248a452461 [MNG-828] add regression test for listing plugin configuration values in debug 2022-03-25 17:11:39 +01:00
Michael Osipov a9ca68e40e [MNG-6972] Allow access to org.apache.maven.graph
Enable test for min fixed Maven version
2022-03-06 22:53:37 +01:00
Michael Osipov d626bbd9e9 [MNG-7045] Drop CDI API from Maven
Enable test for min fixed Maven version
2022-03-06 22:51:46 +01:00
Guillaume Nodet 7ec0b72c7b [MNG-7349] Fix IT not working on a clean repo 2022-02-21 10:10:58 +01:00
Martin Kanters ca3e806840 [MNG-7390] Allow selecting modules outside the cwd into the reactor using --projects
This closes #138
2022-02-19 23:58:22 +01:00
Giovanni van der Schelde 0776e8efa8 [MNG-7244] Remove deprecated WARNING for usage of pom.X placeholders
This closes #139
2022-02-19 23:17:54 +01:00
Christoph Läubrich a49c0a4a12 [MNG-7395] Support interpolation in extensions.xml
This closes #136
2022-02-19 21:03:13 +01:00
Martin Kanters 75050a7606 Set Maven compiler and release versions to 7 for integration test projects 2022-02-12 20:57:57 +01:00
Guillaume Nodet 69132de869 [MNG-7349] Limit relocation warning message to direct dependencies only 2022-01-24 07:52:54 +01:00
Hervé Boutemy 5b67a4e846 add a note about mirror settings for central 2022-01-17 21:19:58 +01:00
Michael Osipov d3cbcdaa9b Add missing dependencies to bootstrap for some ITs 2022-01-16 20:55:56 +01:00
Hervé Boutemy 993f32454d fix javadoc issues for JDK 8 2022-01-16 17:51:45 +01:00
Hervé Boutemy 1d007733db fix links (apt, not markdown), better split ITs vs support vs suite 2022-01-16 15:11:36 +01: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
Maarten Mulders 657c4e9be5 [MNG-7217] Separate argument and value for -fos
Closes #123
2022-01-08 19:53:20 +01:00
Guillaume Nodet df4a3134a7 [MNG-6326] Make the build fail if core extensions can not be loaded (#133) 2022-01-07 09:50:53 +01:00
Michael Osipov 789f35ba4f [MNG-5561] Plugin relocation loses configuration
This closes #132
2022-01-06 16:56:33 +01:00
Michael Osipov a8bc217571 Remove profile not supported since MNG-7047 2021-12-29 12:37:45 +01: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 864723989e [MNG-7045] Align test project name with rest 2021-12-25 19:50:18 +01:00
Michael Osipov 625fd590c0 [MNG-7335] Make IT compatible with Java 7
This closes #130
2021-12-22 15:48:19 +01:00
Guillaume Nodet 9e5b5a1b71 [MNG-7335] Add an integration test 2021-12-17 13:12:20 +01:00
Guillaume Nodet 75c4cf8883 Fix integration tests 2021-11-29 14:35:18 +01:00
Maarten Mulders 2513f4b34f [MNG-7332] Remove --define (long arg)
Closes #124.
2021-11-15 10:35:24 +01:00
Michael Osipov dc3359a0a6 Update ITs for simplify args help 2021-10-17 12:44:34 +02:00
Hervé Boutemy 445adba690 [MNG-6914] update wrapper distro directory, now apache-maven-wrapper 2021-10-11 23:48:07 +02:00
Guillaume Nodet 26c555962d Fix pom content comparison to avoid line ending problems (#119) 2021-10-06 09:29:32 +02:00
Guillaume Nodet c27293d258 Renormalize line endings (#117) 2021-10-05 13:40:31 +02:00
Tamas Cservenak 547870f199 Up enforcer version (#115)
To IT test maven3/2 we should not use lower than
3.x plugin (that is maven2 compat)
2021-10-01 16:38:10 +02:00
Christian Schulte d06643722a [MNG-4463] Dependency management import should support version ranges
This closes #28
2021-09-18 23:16:55 +02:00
Arturo Bernal f1c00d92d5 [MNG-7231] Fix Javadoc errors
This closes #112
2021-09-05 21:18:50 +02:00
Arturo Bernal d70be17830 [MNG-7230] Replace assert by simpler but equivalent calls
This closes #111
2021-09-05 21:18:00 +02:00
Michael Osipov 4d3a6397fe Normalize line endings 2021-08-02 15:35:52 +02:00
Michael Osipov e833f9ea40 [MNG-7189] Remove undocumented environment variable MAVEN_BASEDIR in startup scripts
This closes #109
2021-07-22 10:32:00 +02:00
rfscholte 4c5d721120 [MNG-7047] Adjust repositoryUrl for MNG-6759 2021-07-21 10:32:57 +02:00
Michael Osipov 63410da462 Properly quote arguements in run-its.sh 2021-07-20 22:31:45 +02:00
Michael Osipov 160aa89196 Remove unintentionally added files 2021-07-19 22:06:39 +02:00
Michael Osipov 93d0779d2e [MNG-6754] Enable IT for Maven 3.8.2 2021-07-13 10:18:02 +02:00
Michael Osipov 95fa979aed [MNG-7056] Replace tabs in IT files 2021-07-04 15:38:57 +02:00
Michael Osipov 9d07652019 Make ITs compile on Java 7 2021-07-03 15:13:51 +02:00
Michael Osipov 86db2c6721 [MNG-7115] MavenITmng5771CoreExtensionsTest fails on maven-3.8.x branch 2021-07-03 11:26:49 +02:00
Michael Osipov f02c8e5665 Add new ignores 2021-07-03 11:13:55 +02:00
Michael Osipov f5e2ad8cbc [MNG-6071] Enable IT for Maven 3.8.2 2021-06-26 21:18:15 +02:00
Michael Osipov 8c74ea50ed [MNG-5868] Enable IT for Maven 3.8.2 2021-06-26 21:09:03 +02:00
rfscholte 45ef48c405 Simplify and fix script on Windows 2021-05-16 23:55:21 +02:00
Maarten Mulders d139dd68f7 Use the loopback address for connecting to an in-process web server
This may resolve the connection issues we sometimes see in GitHub
Actions where the Maven process that is being tested cannot connect
to the Jetty server that was just started.

This closes #107
2021-04-24 22:19:52 +02:00
Michael Osipov aea9276d50 Disable IT for MNG-6772 2021-04-22 18:48:15 +02:00
Maarten Mulders 7f42b2cc6c [MNG-7045] Upgrade to IT to use Groovy 4.0.0-alpha-3 2021-04-17 20:29:46 +02:00
Maarten Mulders 6db9cfb1db [MNG-7045] Make sure Ant 1.10.8 is available 2021-04-04 16:16:00 +02:00
Martin Kanters 4209fbf7b6 [MNG-7112] Test that --non-recursive can be used together with --projects to just build the aggregator project.
Closes #104
2021-04-02 16:13:03 +02:00
Maarten Mulders 9baeaba95b [MNG-7045] Make sure Groovy 4.0.0-alpha-2 is available 2021-04-02 11:48:55 +02:00
Maarten Mulders 1083586aac [MNG-7045] Upgrade to IT to use Groovy 4.0.0-alpha-2
Closes #105.
2021-04-02 09:16:25 +02:00
Hervé Boutemy a3d6fac56a [MNG-7128] test blocked HTTP repository in pom.xml 2021-03-27 03:18:05 +01:00
Martin Kanters 0e982c2c9a [MNG-6511] Testing whether projects can be marked optional during (de)selection using --projects.
Closes #100.
2021-03-22 14:41:19 +01:00
Michael Osipov 3d59306302 [MNG-6075] Increase the model validation level to the next minor level version
* Modify ITs to pass with Maven 4
* Disable MavenITmng3719PomExecutionOrderingTest for Maven 4 because it
  deliberately relies on duplicate plugin declarations

This closes #103
2021-03-14 15:10:55 +01:00
Michael Osipov c4bcd09ecf Fix syntax error 2021-03-14 12:31:24 +01:00
Michael Osipov 4eb9f2026c Revert "[MNG-7046] Revert MNG-5639 and make repo config static only"
This reverts commit bba1d5cb04.
2021-03-13 17:26:07 +01:00
rfscholte ef313b620c Merge branch 'MNG-7110' 2021-03-12 18:22:26 +01:00
rfscholte 16fa596774 [MNG-7110] Different behavior of extensions 2021-03-12 17:21:19 +01:00
Martin Kanters e3a74e940b [MNG-7051] When an optional profile could not be found, an info message should be thrown instead of a warning. 2021-03-08 16:24:05 +01:00
rfscholte a469fd5823 Make tests verifiable with at least Maven 3.6.3 2021-02-28 23:26:58 +01:00
Michael Osipov 218ce6c7e7 [MNG-6114] Elements from the global settings should be ordered before elements from the user settings
Central from global settings with 'file:' comes first and is ignored by the
mirrorOf definition. The next central definition is ignored too due to
MNG-7018/MNG-5984. As long as these issues aren't resolved we need to mirror
even local repos to make the IT work as intended.

This closes #92
2021-02-28 19:39:39 +01:00
Guillaume Nodet d4f7ebaa1e [MNG-7095] Support for parallel builds when resuming
Resolves #98
2021-02-13 11:35:30 +01:00
Michael Osipov 6ff4e40e4a [MNG-7029] Remove super POM release profile
This closes #86
2021-02-02 17:45:13 +01:00
Maarten Mulders 574f0f1351 [MNG-7051] Optionally skip non-existing profiles and break on missing required profiles. 2021-02-02 08:19:59 +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
Michael Osipov a5ea1640e0 Clean to avoid stale files 2021-01-23 21:44:53 +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
Sylwester Lachiewicz 36d9f925c4 [MNG-6972] Fix IT - explicitly set compiler target versions to 8 2021-01-08 03:46:12 +01:00
Michael Osipov 5cae9178ad Test for consistent logging
This closes #97
2021-01-05 16:00:48 +01:00
Michael Osipov 350eef8388 Correct last remaining incorrect checksums
Notes: Some checksums are intentionally incorrect for testing purposes.
Broken checksums can be found by:
$ algo=...; for checksum_file in $(find . -name \*.$algo); do \
  expected_checksum=$(cat $checksum_file); \
  file="$(dirname $checksum_file)/$(basename $checksum_file .$algo)"; \
  actual_checksum=$($algo -q $file); \
  if [[ "$actual_checksum" != "$expected_checksum" ]] ; \
  then echo "$file: $expected_checksum != $actual_checksum"; fi; \
  done | sort
2021-01-02 01:49:34 +01:00
Michael Osipov c968c96eb8 Trim line endings as done by Maven Resolver 2021-01-01 23:00:54 +01:00
Michael Osipov ad8a5d0813 [MNG-6972] Allow access to org.apache.maven.graph
Use a fresh, preconfigured verifier which has global settings set.

This issue can be observed when Maven is ran with MNG-4645 where
no preconfigured Maven Central is in global settings.

This closes #94
2021-01-01 21:31:19 +01:00
Michael Osipov 15eacdf57c [MNG-5760] Add `-r/--resume` to automatically resume from the last failure point
Use a fresh, preconfigured verifier and do not clear CLI options because
on clear all preconfigurations, especially global settings are gone.

This issue can be observed when Maven is ran with MNG-4645 where
preconfigured Maven Central is lost in global settings.

This closes #93
2021-01-01 21:10:55 +01:00
Maarten Mulders 3d5d544112 [MNG-4660] Increase usefulness of logging
Closes #91
2020-12-28 11:25:52 +01:00
Michael Osipov bba1d5cb04 [MNG-7046] Revert MNG-5639 and make repo config static only
This closes #85
2020-12-24 15:27:58 +01:00
Michael Osipov 9d46bc98d5 [MNG-7022] Remove o.a.m.lifecycle.mapping.Lifecycle optional mojos backward compat code
Disable test which still declares optional mojos. The test runs fine
when optional mojos are removed from components.xml.

This closes #79
2020-12-24 12:07:25 +01:00
Michael Osipov 6b0efd992c Trim trailing whitespace 2020-12-24 00:31:14 +01:00
Maarten Mulders 103f9c0b41 [MNG-4660] Increase usefulness of logging 2020-12-23 16:48:14 +01:00
rfscholte 976a706ddd [MNG-6957] versionless reactor dependencies/parent should work even if modules are aggregated in reverse order 2020-12-22 17:32:02 +01:00
Falko Modler 71064cdf5b Fix MNG-3259 IT on JDK 16
This closes #89
2020-12-22 11:25:09 +01:00
Christoph Hümbert 3ec0d6ead6 [MNG-7045] Drop CDI API from Maven
This closes #88
2020-12-22 10:24:06 +01:00
Michael Osipov 4c130bb2ef Use consistently groupId prefix 'org.apache.maven.its.' in ITs 2020-12-22 10:15:02 +01:00
rfscholte 0895ed0c45 [MNG-6957] versionless reactor dependencies/parent should work even if modules are aggregated in reverse order 2020-12-21 22:20:45 +01:00
Martin Kanters bc3cdccb68 [MNG-6566] Plugins that require a certain phase should not fork goals that are already in the execution plan.
This resolves #74
2020-12-15 09:34:03 +01:00
Michael Osipov 0b3c0cab86 Fix incorrect line ending issue 2020-12-06 01:45:25 +01:00
Michael Osipov ce575c91a4 [MNG-5728] Switch the default checksum policy from "warn" to "fail" 2020-11-30 20:21:11 +01:00
Michael Osipov 0176e3cc77 [MNG-7041] Update @since, version ranges and other version related strings
This closes #83
2020-11-29 11:25:10 +01:00
rfscholte 043899d3c5 [MNG-3485] Fix IT by locking maven-surefire-plugin to original version 2020-11-25 23:12:15 +01:00
Michael Osipov b84481f249 Add checksums to avoid warnings in ITs 2020-11-16 20:15:15 +01:00
Michael Osipov 3b4ecab8ba Move test plugin for MNG-4338 to Maven 3.0 Plugin API 2020-11-14 01:11:05 +01:00
Michael Osipov 43f7c3dc4e Use new style altDeploymentRepository option format 2020-11-13 18:41:12 +01:00
Michael Osipov 02bd24851a Don't require SNAPSHOT versions 2020-11-13 18:40:41 +01:00
Michael Osipov bdf4914e8f Add checksums for MNG-5771 2020-11-13 18:39:50 +01:00
Michael Osipov 1e1db6958f [MNG-3203] Supply release parameter when run on Java 9+ 2020-11-12 14:37:15 +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
Maarten Mulders ae6f0133b7 [MNG-6754] Set the same timestamp in multi module builds (1/2)
Install and deploy a multi module project, compare local and remote
last updated timestamps with each other and Maven build timestamp.

This closes #77
2020-11-12 10:51:50 +01:00
Michael Osipov 622eece3a6 [MNG-6551] Packaging 'jar' binding plugin upgrades
Add missing dependencies and set plugin versions.
2020-11-11 22:33:46 +01:00
Michael Osipov 2f29204de8 [MNG-6890] MavenITmng5669ReadPomsOnce is unreliable
Add explicit plugin versions to solve instability.

This closes #75
2020-11-09 22:38:21 +01:00
Martin Kanters ea8263c317 [MNG-6981] Verify that the --projects switch will include the children of the targeted projects.
This closes #71
2020-10-19 20:05:59 +02:00
Maarten Mulders 0706005a29 [MNG-6118] Test various scenarios of invoking Maven in a sub-module.
This closes #68
2020-10-18 20:29:43 +02:00
Michael Osipov be4bfc559d [MNG-6965] Extensions suddenly have org.codehaus.plexus:plexus-utils:jar:1.1 on their classpath
Scope a few ITs for (,3.7.0).

This closes #73
2020-10-04 21:19:23 +02:00
Michael Osipov b0f5e8665b Add JUnit 4.12 to bootstrap group 9 2020-09-11 10:57:49 +02:00
Maarten Mulders 8a989d5e4b [MNG-6985] Use correct maven.multiModuleProjectDirectory in Embedded mode 2020-09-11 07:48:41 +02:00
Sylwester Lachiewicz ea0c164e9c [MNG-6772] check old versions - comment from review 2020-09-01 08:22:23 +02:00
Eddie Wiegers 1e26257f44 [MNG-6772] Prove Super POM central entry won't override
Closes #49
2020-08-31 23:45:07 +02:00
Hervé Boutemy f5eb5bda4c update ASF CI url 2020-08-29 14:15:02 +02:00
Michael Osipov b3c4bb34f1 Sort ITs in reverse numerical order 2020-08-05 20:57:33 +02:00
mickroll 822504183a [MNG-6972] Allow access to org.apache.maven.graph
This closes #69
2020-08-04 19:19:52 +02:00
mickroll 2a7a7637ca [MNG-6974] IT for MNG-5175 (Wagon HTTP) fails with JDK 14
Increase sleep timeout to avoid ephemeral race conditions.

This closes #70
2020-08-04 14:21:47 +02:00
Maarten Mulders beee89ebf0 [MNG-5760] Added several more test cases for the --resume feature
Enable test for --resume feature

Verifying that resuming the build works when the resume.properties file does not have excludedProjects to skip in the next build.

Enabled back temporarily ignored test.

Added a test case for the --resume feature to skip failed modules after the first multi module project failed.

Maven invocations without project shouldn't fail

Ensure empty folder is there
2020-07-15 12:05:20 +02:00
Michael Osipov f1ab8c4264 [MNG-6951] Failing integration test MNG-6386 (Unicode chars) on macOS 2020-07-02 18:11:53 +02:00
Sylwester Lachiewicz def39b9e5a MacOS - url encode differences - needs more investigation 2020-07-01 18:06:09 +02:00
Sylwester Lachiewicz bdd3edeb67 Print url to verify MacOS issue 2020-07-01 14:58:28 +02:00
rfscholte 7c24168f69 [MNG-6656] Support build/consumer process 2020-06-22 21:30:47 +02:00
rfscholte a0f5f08325 [MNG-5760] Add `-r/--resume` to automatically resume from the last failure point
Author: Maarten Mulders <maartenm@infosupport.com>
2020-06-20 13:52:39 +02:00
rfscholte d573cbb597 [MNG-6562] WARN if plugins injected by default lifecycle bindings don't have their version locked in pom.xml or parent 2020-06-20 10:13:56 +02:00
rfscholte de89cf15c7 Lock plugin versions in extension lifecycle to prevent it'll pick up the LATEST, which might behave differently 2020-06-19 23:12:36 +02:00
rfscholte e8eff294f3 [MNG-6939] ITs fail when MAVENCODEBASE is relative (Windows) 2020-06-12 22:19:46 +02:00
Michael Osipov d53ceab6ea [MNG-6939] ITs fail when MAVENCODEBASE is relative (Unix) 2020-06-12 22:19:36 +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
Michael Osipov 424691b80e Fix ugly labels caused by b804f9c6fa
When the test method name is solely 'test()' the output is:
<issue> <className>.()

Consistently modified a few tests to use the generic name 'testit()'.
2020-06-10 10:45:16 +02:00
Hervé Boutemy b804f9c6fa display (near-)method name as a method 2020-06-07 10:16:50 +02:00
Hervé Boutemy d49faf1147 [MNG-5937] fail in setUp() instead of constructor gives better reporting 2020-06-06 22:30:22 +02:00
Hervé Boutemy 1c88bf3e1c add color to ITs rendering 2020-06-06 22:05:19 +02:00
Hervé Boutemy 5fd80e5082 [MNG-5937] improved check & msg for unconfigured wrapper properties 2020-06-06 18:34:41 +02:00
olivier lamy bb1b892144 [MNG-5868] Adding serval times the same artifact via MavenProjectHelper (attachArtifact) keep adding to the List duplicate artifacts
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-04 11:49:52 +10:00
olivier lamy 9d793585ae this need to use install to install plugins
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-01 17:47:13 +10:00
olivier lamy 1e72287309 fix typo on profile id
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-01 16:32:58 +10:00
olivier lamy 0a666f3050 fix script with the file path separator :)
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-01 12:19:44 +10:00
rfscholte 59d1b4854e [MNG-6919] test maven-wrapper with spaced paths 2020-05-27 22:55:50 +02:00
rfscholte e6c2c2e644 Update documentation on how to run ITs including tests for maven-wrapper 2020-05-26 20:14:01 +02:00
rfscholte 0ac723e2a6 [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
Michael Osipov b60b15d8e7 [MNG-2478] add "resources-filtered" filtered resource directories to super POM
Modified MavenITmng3843PomInheritanceTest to accommodate additional resource
directories.
2020-04-27 23:35:14 +02:00
Michael Osipov 0dc01ef157 Prepare IT of MNG-2741 for Wagon 3.4.0 2020-04-20 13:45:05 +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
Michael Osipov 83c6b84540 [MNG-5640] AbstractMavenLifecycleParticipant#afterSessionEnd is not invoked in some cases
Explicitly set Maven Surefire Plugin version because the test will otherwise be
broken by MNG-6551. In version 3.0.0-M4 the output format has changed.
2020-04-13 16:46:50 +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
Michael Osipov fc175cc968 Some ITs test with SNAPSHOT versions 2020-04-04 00:39:13 +02:00
Michael Osipov e542897532 Remove overhauled comment 2020-04-03 23:53:05 +02:00
Michael Osipov e57c86ceb5 [MNG-6613] Mirror matching ignores closest/nearest definition
Replace faulty test which relies on outbound connections with a local,
non-existing repository.
2020-04-03 22:48:32 +02:00
Michael Osipov 1c160d444a Sort ITs in reverse numerical order 2020-04-03 18:00:31 +02:00
Hervé Boutemy fdac028100 [MNG-6562] fixed issues caused by new WARNING on default plugins 2020-02-06 07:40:02 +01:00
rfscholte 430152c1e5 Merge branch 'master' of https://gitbox.apache.org/repos/asf/maven-integration-testing 2020-01-29 21:16:09 +01:00
rfscholte ea1618cc1d [MNG-5669] same pom.xml is read multiple times 2020-01-29 21:14:26 +01:00
Sylwester Lachiewicz a831ae26e4 [MNG-6071] GetResource should return not null for custom pom 2020-01-27 23:48:16 +01: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
Karl Heinz Marbaise 00e6f20bf5 Updated scm information to point to git instead of svn. 2019-12-28 22:46:29 +01:00
Karl Heinz Marbaise 5de5200218 Removed SVN legacy. 2019-12-27 14:21:25 +01:00
Martin Kanters 606adbd925 [MNG-6065] Create option --fail-on-severity 2019-12-27 10:55:34 +01:00
Hervé Boutemy 26fbc14475 updated GitHub repository description 2019-12-07 10:56:31 +01:00
rfscholte 2e4f619126 [MNG-6759] Fix module name 2019-11-17 22:56:46 +01:00
Stig Døssing 6700a88209 [REGRESSION] Maven fails to use <repositories> section from dependency when resolving transitive dependencies in some cases 2019-11-17 22:09:10 +01:00
Hervé Boutemy cf41940d41 [MNG-6584] new detailed message 2019-11-12 23:31:58 +01:00
Hervé Boutemy fdfc9c581e clarify Core ITs vs Core IT Support vs Core ITs Suite 2019-08-23 23:42:19 +02:00
Hervé Boutemy d80e92df2d details on expected failure (typically on ASF Jenkins) 2019-08-18 10:16:07 +02:00
tibordigana 7c87d046e2 [MNG-6731] Jetty getLocalPort() returns -1 resulting in build failures 2019-08-14 22:35:26 +02:00
tibordigana 2fd39c483d LocalPort is -1 if Jetty connector is not open. Error message in logs: [WARNING] Could not transfer metadata org.apache.maven.its.mng4554/maven-metadata.xml from/to central (http://localhost:-1/repo-1): Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 2019-08-09 10:38:27 +02:00
tibordigana 6b3e0f817d fixed the IT 4554 as LocalPort is -1 if Jetty connector is not open. Error message in logs: [WARNING] Could not transfer metadata org.apache.maven.its.mng4554/maven-metadata.xml from/to central (http://localhost:-1/repo-1): Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 2019-08-08 01:06:31 +02:00
tibordigana 5721184d5e fixed the IT 4554 as LocalPort is -1 if Jetty connector is not open. Error message in logs: [WARNING] Could not transfer metadata org.apache.maven.its.mng4554/maven-metadata.xml from/to central (http://localhost:-1/repo-1): Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 2019-08-08 00:53:55 +02:00
rfscholte 010191c7b4 [INFRA-18812] Revert unnecessary commits after fixing root cause 2019-08-05 18:30:03 +02:00
Hervé Boutemy dc7968f8e3 display verifier.forkMode 2019-08-04 19:09:19 +01:00
Hervé Boutemy 1db7aa1193 more links to bootstrap 2019-08-04 18:59:31 +01:00
Hervé Boutemy aaf5069c54 better toc configuration: remove level 1 2019-08-04 18:24:12 +01:00
Michael Osipov 335e46863a Add new bootstrap groups
In a locked down environment with a repo manager the dependencies in
group 9 and 10 aren't available by default.
2019-08-01 12:57:58 +02:00
Michael Osipov 886fe3f109 [MNG-6720] MultiThreadedBuilder: wait for parallel running projects when using --fail-fast
Add missing dependency for Jenkins:
org.codehaus.plexus:plexus-container-default:jar:1.5.5
2019-08-01 11:42:01 +02:00
tibordigana c7d1df20ae Ensure any forked Maven executions are not spied on by Jenkins 2019-08-01 09:11:57 +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
Stefan Oehme 829e923b00 [MNG-6720] MultiThreadedBuilder: wait for parallel running projects when using --fail-fast
This closes #45
2019-07-29 23:16:40 +02:00
Hervé Boutemy fe1f7cd5d0 added some output to investigate unexpected failures 2019-07-20 19:26:40 +02:00
Joseph Walton b4a1558c6e [MNG-4385] Avoid failse positive for unrelated errors
Inspect the log to be confident that this build is failing because
the extension hasn't carried over to the second module.

This closes #44
2019-07-03 15:05:09 +02:00
Michael Osipov e5141f6cf0 [MNG-6556] Packaging 'maven-plugin' binding plugin upgrades
Move all Javadoc-based plugin configurations to annotations because they start
to fail with MPLUGIN 3.4+.
2019-05-26 12:11:49 +02:00
Andrew Donald Kennedy 50f2851364 [MNG-6255] Maven script cannot parse jvm.config with CRLF
Both \r and \n should also be replaced with a space to deal with CRLF line endings properly

Closes #24
2019-03-29 23:02:50 +01:00
Andreas Veithen 254372682a [MNG-6506] Add regression test for annotations processing Java Java 9+
Related to same bug - MNG-6543

Closes #43
2019-03-28 12:50:18 +01:00
Michael Osipov a29516a210 Document MNG-6613 2019-03-18 14:02:07 +01:00
Michael Osipov 4b142e51fc Add new bootstrap group
In a locked down environment with a repo manager the dependencies in
group 8 aren't available by default.
2019-03-18 13:26:38 +01:00
Guy Brand d42f098780 [MNG-6558] - ToolchainsBuildingResult event is not sent on EventSpy
Closes #42
2019-01-27 12:45:34 +01:00
Sylwester Lachiewicz e6b11e7bab [MNG-6522] Prepare to run ITs tests with Java 13-ea 2019-01-11 23:20:38 +01: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
Michael Osipov 8865441bb6 Add missing depenencies for MNG-3372 + MNG-6555 2019-01-09 23:44:48 +01:00
Michael Osipov c5461bd034 Fix Maven version range for MNG-5965 2019-01-09 22:43:41 +01:00
Christoph Etzel ec38d0cad9 [MNG-6265] Add integration test
Fixes #23
2019-01-09 00:54:05 +01:00
Sylwester Lachiewicz aff570ba05 [MNG-6513] Migrate Plexus Javadoc Tags to Plexus Annotations 2019-01-03 23:02:56 +01:00
Duarte Meneses 6808cec613 [MNG-5965] Parallel build multiplies work if multiple goals are given
This closes #22
2018-12-27 14:16:07 +01:00
Sylwester Lachiewicz aafbf0f347 [MNG-6481] Fix Wagon sample plugin to pass tests with Java 11
Current working directory was different between 8 and 11
2018-11-10 02:28:37 +01:00
Sylwester Lachiewicz a68a0e9b72 [MNG-6509] Upgrade maven-dependency-plugin to 3.1.1 2018-11-08 22:34:48 +01:00
Sylwester Lachiewicz 1bf5463c08 [MNG-6481] Cleanup auto generated methods
Remove open tasks in Jenkins
2018-11-08 02:47:31 +01:00
Sylwester Lachiewicz ff9ba60e67 [MNG-6481] Update maven-assembly-plugin to 3.1.0
Also in bootstrap
2018-11-08 02:27:17 +01:00
Sylwester Lachiewicz 8baf00665a [MNG-6481] Workaroud to pass tests with Java 11
- one more error message pattern
2018-11-08 01:54:45 +01:00
Sylwester Lachiewicz cfd2a13774 [MNG-6481] Update to newer maven-assembly-plugin in test
Resolve issue with initialization of plexus-archiver 2.8.2 and Java 11
2018-11-08 01:30:11 +01:00
Sylwester Lachiewicz fb64340087 [MNG-6427] IT for MNG-1957 fails on Java 11+ 2018-11-07 23:58:08 +01:00
Karl Heinz Marbaise 7076be8758 [MNG-6391] - Added IT to check output.
- Added MavenITmng6391PrintVersionTest
 - Kept MavenITmng6352PrintVersionTest
2018-10-09 21:02:16 +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
Michael Osipov f715b10806 [MNG-6428] IT for MNG-5958 fails on Java 9+ 2018-06-16 01:37:21 +02:00
Michael Osipov e3b61872fa [MNG-6427] IT for MNG-1957 fails on Java 9+ 2018-06-16 00:56:28 +02:00
Michael Osipov cfacb95634 [MNG-6426] IT for MNG-6127 fails on Java 9+ 2018-06-16 00:30:42 +02:00
Christian Schulte d1b0435670 [MNG-5940] Change the maven-source-plugin jar goal into jar-no-fork in Maven Super POM 2018-05-27 10:34:38 +02:00
Michael Osipov 0cf64817f9 [MNG-6386] ${project.baseUri} is not a valid URI (according to RFC 3986)
File#toURI()#toString() produces a non-compliant URI making tools like
Subversion or Git to choke on those URIs. Whereas Path#toUri()#toASCIIString()
does the right job.
2018-05-06 20:17:17 +02:00
Hervé Boutemy 151554797f [MNG-6377] switch from Git-WIP to Gitbox 2018-03-19 23:24:31 +01: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
Karl Heinz Marbaise 9d98ce43bd [MNG-6352] - Added IT's for print version output. 2018-02-17 20:29:05 +01:00
Hervé Boutemy 2df8667f33 [MNG-6127] support IT re-run without cleaning 2018-02-08 22:35:21 +01:00
Hervé Boutemy b2805f87f1 [MNG-5753] support IT re-run without cleaning 2018-02-08 22:35:05 +01:00
rfscholte 1e09c00cd8 [MNG-6330] Parents relativePath not verified anymore 2017-12-29 10:42:32 +01:00
Hervé Boutemy 3027889a08 [MNG-6308] make IT more tolerant on format change 2017-12-22 16:11:21 +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
Stephen Connolly 47321c64de Revert "MNG-6209 better executeMojo thread context classloader"
This reverts commit a3e6d5c35e.
2017-10-17 21:00:59 +01:00
Stephen Connolly 9c19ac8f5a Adding a Zulu JDK 7 environment 2017-09-11 09:47:45 +01:00
Mario Krizmanic 6391b3177b [MNG-6127] Fix plugin execution configuration interference
commit 82b043f8bd2015fc4ccac35df805ec2356100428
Author: rfscholte <rfscholte@apache.org>
Date:   Fri Aug 4 14:23:55 2017 +0200

    [MNG-6127] Fix plugin execution configuration interference

commit 534b562d9c961156b90237fdedd5a99888cf50aa
Author: Mario Krizmanic <mario.krizmanic@gmail.com>
Date:   Wed Nov 23 22:25:34 2016 +0100

    Add plugin execution configuration interference test

    Signed-off-by: rfscholte <rfscholte@apache.org>
2017-08-15 22:02:31 +02:00
Karl Heinz Marbaise d1d7f1d0e7 [MNG-6123] detect self references in POM and fail fast
o Changed the artifactId of the integration test to
   prevent failing on the check for self referencing.
2017-07-28 21:26:42 +02:00
Guillaume Boué 5cdd01de32 [MNG-6240] Duplicate components in plugin extension realm when plugin depends on maven-aether-resolver
Maven Core needs to export the maven-aether-provider artifact so that its components do not get added twice in plugin realm. This happens if the build uses an extension plugin depending on maven-aether-provider, before it was renamed to maven-resolver-provider
2017-06-09 23:24:00 +02:00
Dan Tran d6ad86ceb0 [MNG-6084] Support JSR 250 annotations 2017-05-25 01:04:22 +02:00
Michael Osipov bbae82c882 Remove superfluous Eclipse configuration files 2017-05-24 11:11:39 +02:00
Michael Osipov a64d28aef9 Expect fail for MNG-947 with Maven 3.0.5
Due to the addition of MNG-6229 it turns out that Maven 3.0.5 resolves
optional dependencies differently than other versions. The oldest
version to pass this IT is 3.1.0-alpha-1.
2017-05-14 00:15:07 +02:00
Michael Osipov 3d272dd5e2 [MNG-5935] Optional true getting lost in managed dependencies when transitive 2017-05-10 10:34:36 +02:00
Michael Osipov 9abd8fdc48 [MNG-6229] Write out optionality in Core IT Plugins for collection and resolution
Write out " (optional)" in the log entry as well as to the file for later
analysis.
2017-05-09 23:30:06 +02:00
Hervé Boutemy e2c15f1a90 [MNG-6223] support -f path/to/dir when detecting .mvn 2017-05-09 21:09:08 +02:00
Igor Fedorenko 90b0f8e83e MNG-6210 shortened test project file names
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-05-07 17:43:15 -04:00
Igor Fedorenko e0470ce1b6 MNG-6210 allow maven custom guice scopes in .mvn/extensions
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-14 10:40:50 -07:00
Igor Fedorenko a3e6d5c35e MNG-6209 better executeMojo thread context classloader
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-13 15:01:10 -07:00
Michael Osipov c014cd3650 Fix ITs MNG-5019 and MNG-5224 with ArtifactResolutionException
In a locked down environment (no direct Internet connection) these ITs constantly
fail with ArtifactResolutionException. Add dependenies Plexus Utils 2.0.4 and
Maven Settings 2.0 to bootstrap's group 7.
2017-04-09 23:39:07 +02:00
Hervé Boutemy 877e278238 fixed IT: use m-compiler-p version as defined in bootstrap 2017-04-06 01:40:06 +02:00
Hervé Boutemy 739d503ed2 fixed IT: use m-compiler-p version as defined in bootstrap 2017-04-05 08:54:31 +02:00
Hervé Boutemy 2cbdd86c60 updated m-dependency-p to latest 2017-04-04 20:47:49 +02:00
Hervé Boutemy 2e09197f22 added bootstrap info 2017-04-04 00:48:04 +02:00
Stephen Connolly cd49d181e4 Adding Solaris 11 as well as IBM and Azul JDKs 2017-04-03 14:49:33 +01:00
Stephen Connolly 3980ceb4b8 fix markdown link 2017-04-03 13:11:51 +01:00
Stephen Connolly 146bf34d86 More test environments 2017-04-03 13:11:07 +01:00
Stephen Connolly f5d4ac0fe6 Break environments by JDK as well as OS 2017-04-03 12:09:56 +01:00
Stephen Connolly 138b3790a3 Add some exotic test environments 2017-04-03 11:59:34 +01:00
Hervé Boutemy 07a70f03c5 [MNG-6198] improved IT to check module case 2017-04-03 00:22:27 +02: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
Michael Osipov cf53410e0c [MNG-6200] Some ITs fail if proxy is configured 2017-04-01 18:00:18 +02:00
Michael Osipov 8abf336178 [MNG-6200] Some ITs fails if proxy is configured 2017-03-31 13:21:19 +02:00
Hervé Boutemy 727cf7f339 upgraded parent pom to benefit from site staging configuration 2017-03-25 11:26:23 +01:00
Hervé Boutemy 762669982b [MNG-5958] Lifecycle.setPhases bin compat restored in 3.5.0-alpha-1 2017-03-25 07:24:47 +01:00
Hervé Boutemy e61e7ca427 force forked mode when hacking for JVM CLI issue 2017-03-25 06:03:07 +01:00
Hervé Boutemy eb10d33d53 [MNG-6189] added IT for maven-site-plugin reportPlugins use warning 2017-03-19 21:52:43 +01:00
Karl Heinz Marbaise 166623a076 [MNG-6057], [MNG-6090], [MNG-5895]
o Added IT's for MNG-5895, MNG-6057, MNG-6090
 o Added flatten-maven-plugin for usage during
   the IT's.
2017-03-13 22:06:57 +01:00
Christoph Böhme 8fac689e58 [MNG-6173] Test getProjects() and getProjectDependencyGraph()
Adds a test for checking that MavenSession.getProjects() contains the
projects being built and that MavenSession.getProjectDependencyGraph()
is set.

The fix for MNG-6173 changed the way these to properties are
initialised. This integration test verifies that the initialisation is
still correct.
2017-03-06 17:37:30 +01:00
Christoph Böhme 00db7bb9ed [MNG-6173] getAllProjects() should return all projects
Adds a test for checking that MavenSession.getAllProjects() returns the full
list of projects in the reactor even when only some of them are selected
for being built.

This closes #19
2017-03-06 17:37:21 +01:00
Stephen Connolly bb739f24d4 3.5.0-alpha-1 < 3.5.0 2017-02-24 19:48:31 +00:00
Hervé Boutemy db4aca5b05 [MNG-5889] .mvn directory should be picked when using --file 2017-02-14 08:03:45 +01:00
Christian Schulte aa4e06da1f [MNG-2199] Support version ranges in parent elements
o Updated the ITs to correctly detect parent resolution failures. Maven does
  not fail the build when it cannot resolve a parent but instead logs a
  warning message. The ITs never checked the log to contain the warning messages
  but instead asserted the build to fail when a parent cannot be resolved.
  The only Maven version supporting parent version ranges is Maven 3.2.2 due to
  this.
o Removed an incorrect test case for local parent resolution. Maven ignored
  the '<version>' in '<parent>' elements for local parent resolution. The core
  has been updated across various versions to eliminate any differences between
  local and remote parent resolution. When local parent resolution had been
  updated to match remote parent resolution, an existing IT started to fail
  testing incorrect behaviour. As soon as the '<parent>' is referenced using a
  version range, the '<version>' element in the project becomes mandatory and
  does no longer support using an expression any more. This has been that way
  for remote parent resolution from day one. It has never been supported to
  inherit a version from a parent when referencing that parent using a version
  range intentionally.
o Updated to account for updated error messages.
2017-02-10 18:46:55 +01:00
Michael Osipov 812069740e Fix incomplete class renaming 2017-02-04 13:14:48 +01:00
Michael Osipov 24da604311 [MNG-6146] Several small stylistic and spelling improvements to code and documentation
Use the proper term for char U+002D (-) hyphen(-minus) instead of dash
2017-02-02 10:46:32 +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
Karl Heinz Marbaise e54646c7d6 Fixed license header in run-its.bat file. 2017-01-29 21:43:27 +01:00
Karl Heinz Marbaise 393f614650 Fixed RAT issue about missing license in run-its.bat file. 2017-01-29 21:36:13 +01:00
Anton Tanasenko 89afd751a0 [MNG-5958] restore binary compatibility of Lifecycle.setPhases
Modify tests for MNG-5805

This closes #13 #18
2017-01-26 20:24:02 +01:00
Hervé Boutemy 46278d17b2 added license link 2017-01-24 23:41:59 +01:00
Stephen Connolly fd95c004a8 [MNG-6155] The mirror's id is used when comparing the origin so use the same id as when resolving the extension 2017-01-13 13:27:41 +00:00
Stephen Connolly ae3e547587 [MNG-3599] The upgrade of Wagon to 2.10 breaks the test using older versions of wagon
- Need to use `--legacy-local-repository` on newer maven versions
(noting workaround as MNG-6155)
2017-01-11 20:10:26 +00:00
Stephen Connolly ac3b760f78 [MNG-6151] Reset to integration test state as of 3.3.9 release of core 2017-01-04 09:20:35 +00:00
Stephen Connolly cbbbe584f8 [MNG-5840] Argh! tests added but not added to suite 2015-11-02 12:04:08 +00:00
Karl Heinz Marbaise 8da228f290 Downgrade maven-compiler-plugin int MNG-5898 2015-10-25 14:12:03 +01:00
Karl Heinz Marbaise 373aa153a2 Going back to maven-compiler-plugin 2.0.2 in bootstrap,
cause maven-compiler-plugin 3.1 is already defined in group-6
2015-10-25 11:10:01 +01:00
Karl Heinz Marbaise 344ea0f8aa Downgrade maven-jar-plugin in boostrap
MNG-5898 using the same version.
2015-10-24 23:57:59 +02:00
Karl Heinz Marbaise b99c105e27 Pinned maven-compiler-plugin (3.1)
and added maven-ejb-plugin to bootstrap.
Added the required plugins to the MNG-5898
to use the same versions.
2015-10-24 23:04:09 +02:00
Karl Heinz Marbaise 36820dcad1 Removed duplicate definition of
mng-5805-pkg-type-mojo-configuration-plugin in bootstrap/group-3/pom.xml
2015-10-24 21:14:03 +02:00
Karl Heinz Marbaise c9c095cbfa Make resultion to artifacts and plugins
more reliable during integration tests
2015-10-24 20:10:25 +02:00
Karl Heinz Marbaise cf37b87b42 Added missing plugin version. 2015-10-21 22:34:31 +02:00
Karl Heinz Marbaise d3682bbdeb [MNG-5898] Multi-module build with ear fails to resolve war in 3.3.3
Added maven-ear-plugin and maven-war-plugin to bootstrap.
2015-10-21 01:10:13 +02:00
Karl Heinz Marbaise add953b287 [MNG-5898] Multi-module build with ear fails to resolve war in 3.3.3
Added MavenITmng5898BuildMultimoduleWithEARFailsToResolveWARTest
2015-10-21 00:09:11 +02: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 6c66d92737 Use properties for source/target, so we can adjust it based on JDK (e.g. JDK9 support 1.6 and above, so not 1.5) 2015-09-23 17:52:19 +02:00
Robert Scholte d6f5e952eb Add jdk9 as profile activation 2015-09-19 23:04:35 +02:00
Robert Scholte c07cf19229 Expand test with java7 diamonds 2015-09-19 22:16:17 +02:00
Robert Scholte e2cc95e53a Auto set source+target to 1.6 when testing with JDK9 2015-09-19 20:50:08 +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
Stephen Connolly 7ab01081d9 [MNG-5840] Add tests for when the parent version is a range.
Maven 3.3.0 through 3.3.3 are expected to have the following tests fail:

```
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)
mng5840RelativePathReactorMatching(RelativePathPointsToWrongVersion)
```

Maven 3.3.4 through 3.3.5 are expected to have the following tests fail:

```
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)
```

As of 25f5143169 in the Maven core repo the following
test results are expected and observed:

```
mng2199ParentVersionRange(ValidParentVersionRangeWithInclusiveUpperBound)OK (3.3 s)
mng2199ParentVersionRange(ValidParentVersionRangeWithExclusiveUpperBound)OK (1.7 s)
mng2199ParentVersionRange(InvalidParentVersionRange)........OK (0.7 s)
mng2199ParentVersionRange(ValidParentVersionRangeInvalidVersionExpression)OK (0.4 s)
mng2199ParentVersionRange(ValidParentVersionRangeInvalidVersionInheritance)OK (0.5 s)
mng2199ParentVersionRange(ValidLocalParentVersionRange).....OK (0.4 s)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion)FAILURE (0.4 s)
mng5840ParentVersionRanges(ParentRangeRelativePathPointsToCorrectVersion)OK (0.4 s)
mng5840RelativePathReactorMatching(RelativePathPointsToWrongVersion)OK (0.4 s)
```

With the one failure: mng5840ParentVersionRanges(ParentRangeRelativePathPointsToWrongVersion) expected
as the rumoured [validation in the workspace resolver](25f5143169/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java (L938)) does not actually exist.
2015-07-22 09:26:40 +01:00
Igor Fedorenko 0d2b1d1b5c MNG-2199 local parent pom matches parent version range
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-07-21 19:52:44 -04:00
Karl Heinz Marbaise 597c57d6db Fixed another codehaus JIRA link to correct new location at Apache JIRA 2015-07-19 09:57:17 +02:00
Karl Heinz Marbaise 65e8cfcae4 Changed all codehaus JIRA links to new location at Apache JIRA. 2015-07-06 23:43:58 +02: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
Stephen Connolly 26e16b613d [MNG-5840] Adding a test case to ensure regression does not repeat
- Confirmed that this test case passes on 3.0.4, 3.2.5 and current 3.3.4-SNAPSHOT after fix merged while failing on 3.3.3
2015-06-24 14:44:08 +01:00
Kristian Rosenvold e8de3ad0a1 Moved test extension and support code to the proper place. Hopefully this will make
test more reliable
2015-06-23 19:14:10 +02:00
Kristian Rosenvold f105120a26 Fix IT, take 5 2015-06-21 21:54:36 +02:00
Kristian Rosenvold a07afe0135 Added more plugins 2015-06-21 18:34:59 +02:00
Kristian Rosenvold 78098490ef Added jar plugin 2.4 to bootstrap 2015-06-21 17:52:30 +02:00
Kristian Rosenvold 51640e48fd Added a group 7 to resolve core apis which need to be present in the repository 2015-06-21 15:08:06 +02:00
Kristian Rosenvold efb0a20d31 Fixed testcase 2015-06-20 21:54:04 +02:00
Kristian Rosenvold 248f1b4be5 Java7 here too... 2015-06-20 15:27:14 +02:00
Kristian Rosenvold 184f474c44 Added some missing license headers 2015-06-20 13:58:00 +02:00
Anton Tanasenko 217031b6ba MNG-5805: Custom packaging types: configuring DefaultLifecycleMapping mojo executions
Signed-off-by: Jason van Zyl <jason@tesla.io>
2015-04-27 18:01:59 -04:00