Commit Graph

76 Commits

Author SHA1 Message Date
Jason van Zyl 8e07623dae o turn on IT
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@519741 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 23:41:32 +00:00
Brian E Fox cb1d53269a added tests that are commented out for MDEP-44 and MDEP-66
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@518445 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 02:34:52 +00:00
Jason van Zyl 19268a7fa1 o adding test for MNG-2831
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@516989 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 19:04:56 +00:00
Jason van Zyl b2e6cd3aa9 o make the packaging = maven-plugin for the extension
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@516974 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 18:01:54 +00:00
Jason van Zyl bc29300298 o test for MNG-2843
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@516845 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 02:18:07 +00:00
Jason van Zyl efa1e66f37 o test os profile activation
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@516839 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 01:58:47 +00:00
Jason van Zyl d4420b7e65 o with mirror settings as in it0031 we spin out of control
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@514299 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:54:42 +00:00
Jason van Zyl dbb4e5ed3d o activating some tests now that we have some maven version control
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512539 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:09:28 +00:00
Jason van Zyl 26f962ba60 o envars don't work with 2.1.x but work fine with 2.0.x so reactivate this test when running with 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512538 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:08:50 +00:00
Jason van Zyl 5254b84f78 o using the --settings option instead of system properties to set alternate settings
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512537 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:08:07 +00:00
Jason van Zyl e3df4afae5 o use the --settings command line option instead of a system property to set alternate settings file, works in
all flavors of maven.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512536 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:07:26 +00:00
Jason van Zyl 38da48d01a o correct model->project
o don't need anything but the local repo


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512528 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:43:58 +00:00
Jason van Zyl 344ad759cf o just use the normal local repository, we're just testing jar attachment
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512524 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:42:35 +00:00
Jason van Zyl 86fdb7d985 o we're trying to test jar attachment for it0077 we'll just use the normal local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512521 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:41:43 +00:00
Kenney Westerhof d6a7c262da * Added getMavenVersion call to the Verifier
* Added a flag to run maven internally instead of forked (using reflection), nice for in IDE's.

* Added possibility to skip tests for certain maven versions, specified by a versionrange

* made it26 and it31 only run for 2.0.x

* added dependency to maven-artifact 2.0.5 on core-integration-tests for the VerionRange and DefaultArtifactVersion.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@512437 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 21:51:50 +00:00
Vincent Massol a759fb24e3 MNG-2831: Cannot add custom artifact handler and custom lifecycle as a build extension
* Added an IT test to show the problem.

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@508792 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 18:51:17 +00:00
Jason van Zyl fe102ea9e8 git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@506478 13f79535-47bb-0310-9956-ffa450edef68 2007-02-12 15:18:06 +00:00
Jason van Zyl d2edc3b213 git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@505806 13f79535-47bb-0310-9956-ffa450edef68 2007-02-11 00:30:30 +00:00
Jason van Zyl c99bc44786 o a test project provided with MNG-2795, i used it but would like to create a test project and plugin that doesn't use the checkstyle plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@505804 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 00:29:32 +00:00
Brett Porter 92b2692923 remove test case that does not need to be supported
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@499776 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 12:59:04 +00:00
Brett Porter e387b3f1b2 fix the tests up, add some that work only on file timestamps
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@499762 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 12:37:34 +00:00
Brett Porter 86dd270227 additional test for proper handling of local installation
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@499367 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 11:41:46 +00:00
Brett Porter 8e74736918 [MNG-2790] test for this issue - local installation of a snapshot should update metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@499358 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 11:16:52 +00:00
Jason van Zyl 6f415cccbd o fix test, invert the second condition
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498161 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 19:59:38 +00:00
Kenney Westerhof 8c9f74fe21 Fix it113 - invert expression
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498149 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 18:18:04 +00:00
Kenney Westerhof 42363a1d53 Fix settings.xml arg setting
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498148 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 18:15:35 +00:00
John Dennis Casey 025b70ba26 Adding it0113 junit...forgot it before.
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498018 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 00:39:08 +00:00
John Dennis Casey bcbc891bdd Adding it0113 to the suite.
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498017 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 00:31:29 +00:00
John Dennis Casey f6ab347a1d Adding test to make sure the instance of WagonManager available to plugins contains the instance state introduced by DefaultMaven when the build begins.
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498011 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 23:58:47 +00:00
Kenney Westerhof 460715f80d add possibility of using a new empty local repo for each IT
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497840 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 15:12:01 +00:00
Kenney Westerhof b9b319296d Fix IT0043.
With a clean repo, the help plugin is not available.
Since the central repo was overridden to /tmp/emptyRepo,
it can not be retrieved.

