Commit Graph

2113 Commits

Author SHA1 Message Date
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
Anton Tanasenko 2e478d0de3 MNG-5805: Custom packaging types: configuring DefaultLifecycleMapping mojo executions
Signed-off-by: Jason van Zyl <jason@tesla.io>
2015-04-27 15:13:54 -04:00
Jason van Zyl 6d9ffe47e1 Only run the mirror-auth test for 3.3.2+ 2015-04-02 09:03:05 -04:00
Jason van Zyl c61560fcca - Use Maven formatting
- Use Java7 try-with-resources
2015-04-02 08:48:53 -04:00
Jason van Zyl 030eb3cf6f MNG-5795: Verify that core extensions can be retrieved when a mirror is used that requires basic auth. 2015-04-02 00:20:19 -04:00
Jason van Zyl 2fee3bbc73 Ignore RAT plugin inside M2Eclipse 2015-04-02 00:20:18 -04:00
Hervé Boutemy ba3d2bc586 updated site svnpubsub location to match http://svn.apache.org/r1669973 2015-03-30 02:02:20 +02:00
Hervé Boutemy 9566c0c177 update dependency from 3.3.0-SNAPSHOT to 3.3.1 release 2015-03-22 13:45:50 +01:00
Igor Fedorenko f170a14529 MNG-5783 fixed IT unable to resolve maven-plugin-plugin
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-03-10 11:48:58 -04:00
Igor Fedorenko ae42f093be MNG-5783 test plugin.artifacts can include slf4j
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-03-10 10:37:41 -04:00
Igor Fedorenko 971224ddc3 MNG-5783 let some tests resolve dependencies from remote repository
Artifact filtering moved from plugin dependency resolver to class
realm manager. This means more artifact jars need to be available
for the tests to run successfully. Not quite sure how this worked
before because dependency poms were supposed to be resolved even
before this change.

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-03-10 10:31:29 -04:00
Jason van Zyl c364de58d6 Update necessary bits from 3.2.6-SNAPSHOT to 3.3.0-SNAPSHOT 2015-03-04 10:58:22 -08:00
Hervé Boutemy 623d54f199 updated parent pom and fixed little errors reported by Checkstyle 2015-03-04 02:03:15 +01:00
Jason van Zyl ac9d11c620 MNG-5774 Provide an extension point for alternate CLI configuration source 2015-03-01 10:40:13 -08: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
Igor Fedorenko 78c916b70e maven-dependency-plugin 2.10
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 11:38:30 -05:00
Igor Fedorenko bbfaf89229 MSHARED-410 updated to Verifier 1.6
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-26 10:44:37 -05:00
Igor Fedorenko b772ffd490 MNG-5771 basic IT to validate core extensions loading
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2015-02-20 10:33:32 -05:00
Igor Fedorenko 1e8d0c0572 MNG-5768 @execution-id syntax for direct plugin goal invocation
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-20 08:07:04 -05:00
Igor Fedorenko daf2cda37c updated IntegrationTestSuite to include recently introduced tests
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2015-02-02 18:31:54 -05:00
Jason van Zyl 0d799949ac IT for MNG-5753: Allow plugin implementors to choose how they want the configuration created for a particular MojoExecution 2015-01-15 15:11:42 -05:00
Hervé Boutemy 1694b175fe fixed javadoc link to Jira issue 2014-12-31 07:18:07 +01:00
Igor Fedorenko 4a0c988640 MNG-5742 fixed duplicate plugin realms when extensions=true
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-12-25 13:20:11 -05:00
Hervé Boutemy 7441b50eb2 need real plugins 2014-11-23 22:41:31 +01:00
Hervé Boutemy bfbdb92e3b missing Core IT stub plugins for install phase 2014-11-23 18:37:49 +01:00
Hervé Boutemy dcce72c93c lock plugins versions to Core IT stubs 2014-11-23 17:46:55 +01: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
Igor Fedorenko 08d65ae82b MNG-5695 more custom guice scope tests
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-09-26 22:19:16 -04:00
markdingram c8c6565831 Creation of an integration test for MNG-5663.
The test was for a regression introduced with Maven 3.2.2 that prevents
nested import scope POMs from being resolved.

Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-07-19 11:41:58 -04:00
Jason van Zyl 8cfe9982a2 Add mising archive 2014-07-07 09:00:31 -04:00
Robert Scholte 8ee8479080 Trying to fix MNG4625 on Jenkins
Update maven-shared-utils to 0.6
2014-07-05 15:26:29 +02:00
Jason van Zyl 3e8bdbf565 Adjust for moving from 3.2.2-SNAPSHOT to 3.2.2 2014-06-17 11:00:43 -04:00
Jason van Zyl 966093a6ba Disable old timestamp test and create a new one for 3.2.2+ which is UTC and ISO conformant. 2014-06-15 20:20:09 -04:00
Michael Osipov 810e73202e Fix href label for IT MNG-5452. 2014-06-15 22:31:32 +02:00
Jason van Zyl e8bf9ac9ff Exclude all my scripts for testing. 2014-06-14 16:33:45 -04:00
Christian Schulte 57d79f3a3a Version ranges not supported for parent artifacts
Fixes #21
Signed-off-by: Jason van Zyl <jason@tesla.io>
2014-06-14 16:32:29 -04:00
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