Commit Graph

1246 Commits

Author SHA1 Message Date
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
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
Jason van Zyl 788bfe97b1 o updating goals for new ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494644 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 23:04:37 +00:00
Jason van Zyl 88f4d7f901 o adding a couple more ITs as a result of trying to do the release
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494638 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 22:53:13 +00:00
Jason van Zyl 29822a07cd o using the standard numbering scheme we've been using plus meaningful name explanations at the end. this way we can have reasonable groupIds along with
long explanations.    


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494636 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 22:48:16 +00:00
Jason van Zyl 569d96c2b4 MNG-2749 A little integration test that Brian gave us to try
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494634 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 22:35:47 +00:00
Jason van Zyl f11e02a21b o a test to show that plugin dependencies only come from plugin repositories (which is kind of useless).
MNG-2359


git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494520 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 18:52:37 +00:00