Solved this by moving the project to child2, which has
a dep on child1, and adding a parent pom.
Child1 makes sure the help plugin is available because it doesn't
override central.

Also, because of MPH-21, I had to use the 2.0.2 snapshot version.
Previously there was only 1 project in the reactor, so the effective pom
only contained one project. 2.0.1 will write ALL poms in 1 file,
and the it test fails since 'repo1.maven.org' is in that file, though
not in the child2 project.

Further, I found a new/old bug, where if you DON'T specify the 2.0.2-snap
in child2, maven-artifact tries to resolve the help plugin from the central
repo, which fails because it's empty (/tmp/emptyRepo). 
It then does NOT use the available metadata in the local repo to get the
proper plugin version, but simply fails with the message that no valid
version for the help plugin could be found.
Even specifying the snapshot plugin repo in child2 doesn't matter - it is not
searched.

UPDATE: as a sideeffect, this also fixed it0075. The problem with the original
setup of this IT was that it created an empty maven-metadata-central.xml
for the maven-help-plugin, and due to MNG-900 (and not specifying the explicit
version), it0075 failed because it thinks there are no versions for the plugin.

IMPORTANT: this IT should NOT modify the metadata in the local repo outside
the normal maven operations, for instance storing WRONG metadata for central,
as this metadata came from an empty dir instead of the real repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497808 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 13:27:44 +00:00
Carlos Sanchez Gonzalez e6ab4f7f24 jar the tests for use in other projects
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497679 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 01:37:00 +00:00
Carlos Sanchez Gonzalez fc7629a13f Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497665 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 00:49:19 +00:00
Kenney Westerhof ce96238b4e Make it work for jre < 1.5
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497230 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 23:06:03 +00:00
Kenney Westerhof 89543f6644 Add ok/failure status per test
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497221 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:51:00 +00:00
Jason van Zyl 91c7b75a11 o fixing some compile errors
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497217 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:44:18 +00:00
Kenney Westerhof 8386704a34 Add some progress information
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497207 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:11:47 +00:00
Brett Porter 61d72aeae7 [MNG-2780] test for this issue - snapshot updates based on metadata deployed with uniqueVersion = false
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496969 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 09:08:07 +00:00
Brett Porter f2d66a75b5 correct test names for consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496947 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:20:16 +00:00
Brett Porter 5fd5325c51 delete tests that were renamed
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496945 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:18:07 +00:00
Jason van Zyl 98d94d70c0 o test for MNG-2201
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494923 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 18:43:10 +00:00
Jason van Zyl 1850189aee o test the value of project.build.directory
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494919 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 18:30:36 +00:00
Jason van Zyl ba1e09b7e7 o putting the configuraiton in a pluginManagement section and executing the plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494891 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:56:09 +00:00
Jason van Zyl 21779fbc46 o looking at the ${project.build.directory} in raw output versus value that is interpolated and used to populate mojos
we have a nasty difference that works by fluke the raw DOM that is output as PlexusConfiguration field in a mojo is not
  fully populated.


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494890 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:52:08 +00:00
Jason van Zyl fcb17dfbb9 o adding more test values
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494874 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:25:01 +00:00
Jason van Zyl 300fef04cd o using new plugin configuraiton emitter plugin to see how interpolation is handled
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494834 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 14:49:35 +00:00
Brett Porter 54d36a8125 [MNG-2228] fix integration test
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494690 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 02:35:38 +00:00
Brett Porter 654885df1a [MNG-2228] add an integration test
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494688 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 02:29:28 +00:00
Jason van Zyl f5d9d86ae5 o the extension test with checkstyle now passes on 2.0.4 and fails with trunk and 2.0.x so now time to fix
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494678 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 01:23:33 +00:00
Jason van Zyl e189ad21fb o fixing imports
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494649 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 23:17:21 +00:00