Commit Graph

1753 Commits

Author SHA1 Message Date
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
Jason van Zyl a88016e8ab git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@511266 13f79535-47bb-0310-9956-ffa450edef68 2007-02-24 12:39:03 +00:00
Jason van Zyl 6d5c4b14b1 o we need to inherit the mailing lists from a parent
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@511264 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 12:16:23 +00:00
Jason van Zyl a0f829c3d2 o summary of IT problems
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@511262 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 12:08:10 +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 33b2b603e7 git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@508240 13f79535-47bb-0310-9956-ffa450edef68 2007-02-15 23:49:58 +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 082430cd2c Enable deployment of snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497687 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 02:17:42 +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
Jason van Zyl 4c4b85767a o little script for andy/kenny/me for testing
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@497243 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 23:31:24 +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 fd72aac2fb o getting rid of misleading scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496747 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 16:21:41 +00:00
Jason van Zyl 5548ef866e o add the support module
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496744 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 16:06:03 +00:00
Jason van Zyl 4edf6ddc5e o put the relocation in distributionManagement
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@496016 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 02:04:43 +00:00
Jason van Zyl 9ce22bd8d8 o add the use of the invoker plugin to automate the installatin of the support artifacts required for ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@495846 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 07:27:03 +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 0010ffd843 o this should be more comprehensive but is enough to test MNG-2201
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494912 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 18:11:47 +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
Jason van Zyl b2124718ea o rename mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494833 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 14:49:00 +00:00
Jason van Zyl 5612ea0d83 o a IT plugin that takes a configuration section which is a DOM and emits the fully interpolated configuration for inspection.
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494831 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 14:48:01 +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