Commit Graph

2047 Commits

Author SHA1 Message Date
Jason van Zyl af10f0efad Adding Mark as a contributor
Fixes #5
2014-06-13 13:49:40 -04:00
Mark Ingram 493b23d613 Added guidance for setting proxy if required
Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-13 13:46:51 -04:00
Jason van Zyl a25fb61136 IT for MNG-5452: ${maven.build.timestamp} should use UTC instead of local timezone (or be configurable) 2014-06-13 10:26:55 -04: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
Jason van Zyl a13035fa88 Integration test for MNG-4565 where we move from multiple activators being AND'd instead of OR'd. 2014-06-11 20:35:30 -04:00
Mark Ingram e39582a1a0 MNG-5639 a test for resolving import scope POMs in DependencyManagement
The new feature is allowing the repository URL to contain a property.

Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-10 12:56:50 -04:00
Tamas Cservenak 53c006a57c MNG-6540: renamed resources and test methods
To better reflect what they actually do

Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-10 07:21:25 -04:00
Tamas Cservenak 64e1479977 MNG-5640: Enhance IT coverage
Changes:
- test case for build failure due to UT failure
- test case for build failure due to missing dep
- test case for build error (mojo throwing MojoExecutionEx)
- test case for build error (mojo throwing RuntimeEx)
- checking all participant method invocations, not only afterSessionEnd

Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-10 07:21:25 -04:00
Tamas Cservenak 9a128aa7c1 MNG-5640: IT that verifies that lifecycle participant afterSessionEnd is invoked even with build failure
Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-10 07:21:25 -04:00
Jason van Zyl 84b9a832e9 Rename as previous ITs have been named 2014-06-10 07:16:25 -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 436f79079c use touch plugin for every checks 2014-06-01 17:46:57 +02:00
Hervé Boutemy 68979ecc30 improved IT to success if settings defines additional properties 2014-06-01 00:20:13 +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
Igor Fedorenko 25a6460e50 MNG-5578 fixed guice OutOfScopeException during multithreaded build
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2014-05-22 14:57:23 -04:00
Robert Scholte d9d787e41b Add MNG-4512 test for jdk8 2014-03-29 19:40:34 +01:00
Hervé Boutemy 8f1f240a21 [MNG-5608] IT for warning on ${project.basedir} use for profile
activation
2014-03-23 19:59:31 +01:00
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