Commit Graph

6196 Commits

Author SHA1 Message Date
Milos Kleint c8b4b7294c the reactorpoms modules need to be checked recursively to satisfy this case:
parent --> submodule -->subsubmodule --> subsubsubmodule where parent defines a plugin with extensions in pluginManagement section and the subsubmodule is the one using the  plugin.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613662 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:54:09 +00:00
Jason van Zyl b2dab2e0d5 o adding the backport jars as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613508 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 05:10:01 +00:00
Jason van Zyl 3095bcd54f o add the retrotranslator artifacts for the bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613506 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 05:00:58 +00:00
Jason van Zyl 291d6a9199 o patch from Oleg for metadata processing required by a maven-artifact provider
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613467 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 22:05:01 +00:00
Milos Kleint 863d1fcb8c when version is defined in plugin-management section, we need to use it in mojo binding.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613256 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 20:20:46 +00:00
John Dennis Casey b731e783fa Adding new unit test for non-recursive run, where one of the modules that should NOT be read contains an invalid parent reference.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613254 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 20:14:44 +00:00
John Dennis Casey 3dbe70a25c bumping plexus-container-default to latest release version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613239 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 19:45:31 +00:00
John Dennis Casey 776a944764 Renaming tests for error-reporting, so they're (hopefully) short enough for windows users.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613227 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 19:06:04 +00:00
Milos Kleint 73c4f0c651 use 1.2-alpha-12 of plexus-classworlds
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613224 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 18:56:00 +00:00
John Dennis Casey a0297f1d5b Fix some problems with the CLI reporter when the reactor manager hasn't been created yet (in cases where reading the projects for the reactor failed, for instance).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613039 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:56:20 +00:00
John Dennis Casey facb56d1eb Fixing compilation errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613035 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:38:37 +00:00
John Dennis Casey 89f482ac37 last of the error-reporting unit tests, and an additional error type to handle modules that are referenced but don't exist, which should stop the build. All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613032 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:27:23 +00:00
Vincent Siveton a16c3bf4a8 o merged from r613001 (MNG-3365: Remove trailing-backslashes from M2_HOME in mvn.bat)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613002 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 22:55:12 +00:00
John Dennis Casey 724b3db3c4 Adding more error-reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612920 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:26:35 +00:00
John Dennis Casey 4bcfd7c5a5 more unit tests for error reporting on plugins-as-extensions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612895 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:01:29 +00:00
John Dennis Casey e5c11f67c1 make things more friendly to non-standard settings and local-repo locations.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 00:37:19 +00:00
John Dennis Casey c1b1ff061e Trying to make the FileProfileActivator unit test more resilient to alternative local repository locations.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612645 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 23:50:50 +00:00
John Dennis Casey 372207fe19 Adding more logging for FileProfileActivator, to debug the build on ci.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612638 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 23:45:00 +00:00
John Dennis Casey 4e84caabf2 Adding more logging for FileProfileActivator, to debug the build on ci.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612634 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 23:41:00 +00:00
John Dennis Casey a0827ce0b6 Adding logging for FileProfileActivator, to debug the build.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612629 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 23:37:38 +00:00
John Dennis Casey 0c61152546 More unit tests, this time for plugin-related error messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612592 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:17:56 +00:00
John Dennis Casey 835488bada Adding the remaining project-related error reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612493 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:55:08 +00:00
John Dennis Casey 1c235317d7 Adding more unit tests for error reporting. Almost done with project-based errors now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612333 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 02:20:08 +00:00
John Dennis Casey 47b1dda978 Switch to forkmode=once to try to escape problems with 2.0.x build (possibly polluting the classpath with its own plexus container api version?)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612209 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 20:37:38 +00:00
John Dennis Casey ca169d0262 Refactor management of activated, deactivated, and default-activated profile ids, so the context tracks all of that stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612186 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 18:34:58 +00:00
John Dennis Casey a35ec37b54 pinning plugin-api version to 2.0, as this is immaterial to the test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612168 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 17:35:59 +00:00
John Dennis Casey 182b93e6b7 Adding pinned versions for plugins that are used in the error-reporting tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612149 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:34:16 +00:00
John Dennis Casey ba04a1ae50 commenting out incomplete unit tests until I can get them finished and verified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612145 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:10:36 +00:00
Vincent Siveton 715b3007d0 o merged from r612012 (MNG-3273: Point out known pitfalls when developing plugins)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612013 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 04:19:02 +00:00
John Dennis Casey cc43012a5b more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612010 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 04:15:07 +00:00
John Dennis Casey a07cafc3fa two more error-reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611992 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 01:32:58 +00:00
John Dennis Casey 1071c589dc more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611979 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 00:39:03 +00:00
John Dennis Casey 6e230d611a two more unit tests, and a little simplification to take care of duplicated error reporting coverage.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611974 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 23:59:01 +00:00
John Dennis Casey c3983894ab Adding more error-reporting fixes and unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611945 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 21:44:59 +00:00
John Dennis Casey c4ba075688 Move the site-build stuff out to a include-site profile. Activate this if you want to include the site docs, but inclusion in the normal build is WAY too heavy for simply building to the test lifecycle phase.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611942 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 21:36:09 +00:00
Milos Kleint e10f025310 Add Thread.getId() to the realm identification, a simple trick to make DefaultMavenRealmManager lifecycle safe for paralel execution.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611615 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 18:19:35 +00:00
Milos Kleint fc244926ca comment on multithreading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611548 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 08:41:12 +00:00
Dennis Lundberg 6e544a5643 o Merge r611419.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611425 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 14:36:33 +00:00
Milos Kleint 6bef2dd419 profiles.mdo now located elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611111 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 08:59:04 +00:00
Vincent Siveton ae82937040 o merged from r611015 (MNG-3360: Added the documentation in the Maven release)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611018 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 02:02:32 +00:00
John Dennis Casey 25460922d5 More unit tests for error-reporting pointcuts, and some minor adjustments for duplicated handler methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611014 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:57:27 +00:00
Vincent Siveton 867e53f7fd o improved readingness of POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611012 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:38:13 +00:00
Vincent Siveton f63b0cbf0c o merged from r610985 (moved mdo)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610986 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 23:21:43 +00:00
Vincent Siveton 5abb5a8de3 o merged from r610775 with the correct Maven 2.1.x version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610777 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:38:45 +00:00
Vincent Siveton 5ad4355bd3 o reflected the notice from the archive
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610774 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:31:58 +00:00
John Dennis Casey 84c18ff03d changing maven-plugins version, since 4-SNAPSHOT is no longer available on the people.a.o snapshots repo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 00:17:41 +00:00
John Dennis Casey dc770e321b Adding some unit tests (mostly stubbed out at the moment) to start testing the pointcuts used to shunt build errors off to the appropriate error-reporter method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610618 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 00:07:48 +00:00
John Dennis Casey a4a9ae668e Add a constructor with only a container parameter for backwards compat, to allow plugins to continue to function.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610151 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:01:59 +00:00
Vincent Siveton a0e3d00278 o merged from r609976 (MNG-2809: Can't activate a profile by checking for the presence of a file in ${user.home})
o added new test class

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609980 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 13:42:18 +00:00
Vincent Siveton e7ea1cdef0 o added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609946 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 12:05:39 +00:00