Commit Graph

342 Commits

Author SHA1 Message Date
Guillaume Nodet 77a2226aa1 Allow running the it suite with mvn4 (#203) 2022-10-07 08:27:22 +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
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
Henning P. Schmiedehausen 1307bf39a4 [MNG-7529] Integration test for MNG-7529
This test checks whether version range resolution with multiple repositories maps releases onto repos that
are not enabled for releases.

Tested with 3.8.x, 3.9.x and master. Reliably fails without the MNG-7529 fix applies, reliable passes with
the fix applied.
2022-08-21 21:35:32 -07: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 fa2ff6e83a [MNG-7468] Check unsupported plugins parameters in configuration 2022-06-03 22:35:27 +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 8fd5645e36 [MNG-7464] Warn about using read-only parameters for Mojo in configuration 2022-05-05 21:11:39 +02:00
Slawomir Jaranowski cbafd073be [MNG-7457] Warn about deprecated plugin Mojo 2022-04-24 15:45:31 +02:00
Slawomir Jaranowski c8413005bc [MNG-5222] Improvement in deprecated params detection enable for 3.9.x 2022-04-23 12:29:19 +02:00
Slawomir Jaranowski c8c99c3d40 [MNG-5222] Improvement in deprecated params detection 2022-04-23 09:23:58 +02:00
Michael Osipov 98be639aa6 Replace o.codehaus.doxia.sink.Sink with o.a.m.doxia.sink.Sink 2022-04-15 18:22:03 +02:00
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 98af9777d6 Fix tests on JDK 1.7 - setup TLS protocol for verifier 2022-04-08 07:59:51 +02:00
Hervé Boutemy e4b2fc737f document addition resolution groups, fix javadoc, upgrade parent 2022-01-16 01:56:01 +01:00
Michael Osipov a8bc217571 Remove profile not supported since MNG-7047 2021-12-29 12:37:45 +01:00
Arturo Bernal f1c00d92d5 [MNG-7231] Fix Javadoc errors
This closes #112
2021-09-05 21:18:50 +02:00
Michael Osipov 4d3a6397fe Normalize line endings 2021-08-02 15:35:52 +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
Michael Osipov ce575c91a4 [MNG-5728] Switch the default checksum policy from "warn" to "fail" 2020-11-30 20:21:11 +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
Maarten Mulders 8a989d5e4b [MNG-6985] Use correct maven.multiModuleProjectDirectory in Embedded mode 2020-09-11 07:48:41 +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
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
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
rfscholte 0ac723e2a6 [5937] Maven-Wrapper for unified project environments 2020-05-22 22:33:01 +02:00
rfscholte ea1618cc1d [MNG-5669] same pom.xml is read multiple times 2020-01-29 21:14:26 +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
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 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 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
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
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
Sylwester Lachiewicz aff570ba05 [MNG-6513] Migrate Plexus Javadoc Tags to Plexus Annotations 2019-01-03 23:02:56 +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 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
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
Hervé Boutemy 566021452b upgraded parent POM and updated site.xml 2018-03-14 01:44:34 +01:00
Michael Osipov bbae82c882 Remove superfluous Eclipse configuration files 2017-05-24 11:11:39 +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
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
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
Robert Scholte e2cc95e53a Auto set source+target to 1.6 when testing with JDK9 2015-09-19 20:50:08 +02: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 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
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 fb96423f46 [MNG-5716] IT to check ToolchainManagerPrivate.getToolchainsForType()
does not return toolchains that are not of expected type
2014-11-02 19:39:46 +01:00
Jason van Zyl 547dfc20ec Adjust for the fact that the maven-plugin-plugin is run in process-classes. 2014-06-12 14:46:59 -04:00
Hervé Boutemy 4de651945c restored mojo with setter IT 2014-06-01 18:21:43 +02:00
Hervé Boutemy 25a70d22de upgraded plugin-tools 2014-06-01 18:09:34 +02:00
Hervé Boutemy 39b4723b83 improved javadoc 2014-06-01 17:49:16 +02:00
Hervé Boutemy 8988fc794e improved desriptions 2014-05-31 14:37:27 +02:00
Hervé Boutemy aac1c6d9df improved documentation 2014-05-31 14:30:29 +02:00
Hervé Boutemy d4059be892 make File comparison on canonical value to avoid problems with symlinks 2014-03-11 02:42:08 +01:00
Hervé Boutemy 32b5c9fd49 use MPLUGIN-159 @requiresDependencyCollection annotation 2014-03-08 11:40:47 +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
Hervé Boutemy 9587fd2f5a fixed IT broken when using plugin-tools 3.x instead of 2.9, with
property meaning changed by MPLUGIN-199
2014-02-09 21:32:17 +01:00
Hervé Boutemy 668b1cd0f9 clean up maven-plugin-plugin definition, already inherited from parent 2014-02-09 18:43:23 +01:00
Hervé Boutemy e236de1d1e updated maven-plugin-plugin to latest, replacing expression with
property
2014-02-09 18:14:40 +01:00
Hervé Boutemy b6a2d25d2c last core IT fixed 2013-05-18 14:56:48 +02:00
olivier lamy 58c0f58ad0 fix it with no more dependency on an external mojo.
Submitted by Stuart McCulloch
2013-03-10 22:22:14 +01:00
Olivier Lamy 953066e871 force use of maven-plugin-plugin 2.9
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413533 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 10:03:05 +00:00
Olivier Lamy 48087a56e0 use plugin-plugin 2.9 for this mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413516 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 09:00:59 +00: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 183fd64b6c added site config
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397850 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:10:35 +00:00
Herve Boutemy d41cff180c added standard plugin menu with Goals entry
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397849 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:06:48 +00:00
Herve Boutemy fbe4ac0858 added description
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397848 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:01:15 +00:00
Herve Boutemy 5f65fe5861 added plugin documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397845 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 14:55:50 +00:00
Herve Boutemy 08c52b5c23 fixed name and added description
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397835 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 14:22:16 +00:00
Herve Boutemy d577f08064 added missing name and description
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397834 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 14:19:29 +00:00
Herve Boutemy 5d0302e7bb improved introduction page to ease usage
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397827 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 13:33:59 +00:00
Jason van Zyl 5013369382 o used managed version of antrun plugin
o add snippet for m2e so that the whole project imports cleanly

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1397039 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 13:29:04 +00:00
Herve Boutemy e9e33acc93 use plexus-component-metadata instead of obsolete plexus-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1395266 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 09:57:37 +00:00
Herve Boutemy c8a3b4597e use plexus-component-metadata instead of obsolete plexus-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1395265 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 09:57:19 +00:00
Herve Boutemy c32e7bf784 removed version inherited from parent
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1395259 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 09:25:31 +00:00
Olivier Lamy d1389ab2de upgrade versions
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1380316 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 19:36:47 +00:00
Olivier Lamy bceb6fd42b add it test for MNG-5224
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1227299 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 20:23:55 +00:00
Herve Boutemy 8976ccf030 added name for site.xml to improve site breadcrumbs
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1226573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 23:31:57 +00:00
Herve Boutemy 1ff17e2f4b fixed wrong site descriptor directory
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1225836 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 14:39:27 +00:00
Herve Boutemy 9923e427fb removed name attribute in site descriptor: automatic name from pom.xml is better
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1225834 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 14:31:56 +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
Benson Margulies 75a424452c MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reactor
o Add an integration test for the new behavior, conditioned for 3.0.5 and after.
o Add another mojo to maven-it-plugin-dependency-resolution to support the test. Note that I had to tweak dependencies
on the plugin to add this mojo; if anyone really wants to run against 2.0 with the trunk of the tests this will need
something, I'm not sure what.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1212870 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:00:40 +00:00