Commit Graph

2027 Commits

Author SHA1 Message Date
Hervé Boutemy 2b5ee0480f should be last fix for symbolic link support 2014-03-12 03:13:49 +01:00
Hervé Boutemy 08b1f3e697 improve support for symbolic links 2014-03-11 08:34:48 +01: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 0f5199a6a5 fix ITs when current path contains a Unix symbolic link (failures
reproduced on ASF Jenkins
https://builds.apache.org/job/core-integration-testing-maven-3-embedded)
2014-03-09 20:43:44 +01:00
Hervé Boutemy 12625304dc IT is only valid for Maven 3.2+ 2014-03-09 12:10:06 +01:00
Hervé Boutemy 32b5c9fd49 use MPLUGIN-159 @requiresDependencyCollection annotation 2014-03-08 11:40:47 +01:00
Igor Fedorenko 26572e5f12 MNG-5591 use 'reactor' hint for reactor WorkspaceReader
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-03-01 09:15:27 -05:00
Igor Fedorenko f53d8a9697 use release 3.2.1 maven version in tests that require it
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-03-01 09:15:27 -05: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
Stephen Connolly f0b8bee59c fix integration tests that were broken pending release of Maven 3.2.x 2014-02-20 22:04:41 +00:00
Igor Fedorenko 5799f3fee8 MNG-5581 lifecycle mapping delegate test
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-02-09 22:07:54 -05: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 8898b28ac4 updated site banners and skin 2014-02-09 19:08:51 +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
Michael Osipov 7e6386baa6 MavenITmng1830ShowVersionTest valid upto Maven 3.2 because of MNG-5176 a new IT is necessary. 2014-02-09 15:19:23 +01:00
Hervé Boutemy f95d2c3902 updated maven-scm-publish-plugin to 1.0 2014-02-09 12:09:34 +01:00
Hervé Boutemy 8653a14f5d added link to site 2014-02-09 12:07:54 +01:00
Robert Scholte 6f7f42e58f [MNG-5572] Warn for building plugins with extensions in a reactor 2014-02-08 20:58:49 +01:00
Robert Scholte a0f6302ff4 add run-its for windows 2014-02-08 20:58:31 +01:00
Jason van Zyl a9eb26a5bc Adding resources for the test project in mng-5207. 2014-02-08 13:32:43 -05:00
Jason van Zyl a9415de94c Integration test for MNG-5576 2014-02-06 21:54:18 -05:00
Igor Fedorenko 55e480bd1d MNG-5389 MavenLifecycleParticipant#afterSessionEnd basic IT
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-01-19 19:18:10 -05:00
Robert Scholte 27f5cd0d42 [MNG-5230] Command line option to exclude modules from reactor
Patch contributed by Luuk van den Broek, slightly adjusted by Robert Scholte
'-pl -sub-a' is parsed as '-pl -s ub-a' by commons-cli-1.2, so renamed them to mod-x.
2014-01-09 00:00:52 +01:00
Luuk van den Broek 7a0fae76ce Added IT for MNG-5230 exclude projects from reactor 2014-01-06 23:27:02 +01:00
Jason van Zyl 00f6d87734 MNG-5557: IT to test the constraining of the reactor with --projects
- rename the mojo execution scope directory to have a small description
2014-01-06 11:55:57 -05:00
Stephen Connolly 5e0da4109f Oops! my bad! 2014-01-06 12:19:41 +00:00
Stephen Connolly 5408914095 this test probably needs to be better designed, but in this case a version range is required for now in order to ensure that there is the dependency available 2014-01-06 12:13:38 +00: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 fdfefac4b1 MNG-5549 introduced MojoExecutionEvent and ProjectExecutionEvent
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-12-20 10:42:10 -05:00
Igor Fedorenko c10f14b33d MNG-5549 introduced MojoExecutionListener and ProjectExecutionListener
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-12-15 23:24:24 -05: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 bf77f74391 added some explanations in javadoc 2013-12-01 19:41:39 +01:00
Hervé Boutemy 690990d8e2 moved explanations on Core ITs dependencies from README.md to site 2013-12-01 19:34:23 +01:00
Jason van Zyl 6cf9d7444b Note on integration testing 2013-11-29 15:13:13 -05:00
Igor Fedorenko d23316a690 MNG-5530 fixed wrong test plugin groupId
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-10-31 09:47:16 -04:00
Igor Fedorenko d2f970a3a5 MNG-5530 Introduced IT for mojo execution guice scope
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-10-31 00:23:53 -04:00
Jason van Zyl 3cf9b9c2c6 Change the regex to account for 1) international messages (FR for hboutemy) and 2) Different HTTP providers specifically non-Wagon. 2013-10-06 18:04:51 -04:00
Jason van Zyl e3426a0f4e Reverting 89a22f180d which is specific to Wagon HTTP. The message prior to this change yielded:
[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project org.apache.maven.its.mng3477:test:jar:1: Failed to collect dependencies at org.apache.maven.its.mng3477:dep:jar:1.0: Failed to read artifact descriptor for org.apache.maven.its.mng3477:dep:jar:1.0: Could not transfer artifact org.apache.maven.its.mng3477:dep:pom:1.0 from/to central (http://localhost:54312/repo): Connection refused -> [Help 1]

After the change:

[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project org.apache.maven.its.mng3477:test:jar:1: Failed to collect dependencies at org.apache.maven.its.mng3477:dep:jar:1.0: Failed to read artifact descriptor for org.apache.maven.its.mng3477:dep:jar:1.0: Could not transfer artifact org.apache.maven.its.mng3477:dep:pom:1.0 from/to central (http://localhost:54312/repo): Connection to http://localhost:54312 refused: Connection refused -> [Help 1]

Notice the last part of the message. This type of message only comes from Wagon HTTP, but the original is sufficient to catch and report the error for HTTP Wagon and other Aether connectors. We want to detect and catch the connection refused exception and we do with the original regex.
2013-10-06 14:06:27 -04:00
Hervé Boutemy 73f90d1c7c fix scm reporting 2013-09-19 23:36:19 +02:00
Hervé Boutemy 89a22f180d avoid looking for text which is internationalized 2013-09-15 17:16:39 +02:00
Jason van Zyl 8d94508851 MNG-5503: IT for the issue where Maven 3.1.0 fails to resolve artifacts produced by reactor build 2013-08-20 05:59:47 -07:00
Hervé Boutemy 2d444abda7 added error message 2013-07-30 21:26:33 +02:00
Jason van Zyl 36d552f1a7 o adding some requirements to satisfy the isolated repository setup. all this needs to be examined again because it's generally
extremely frustrating to set something up correctly.
2013-07-28 16:49:00 -04:00
Jason van Zyl 5c92508bd5 o how i run the ITs, just sharing 2013-07-28 16:48:37 -04:00
Hervé Boutemy 85d3958a3b try to fix ITs for mng-5482: put m-site-p and m-dependency-p in
different groups to avoid conflicts
2013-06-05 01:46:42 +02:00
Hervé Boutemy 5b503efa33 force plexus-io version available in local-repo 2013-06-04 01:16:58 +02:00
Hervé Boutemy 5f9c71d6ba fix IT on CI server 2013-06-04 01:01:37 +02:00
Hervé Boutemy 546490358b m-dependency-p:2.7 is needed for IT MNG-5482 too 2013-06-02 18:09:31 +02:00
Hervé Boutemy 5002b9fb6f try to fix run on CI server (cannot reproduce on my local machine...) 2013-06-02 17:26:04 +02:00
Hervé Boutemy 4c6153be92 improved range for ITs that are fixed in Maven 3.1-A1 too, not only in
(future) 3.1
2013-05-30 03:22:31 +02:00
Hervé Boutemy 8742ae6f86 [MNG-5482] added IT to check that missing Sonatype Aether classes are
detected and give a hint to AetherClassNotFound Wiki article
2013-05-30 03:07:13 +02:00
Hervé Boutemy 226ee3d5a9 replaced verifier.getCliOptions().add() with
verifier.addCliOption()
2013-05-20 16:36:37 +02:00
Hervé Boutemy 14eef3ca92 added generics 2013-05-20 16:22:18 +02:00
Hervé Boutemy 6e6c4870e4 prepare svnpubsub 2013-05-19 17:55:08 +02:00
Hervé Boutemy 59dcfc80cd upgrade parent and maven-site-plugin 2013-05-19 00:35:28 +02:00
Hervé Boutemy b6a2d25d2c last core IT fixed 2013-05-18 14:56:48 +02:00
Hervé Boutemy ada74bdce1 MavenITmng3372DirectInvocationOfPluginsTest fixed since upgrade of
default maven-dependency-plugin version in super pom in
http://git-wip-us.apache.org/repos/asf/maven/commit/9404499c
2013-05-18 13:38:18 +02:00
Hervé Boutemy 43f3848f0a maven-site-plugin 3.3 released 2013-05-13 23:34:15 +02:00
Hervé Boutemy 8e49ef17ed 3 ITs are now ok with maven-reporting-exec 1.1 used by maven-site-plugin
3.2
2013-04-19 14:03:36 +02:00
Jason van Zyl 58ecd1aad6 o accounting for the use of Eclipse Aether and the use of real plugins that have direct linkage to Sonatype Aether 2013-03-18 13:26:46 -07:00
Stuart McCulloch 780907f02e Old plexus date configurator ignores AM/PM setting; fixing this breaks unrelated ITs that happen to expect '2008-11-09 11:59:03.0 PM' to be converted to '2008-11-09 11:59:03' so avoid this by changing the input string in those ITs to use 'AM' instead.
Signed-off-by: Jason van Zyl <jason@tesla.io>
2013-03-15 06:34:44 -07:00
Jason van Zyl 3bb515e722 o i believe the settings were initially setup wrong and the content for the *.pom files have window line endings, a normal checkout for someone on unix yields a massive number of line ending changes. this change prevents that, but happy if we want to realign the content to be normalized with unix line endings and have git do the auto conversion 2013-03-15 06:29:19 -07: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 d9011e0bf5 [MNG-5445] Missing PathTranslator @Requirement in org.apache.maven.project.interpolation.StringSearchModelInterpolator
Submitted by Stuart McCulloch.
2013-03-05 22:11:43 +01:00
olivier lamy bbb38efc69 fix it 2013-02-18 11:27:54 +01:00
olivier lamy b66e09f053 use surefire 2.13 2013-02-18 11:11:59 +01:00
olivier lamy baf01cdf32 3.x is only for bug fixing currently 2013-02-04 10:47:46 +01:00
Kristian Rosenvold de31554f89 Added .gitattributes 2013-01-29 16:38:54 +01:00
olivier lamy 39e76295a0 it test for MNG-5418 2013-01-05 09:40:04 +01:00
Hervé Boutemy cf5f33a3ac removed $Id:$ substitution for .java files 2013-01-01 23:55:10 +01:00
Hervé Boutemy 29b3b054ad updated maven-verifier to released version 2012-12-29 20:57:22 +01:00
Anders Hammar 69d219f730 Moved the modules back out of profiles.
Signed-off-by: Anders Hammar <anders@hammar.net>
2012-12-14 21:28:14 +01:00
Jason van Zyl 4ad30f841c o comment out until we can get it passing 2012-12-11 17:36:50 -05:00
Kristian Rosenvold df3f16c02f o switched to resource plugin version that was being downloaded 2012-12-11 22:58:00 +01:00
Jason van Zyl 5600a310a9 o there are two distinct steps, setup and run its
I'm doing the following to figure out why the ITs won't run in a single pass:

LOCAL=`pwd`/repo
git clone https://git-wip-us.apache.org/repos/asf/maven-integration-testing.git
cd maven-integration-testing
rm -rf $LOCAL < /dev/null >&1
mvn clean install -Dmaven.repo.local=$LOCAL
mvn clean test -Prun-its,embedded -Dmaven.repo.local=$LOCAL
2012-12-11 16:43:17 -05:00
Jason van Zyl fc02037da0 [MNG-5407] Account for SHA1 in version output by the -v option 2012-12-08 19:03:02 -05:00
Kristian Rosenvold 45d50969e6 o Made IT's run with pre 3.1.0 versions too 2012-12-03 17:06:56 +01:00
Kristian Rosenvold 555ef119df [MNG-5208] spy notifies incorrect module failure in parallel 2012-12-02 11:07:24 +01:00
olivier lamy ec0e79ebfe fix scm informations 2012-12-01 12:26:03 +01:00
olivier lamy 4096cde025 test push 2012-11-30 00:08:59 +01:00
olivier lamy 1ed109b51b test push 2012-11-30 00:08:52 +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 4f589d3838 restore it test to be run
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413517 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 09:01:14 +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
Olivier Lamy 51b8c1ea7d fix ci url
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413515 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 09:00:41 +00:00
Olivier Lamy 9a4c1cff58 use last maven parent
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413514 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 09:00:31 +00:00
Olivier Lamy 12afdd3b14 use last surefire plugin version 2.12.4
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413513 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 09:00:20 +00:00
Herve Boutemy 21b5cd01b4 make the test run with Maven 3.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413410 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 20:35:09 +00:00
Herve Boutemy da4238e57b code formatting and license
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 20:31:17 +00:00
Benson Margulies c5d695424d MNG-5387: Add ability to replace an artifact in mid-build
o IntelliJ did something wierd with an import.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413375 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 17:15:27 +00:00
Benson Margulies 2ae56a0cf3 MNG-5387: Add ability to replace an artifact in mid-build
o integration test.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413359 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 15:12:23 +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 5efde94009 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413142 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 08:05:24 +00:00
Jason van Zyl f1516a485f IT needs access to a remote repository to get the plugin tools
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413135 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 06:16:26 +00:00
Jason van Zyl 33f97fcae4 MNG-5382: Add an IT for @Inject used in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1413023 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:40:08 +00:00
Herve Boutemy 9a39cf4332 [MNG-5380] check that whitespace can be preserved in Maven plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1412331 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 22:15:11 +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