Commit Graph

2332 Commits

Author SHA1 Message Date
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