Commit Graph

2047 Commits

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