Commit Graph

2100 Commits

Author SHA1 Message Date
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
Hervé Boutemy 46278d17b2 added license link 2017-01-24 23:41:59 +01:00
Stephen Connolly fd95c004a8 [MNG-6155] The mirror's id is used when comparing the origin so use the same id as when resolving the extension 2017-01-13 13:27:41 +00:00
Stephen Connolly ae3e547587 [MNG-3599] The upgrade of Wagon to 2.10 breaks the test using older versions of wagon
- Need to use `--legacy-local-repository` on newer maven versions
(noting workaround as MNG-6155)
2017-01-11 20:10:26 +00:00
Stephen Connolly ac3b760f78 [MNG-6151] Reset to integration test state as of 3.3.9 release of core 2017-01-04 09:20:35 +00:00
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