Commit Graph

2309 Commits

Author SHA1 Message Date
Benjamin Bentmann ac03bb52c0 o Excluded model-builder from plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@894921 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 18:36:19 +00:00
Benjamin Bentmann 21dd7e9b9e [MNG-4492] Integration test MNG1830 fails with GIT based forks
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@890355 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 15:03:20 +00:00
Benjamin Bentmann 749e07b000 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@889472 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 23:54:38 +00:00
Benjamin Bentmann d3534c90bd [MNG-4489] [regression] Mirror/proxy/auth does not apply to repositories discovered in POMs of build extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@889460 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 23:10:28 +00:00
Benjamin Bentmann 9be3468e26 [MNG-4482] [regression] command line option "-update-snapshots" does not work for plugins/extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@887367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 21:36:51 +00:00
Benjamin Bentmann 506b7c6334 o Restored (binary) backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@887311 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 18:26:21 +00:00
Benjamin Bentmann 705edc524a [MNG-4475] Transitive Dependency Resolution silently fails if parent pom cannot be retrieved from repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@885804 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 15:46:18 +00:00
Benjamin Bentmann d6e0a1b149 o Improved problem reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@884840 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 11:52:03 +00:00
Benjamin Bentmann f957961cb8 [MNG-4470] [regression] Proxies are ignored during artifact deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@884296 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:10:16 +00:00
Benjamin Bentmann a8f2a0dd49 o Fixed exception message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883520 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 22:14:10 +00:00
Benjamin Bentmann ba0fef4676 [MNG-4465] [regression] can't run mvn help:effective-settings when offline
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883510 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 21:50:41 +00:00
Benjamin Bentmann 5b75081750 [MNG-3902] Remove visibility MavenProjectBuilder#buildStandaloneSuperProject
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883430 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:40:04 +00:00
Benjamin Bentmann 9adfaf82b5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883378 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:46:44 +00:00
Benjamin Bentmann c23ce88074 [maven-release-plugin] prepare release maven-3.0-alpha-5
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:45:11 +00:00
Benjamin Bentmann 1d14aab24a [MNG-4459] [regression] Effective settings as visible to plugins contain plain text passwords
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@882580 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 14:40:42 +00:00
Benjamin Bentmann 7c918bee74 o Introduced Maven API to decrypt settings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@882578 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 14:39:57 +00:00
Benjamin Bentmann 9e42487829 o Extended base plugin manager to allow for caller-supplied exclusions of certain plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881793 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 14:53:55 +00:00
Benjamin Bentmann 1068ab557c [MNG-4454] Incomplete <parent> element causes NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881784 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 14:08:28 +00:00
Benjamin Bentmann 8b21cd1567 [MNG-4450] [regression] Stub project for missing dependency POMs is not properly created
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881563 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:05:28 +00:00
Benjamin Bentmann b48f4f4e49 o Polished error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881305 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 14:41:17 +00:00
Benjamin Bentmann 0f465258e5 [MNG-4440] error message should clearly indicate the module that failed, and how to continue
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 21:36:31 +00:00
Benjamin Bentmann 3f677ab042 o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836255 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 20:13:04 +00:00
Benjamin Bentmann 8e826033a8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835944 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:02:13 +00:00
Benjamin Bentmann f54f1ec409 [maven-release-plugin] prepare release maven-3.0-alpha-4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835941 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:00:22 +00:00
Benjamin Bentmann 27ff5d5c41 [MNG-4433] [regression] command line option "-update-snapshots" does not work for parent POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834587 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 18:32:14 +00:00
Benjamin Bentmann c10f412029 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834123 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:00:39 +00:00
Benjamin Bentmann 98ab96d19b [maven-release-plugin] prepare release maven-3.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834118 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:55:07 +00:00
Benjamin Bentmann 1ef9a7692b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834106 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:26:12 +00:00
Benjamin Bentmann 7dd84efa0e [maven-release-plugin] prepare release maven-3.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834104 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:24:06 +00:00
Benjamin Bentmann 185d5a07c8 o Tweaked error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@833724 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 17:51:36 +00:00
Benjamin Bentmann e697820d18 o Reverted changes introduced in r833566 due to IT failuree
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@833697 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 15:11:27 +00:00
Daniel Fabulich 9da874c369 Adding experimental multithreading support. Naive implementation. Not guaranteed to work. Builder beware. You'd be crazy to use this... -Dmaven.threads=4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@833566 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 21:46:48 +00:00
Daniel Fabulich b8874319f4 Expose the DAG and project map for reactor plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@833427 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 15:00:44 +00:00
Benjamin Bentmann 61ba8778b6 [MNG-4426] No javac errors in console when error stacktraces are turned on
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@832729 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:51:58 +00:00
Benjamin Bentmann 3a767b55b5 o Converted GB18030 to ASCII with Unicode escapes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@832389 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 10:56:58 +00:00
Benjamin Bentmann f601e9c097 [MNG-4423] Allow to query session data via plugin parameter expressions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@831552 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 15:24:56 +00:00
Benjamin Bentmann 59871b0ee7 o Fixed backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@831410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 18:13:26 +00:00
Benjamin Bentmann 02cbed3d5a [MNG-4413] [regression] Repositories discovered in dependency POMs are not subject to mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@831282 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 12:24:40 +00:00
Benjamin Bentmann defd0cc82a [MNG-4416] [regression] Plugins are not properly ordered after merging with profile plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830915 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 12:33:36 +00:00
Benjamin Bentmann 4d5a89d0d6 [MNG-4415] [regression] Plugins are not properly ordered after merging with inherited parent plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830809 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:24:56 +00:00
Benjamin Bentmann 32d6c8699e o Deprecated legacy class
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830355 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 21:55:07 +00:00
Benjamin Bentmann 642904917a o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830186 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 13:51:28 +00:00
Benjamin Bentmann 611bd1c998 o Fixed regressions after refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830017 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 23:29:17 +00:00
Jason van Zyl 8f85d87b5c o another pass at cleaning up the MavenCli, it still needs work but at least I can see a pattern now for embedding
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829988 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 21:42:53 +00:00
Benjamin Bentmann 20f8323b0a [MNG-4221] Push all repository/artifact related code into a legacy module and create a backward compat layer for external consumers
o Refactored code to make maven-compat depend on maven-core, this got ugly regarding some tests which to a high degree depend on a full-blown repository system

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829934 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 20:16:00 +00:00
Benjamin Bentmann 65011e780e o Decoupled test from central and used a file-based stub repo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:25:01 +00:00
Benjamin Bentmann 66f67c3d40 o Added quick fix for LegacyRepositorySystemTest which hasn't been updated to use the stub repo yet
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829407 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:46:26 +00:00
Benjamin Bentmann 67c7dc2168 [MNG-4405] Uninterpolated expressions should cause an error for plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829403 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:34:48 +00:00
Benjamin Bentmann 86c8236aab o Decoupled tests from central and used a file-based stub repo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829280 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:48:02 +00:00
Benjamin Bentmann 8d38204e16 [MNG-4401] [regression] central repository is tried before explicitly declared repositories during parent POM resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829157 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 18:06:34 +00:00
Benjamin Bentmann f5a93816c7 o Tweaked error message formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829065 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 13:55:01 +00:00
Benjamin Bentmann a05c12af81 o Added missing transfer listener
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829043 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 13:06:33 +00:00
Benjamin Bentmann fce4db9c9c [MNG-4400] [regression] Repository order from settings.xml is not respected during artifact resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829009 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 11:43:38 +00:00
Benjamin Bentmann ad34db3748 o Removed obsolete code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828650 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 10:49:28 +00:00
Benjamin Bentmann f7d7cbb6a0 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828642 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 10:29:34 +00:00
Benjamin Bentmann e85cd0c2c3 o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828259 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:49:07 +00:00
Benjamin Bentmann 412ab3371b o Fixed NPEs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828249 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:27:21 +00:00
Benjamin Bentmann c501175f79 [MNG-3819] [regression] Plugins that don't declare dependency on plexus-utils no longer get plexus-utils:1.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828222 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 21:24:21 +00:00
Benjamin Bentmann d15b9be902 o Polished code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@827957 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 10:46:46 +00:00
Benjamin Bentmann 504f5bca65 [MNG-4186] Provide an exact pointer to documentation specific to each known exception that can occur
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@827792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 21:08:08 +00:00
Benjamin Bentmann 6e6f881bc8 o Specialized exception
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@827020 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 09:50:35 +00:00
Benjamin Bentmann b244bda0fd o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@826015 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:45:41 +00:00
Benjamin Bentmann d6ad00a1f3 o Improved some exception messages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 11:39:40 +00:00
Benjamin Bentmann 85089c7273 o Catched unckecked exceptions from mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825518 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 15:29:09 +00:00
Benjamin Bentmann 5864960314 o Widened exception type to allow handling of errors, too
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825512 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 15:17:34 +00:00
Benjamin Bentmann 759928f4d0 o Added transfer listener for further downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825494 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 13:40:24 +00:00
Benjamin Bentmann 865134cd8e o Removed duplicate class
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825301 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:48:51 +00:00
Benjamin Bentmann 60b6c026c9 o Added transfer listener for project dependency downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825299 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:43:21 +00:00
Benjamin Bentmann 6821063783 o Added transfer listener for project dependency downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:22:35 +00:00
Benjamin Bentmann 3229076989 [MNG-4204] Remove support for legacy style repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825183 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:39:08 +00:00
Benjamin Bentmann d5ce7b9092 [MNG-4163] Deprecate all methods in MavenProject that relate to reporting.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824941 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:49:31 +00:00
Jason van Zyl 787008b34a o changes to allow polyglot maven to work
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824607 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 06:49:25 +00:00
Benjamin Bentmann 4f81e046ff o Allowed arbitrary exception chaining
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824507 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 21:31:09 +00:00
Benjamin Bentmann a13a336cea [MNG-4390] Make parsing of settings.xml lenient with respect to unrecognized tags
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824188 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 22:39:55 +00:00
Benjamin Bentmann d4ca575f08 o Added new settings builder that uses request/result pattern to allow for better problem reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824172 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:25:11 +00:00
Benjamin Bentmann 00fa4413d2 o Added parser-neutral facades for the Modello generated settings reader/writer
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824168 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:22:35 +00:00
Benjamin Bentmann 4344a147a4 o Simplified code (the only two entries in the container context, the container itself and its core realm, don't apply to filtering)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824114 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:30:24 +00:00
Jason van Zyl 9cca807583 o don't need the model locator here anymore, pushed to the front-end
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824099 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 16:19:51 +00:00
Jason van Zyl 07398e00bc o push all pom format specific handling up to the front-end, internally inside maven we do not care what the source of POM information is
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824098 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 16:18:10 +00:00
Benjamin Bentmann 737bc0f63b o Replaced hard-coded use of "pom.xml" with a component to enable customizers using other formats to use other file names as well
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:26:44 +00:00
Benjamin Bentmann b55562328b o Enabled reuse of MavenCli for embedded execution during the ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823736 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 23:16:40 +00:00
Benjamin Bentmann 38509d6a46 o Disabled debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823110 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 10:09:00 +00:00
Benjamin Bentmann 87e56ea9f2 o Enabled debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823107 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 09:55:56 +00:00
Benjamin Bentmann c9b3998514 o Added missing dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823100 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 09:38:48 +00:00
Jason van Zyl b6c70ca1f9 o another pass at removing wagon from the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823064 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:32:35 +00:00
Benjamin Bentmann bafa946f3c o Fixed handling of missing plugin version during calculation of execution plan
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821170 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 21:18:11 +00:00
Benjamin Bentmann f5b47d1a8a o Simplified API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821164 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 20:45:58 +00:00
Benjamin Bentmann 608ac9f30c o Restored backward-compat for plugins that create MavenSession
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 16:24:54 +00:00
Jason van Zyl dc92f34610 o first pass at cleaning up the embedding pattern
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820905 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 06:51:50 +00:00
Benjamin Bentmann 2cf974570a [MNG-4385] [regression] Custom lifecycle mappings from build extension leak into other projects in the reactor without extension
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820616 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 11:39:28 +00:00
Benjamin Bentmann 8b88d97c41 o Extended error message to help diagnose bad class realms
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820600 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 10:47:10 +00:00
Benjamin Bentmann 58a24ac941 o Polished realm creation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820597 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 10:21:02 +00:00
Benjamin Bentmann f66bbf1172 o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820484 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:37:23 +00:00
Benjamin Bentmann 138d7bc9c2 o Allowed build extensions to contribute lifecycle participants
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820374 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 18:30:51 +00:00
Benjamin Bentmann 293dfbcb30 o Added missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820284 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 14:35:12 +00:00
Benjamin Bentmann 5a7d264481 o Adjusted warning
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 21:42:30 +00:00
Benjamin Bentmann 3bcdf432b2 o Unified code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819871 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 09:46:01 +00:00
Benjamin Bentmann 42884072b2 o Revised extension caching to be insensitive to POM repos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819868 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 09:38:12 +00:00
Benjamin Bentmann 663f9db7f4 o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819758 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 22:41:26 +00:00
Olivier Lamy e2594ad022 add generics.
remove unused imports.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819726 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 20:43:23 +00:00
Benjamin Bentmann c352138d0c o Fixed tracking of extension realms in cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819596 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 15:43:14 +00:00
Benjamin Bentmann 5950571180 [MNG-4381] Allow extension plugins to contribute non-core components to be reused by other plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 13:56:25 +00:00
Benjamin Bentmann 3412df6ea7 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@818099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 13:39:31 +00:00
Benjamin Bentmann 34abdbf274 o Fixed sychronization after refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 19:19:32 +00:00
Benjamin Bentmann eda354717b [MNG-4194] API to safely release of plugin realms
o Allowed cache to track usage of plugins by projects

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817681 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:48:00 +00:00
Benjamin Bentmann 341f030f5c o Generalized plugin realm cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817669 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:17:30 +00:00
Benjamin Bentmann 3646d923a9 o Renamed classes to better describe purpose
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817646 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 13:10:47 +00:00
Benjamin Bentmann 6d470389c6 o Fixed invalid POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817607 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 11:41:39 +00:00
Benjamin Bentmann 08406e1c13 [MNG-4363] [regression] Dependency artifacts injected by plugins aren't included in class paths
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817233 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:57:43 +00:00
Benjamin Bentmann fb40b8e83a [MNG-4055] wrong error on mvn install in folder without pom.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817227 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:32:45 +00:00
Benjamin Bentmann fa454684ee o Fixed handling of parameter alias in combination with default value
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816755 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 19:29:19 +00:00
Benjamin Bentmann e88a644e41 o Restored MavenProject.getCollectedProjects()
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816681 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:46:26 +00:00
Benjamin Bentmann ddf8257866 [MNG-4048] Allow to resolve dependencies using version range from reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816180 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:26:10 +00:00
Benjamin Bentmann 5d459b0c0e [MNG-4361] [regression] command line option "-update-snapshots" does not work
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816002 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 23:07:41 +00:00
Benjamin Bentmann b98795ecb9 [MNG-3281] Revisit backwards compat of extensions (IT 0114)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815761 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 13:21:50 +00:00
Benjamin Bentmann 6b2adee21f [MNG-4360] [regression] wagon-webdav-jackrabbit doesn't work with Maven 3.x
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 17:43:36 +00:00
Benjamin Bentmann 2dc6a5313c [MNG-4359] [regression] Locally reachable parent POMs outside of reactor are not found during dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815327 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 13:46:52 +00:00
Benjamin Bentmann 588907b593 o Properly handled linkage errors during mojo execution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814890 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 22:28:01 +00:00
Benjamin Bentmann 0553645ac6 o Restored legacy code for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814889 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 22:27:17 +00:00
Benjamin Bentmann 8edb01d911 [MNG-4355] [regression] Extensions without version in the POM are not resolved to the RELEASE artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814571 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:47:46 +00:00
Benjamin Bentmann e66e2cf2f7 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 17:29:26 +00:00
Benjamin Bentmann 7fee6483b3 o Revised ModelProblem to provide more detailed information about problem location
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 15:09:33 +00:00
Benjamin Bentmann 552a920fb0 o Fixed resolution of transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813805 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 12:31:00 +00:00
Herve Boutemy 0553695bcb added XML schema location for site.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813781 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 11:34:15 +00:00
Herve Boutemy b82977a18c fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813612 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:58:39 +00:00
Benjamin Bentmann 4e37cb1a45 o Updated to plexus-classworlds:2.1.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813572 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 20:09:48 +00:00
Herve Boutemy 8f2fd860e2 typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:31:07 +00:00
Benjamin Bentmann 77d2fb2068 [MNG-4350] [regression] Multiple goals bound to the same phase in a lifecycle mapping get executed out of order
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813144 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:30:13 +00:00
Benjamin Bentmann 22ef9f58fe [MNG-4349] [regression] Maven hangs in endless loop if POM of relocated artifact is invalid
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812993 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:26:04 +00:00
Benjamin Bentmann 2c2c13aefb [MNG-4348] [regression] Unnecessary remote repo access for POMs while execution plugin that does not require dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812914 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 12:08:26 +00:00
Benjamin Bentmann 3aa97fe7c2 [MNG-4342] [regression] Multiple goals within single execution with equally named parameter get configured with wrong default values
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812869 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 10:07:01 +00:00
Benjamin Bentmann e4c0baae36 o Restored legacy code for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812614 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 18:35:16 +00:00
Benjamin Bentmann 73d7e4f891 [MNG-4344] [regression] Managed executions of plugins introduced by default lifecycle bindings execute before explicitly defined plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812550 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 15:24:19 +00:00
Benjamin Bentmann 53b7d5e805 [MNG-4345] [regression] Plugin executions contributed by default lifecycle mapping execute after other plugin executions bound to the same phase
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812480 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:23:24 +00:00
Benjamin Bentmann c249a98408 [MNG-4345] [regression] Plugin executions contributed by default lifecycle mapping execute after other plugin executions bound to the same phase
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812467 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:27:57 +00:00
Benjamin Bentmann b614de4253 [MNG-4341] [regression] Plugins are not executed in POM order
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 19:15:51 +00:00
Benjamin Bentmann 84534b4372 o Fixed population of properties in legacy project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812081 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 11:11:24 +00:00
Benjamin Bentmann 318fe259d8 [MNG-4338] Unexepceted "Unknown packaging: bundle" error for plugins with custom lifecycle mapping that defines optional mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@811512 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 18:35:11 +00:00
Benjamin Bentmann 08cc074b50 [MNG-4335] [regression] <settings><offline>true</offline</settings> is not honored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@811352 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 11:41:49 +00:00
Benjamin Bentmann d7e8f29509 o Improved error messages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810954 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 14:10:23 +00:00
Benjamin Bentmann 102f4ab603 [MNG-4334] maven core caches settings.xml
o Last pass: proxies moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 10:16:19 +00:00
Benjamin Bentmann 3c34aa8c14 [MNG-4334] maven core caches settings.xml
o First pass: auth & mirror moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810296 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:49:05 +00:00
Benjamin Bentmann b8b148cf8b o Collected repo settings in request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810174 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:03:27 +00:00
Benjamin Bentmann 6615239fc8 o Made settings cloneable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810165 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 18:50:09 +00:00
Benjamin Bentmann 5a3334c3e0 o Restored backward-compat with 2.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 17:20:32 +00:00
Benjamin Bentmann 26f1a5bfda [MNG-4332] [regression] Default plugin executions contributed by packaging execute after executions from plugin management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809751 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 21:31:01 +00:00
Benjamin Bentmann 3f6ba89be7 o Simplified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809532 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 10:41:55 +00:00
Benjamin Bentmann 6d604c17c7 [MNG-4331] Add new mojo annotation @requiresDependencyCollection to grab dependency tree without files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809431 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:28:16 +00:00
Benjamin Bentmann a0d6f81a20 o Simplified code (multi-cast can be realized by a delegating listener if required)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809402 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:41:45 +00:00
Benjamin Bentmann 1e33cb56fe o Simplified code (multi-cast can be realized by a delegating listener if required)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809399 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:34:46 +00:00
Benjamin Bentmann 6a41005dd2 o Synced ProjectDependenciesResolver with MSHARED-126
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809365 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 16:09:32 +00:00
Benjamin Bentmann 7949eb739c o Excluded maven-artifact-resolver from plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 00:01:40 +00:00
Benjamin Bentmann 515843c2fe o Restored backward-compat with 2.x where the metadata source is effectively available with two role hints
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809066 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 23:43:57 +00:00
Benjamin Bentmann c62aa5c8a4 o Renamed method to better reflect its effect
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809064 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 23:40:34 +00:00
Benjamin Bentmann add554b1d6 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809038 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 21:42:58 +00:00
Benjamin Bentmann de1813b2ea o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808987 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:00:12 +00:00
Benjamin Bentmann 0b8b83f670 [MNG-4238] [regression] plugin parameters of primitive types can't be populated from expression
o First part of the fix, complete solution requires new plexus container (PLX-431) as well

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808971 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 17:57:04 +00:00
Benjamin Bentmann 023afe0dec o Exposed methods to allow the Site Plugin to reuse the forking code for report mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808828 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 09:50:29 +00:00
Benjamin Bentmann b2e6f787f6 o Fail properly when mojo requires project but there is none
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808819 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:55:27 +00:00
Benjamin Bentmann 6da9bf5c0a [MNG-4327] [regression] Forking mojos that are bound to a lifecycle phase that gets forked execute multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808556 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 18:00:56 +00:00
Benjamin Bentmann 481eefc1b3 [MNG-3260] 2.1: aggregating plugins in submodules of the reactor return all projects causing a chicken/egg issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808394 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 12:17:46 +00:00
Benjamin Bentmann 5ab104e063 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:55:02 +00:00
Benjamin Bentmann 3842d802e4 o Included forked executions in dump of execution plan
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:39:41 +00:00
Benjamin Bentmann b3988a2e58 o Restored forking for aggregators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808219 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 23:18:59 +00:00
Benjamin Bentmann e8f81a7d36 o Fixed legacy artifact creation by metadata source
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807836 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:16:19 +00:00
Benjamin Bentmann 3dd5ffbcaf o Restored method required by integrators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807761 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:55:04 +00:00
Benjamin Bentmann 5bddea6003 o Increased method visibility to enable integrators to workaround MNG-4194
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807759 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:45:50 +00:00
Benjamin Bentmann 4b904e1005 o Revised error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807736 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:03:51 +00:00
Benjamin Bentmann fba1a8f5e7 o Tweaked error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807646 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:22:10 +00:00
Benjamin Bentmann a20eb4d2a3 [MNG-4320] [regression] Aggregators invoked from CLI no longer resolve dependencies for all reactor projects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807638 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:05:16 +00:00
Benjamin Bentmann 84803c54c6 [MNG-4321] [regression] Configuration from plugin management is not applied to goals invoked from CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807576 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:24:36 +00:00
Benjamin Bentmann a3eba702af [MNG-4318] MavenProject.executionRoot is not set correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807526 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 08:58:18 +00:00
Benjamin Bentmann 1faa467bb5 o Generalized lifecycle listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807507 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 07:46:21 +00:00
Benjamin Bentmann 6a7fdf038e o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807327 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 18:17:13 +00:00
Benjamin Bentmann 9298fbb213 [MNG-4314] [regression] Direct invocation of aggregator plugin causes plugin to run on each project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807314 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 17:39:30 +00:00
Benjamin Bentmann 855ae11f28 o Removed unused exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807237 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:29:47 +00:00
Benjamin Bentmann 29b30a3249 o Introduced component for metadata parsing to abstract from XPP3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807145 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:47:53 +00:00
Benjamin Bentmann 61e9292993 [MNG-4317] [regression] g:a level metadata is not properly processed when resolving plugin version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:14:21 +00:00
Benjamin Bentmann 2b5054a347 o Updated to modello:1.1
o Used clone() methods generated by Modello for model cloning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806855 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 13:55:25 +00:00
Benjamin Bentmann 0acb96af27 o Reverted r806709, it is the very purpose of this method to be independent of the role implemented by a mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806850 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 13:17:35 +00:00
Olivier Lamy 79d66f164c [MNG-4162] all mojo (even report mojo) have the same/unique role : Mojo.ROLE
Issue id: 4162


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806709 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 20:35:41 +00:00
Benjamin Bentmann 4f49a5c76e o Improved logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 16:53:53 +00:00
Benjamin Bentmann 1b57686445 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806585 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:04:07 +00:00
Benjamin Bentmann 199bcd45b6 o Removed garbage
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806540 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:13:48 +00:00
Benjamin Bentmann c81959a706 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806538 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:07:32 +00:00
Benjamin Bentmann 0fa8f7dc93 [MNG-4313] Plugin descriptor builder ignores deprecation message for mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:06:58 +00:00
Benjamin Bentmann 5c848ce17a [MNG-4312] Magic expressions injected by PluginParameterExpressionEvalutor conflict with expressions used by plugins to access system properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806286 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 18:17:26 +00:00
Benjamin Bentmann 8e277259aa o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806196 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 14:42:04 +00:00
Benjamin Bentmann 2f4b79e4bb o Moved plugin prefix resolution into a dedicated component
o Completed compat impl of legacy plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806153 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 12:57:39 +00:00
Benjamin Bentmann 43e0979b5e o Fixed parsing of default phase bindings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806005 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:52:41 +00:00
Benjamin Bentmann 2e0b074c5e o Decoupled test from super POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806004 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:51:43 +00:00
Benjamin Bentmann 14a19354e0 o Restored more backward-compat code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805995 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:11:34 +00:00
Benjamin Bentmann d42a58e1e0 o Removed obsolete class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:09:56 +00:00
Benjamin Bentmann ff4d83c2d5 o Renamed new plugin manager to make room for the legacy impl that will provide backward-compat with existing plugins
o Extracted plugin version resolution into a dedicated component

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805962 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:24:35 +00:00
Benjamin Bentmann 90333e8cd9 o Removed obsolete code (plugin descriptors are cached by dedicated component)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805876 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:41:56 +00:00
Benjamin Bentmann 188543b54f o Added some API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805855 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:04:18 +00:00
Benjamin Bentmann bc68f13de7 o Removed obsolete code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805833 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:15:04 +00:00
Benjamin Bentmann fd54fd1f07 o Splitted plugin manager: One general component for any kind of Maven plugin, one specifically tailored for execution of build plugins. The generic plugin manager is meant to be reused by the new Site Plugin, the other plugin manager is private to the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805826 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:52:04 +00:00
Benjamin Bentmann fc48539c96 o Fixed control flow to properly fire session end event
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805717 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:39:51 +00:00
Benjamin Bentmann 8c7eb1b036 o Removed superfluous code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805714 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:31:23 +00:00
Benjamin Bentmann 7ed9ec5b37 o Improved warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805356 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:58:49 +00:00
Benjamin Bentmann b725e30dea [MNG-4305] [regression] ${localRepository.basedir} is not a proper path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805061 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:30:33 +00:00
Benjamin Bentmann 00ed1a01c0 [MNG-4304] [regression] MavenProject.getDependencyArtifacts() not set
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805008 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 15:16:57 +00:00
Benjamin Bentmann 2dddfecbfa o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805005 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 15:07:15 +00:00
Benjamin Bentmann df8c87bba7 o Moved logging over to listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:01:28 +00:00
Benjamin Bentmann b5cdb0dc74 o Introduced listener to track lifecycle events
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804940 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:28:24 +00:00
Benjamin Bentmann eb8b7072a8 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804894 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:19:55 +00:00
Herve Boutemy 9d381f5aeb use Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804537 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:36:52 +00:00
Herve Boutemy 86ccde3549 use Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804536 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:17:35 +00:00
Herve Boutemy 3acee5c76e little coding style fixes (no code change)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804535 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:12:01 +00:00
Herve Boutemy 10c3b8f499 little coding style fixes (no code change)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804533 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:08:43 +00:00
Benjamin Bentmann 828db37251 o Restored methods for backward compat (e.g. with maven-enforcer-plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804403 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 22:48:46 +00:00
Benjamin Bentmann e0c8417db5 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804375 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 21:08:55 +00:00
Benjamin Bentmann acdfa7e8df [MNG-3018] pluginManagement configurations are not honoured when plugin is silently included
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804257 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:19:51 +00:00
Benjamin Bentmann 988246330f o Polished code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804150 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 10:02:13 +00:00
Benjamin Bentmann 044f6fb408 o Removed logging of model problems from the project builder (that kind of reporting should be handled in higher levels)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804000 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:27:16 +00:00
Benjamin Bentmann f2946af284 [MNG-4297] Disallow use of properties in the project coordinates
o For Maven 3.0, started to produce a warning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803995 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:17:19 +00:00
Benjamin Bentmann b3611a4fdd [MNG-4298] Build MavenProject instances incrementally
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 17:52:27 +00:00
Benjamin Bentmann 52d99a7ba9 o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803816 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:32:14 +00:00
Benjamin Bentmann 6e302e26c9 [MNG-4296] allow core extensions configure new classrealms
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803811 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:03:07 +00:00
Benjamin Bentmann d198f32117 o Refactored project builder to support better error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803598 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 16:52:49 +00:00
Benjamin Bentmann d5c8697e97 o Fixed missing offline flag propagation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803562 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:40:24 +00:00
Benjamin Bentmann 7c9ffe28c6 o Fixed missing offline flag propagation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803555 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:29:52 +00:00
Benjamin Bentmann 9131de7039 o Fixed missing version resolution for extension plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803266 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 19:51:12 +00:00
Benjamin Bentmann 91d459309f o Fixed project building helper to use repo cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803256 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 19:32:27 +00:00
Benjamin Bentmann 13709defd0 o Delayed injection of plugin default configuration until the project is actually executed to allow for plugin resolution from the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 18:45:28 +00:00
Benjamin Bentmann 87704b69b8 o Fixed potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803200 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 16:37:41 +00:00
Benjamin Bentmann 16b9331f92 [MNG-4291] [regression] @requiresOnline mojo annotation is ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:53:12 +00:00
Benjamin Bentmann 217c82d26d o Re-added support for offline mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 12:48:14 +00:00
Benjamin Bentmann 24bd8d772f o Introduced RepositoryRequest to hold the bare minimum of items required for repo accesses
o Added cache for metadata.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803059 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:29:38 +00:00
Benjamin Bentmann db4d07ea3a o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802778 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:09:40 +00:00
Benjamin Bentmann 09d93a0b6a o Fixed critical performance regression introduced in r801648. The relocation is now grabbed alongside the direct dependencies when we get the resolution group, these bits are stored in the same file and so we can as well process them in one go.
Issue id: o


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 22:17:19 +00:00
Benjamin Bentmann 5c3cb94678 o Cut off unnecessary access to core component descriptors from plugins (the plugin can already load core components via the parent delegation to the core realm)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802079 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:25:21 +00:00
Benjamin Bentmann 49e73d3ff6 [MNG-4273] [regression] Internal utility classes of core leak into plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802041 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 15:15:45 +00:00
Benjamin Bentmann ce63149fa7 [MNG-4287] Make ToolchainManagerPrivate session-aware
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802024 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:41:10 +00:00
Benjamin Bentmann d24d7049c6 [MNG-2690] DefaultPluginManager.getConfiguredMojo() doesn't handle NoClassDefFoundError correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801964 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 12:16:45 +00:00
Benjamin Bentmann ae33045c96 [MNG-4275] [regression] Direct relocations no longer log at WARNING level : MNG-3380 conflicts with MNG-1689
o Merged from r801437

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801785 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 19:29:18 +00:00
Benjamin Bentmann 4397321a10 o Extended metadata resolution group to also hold managed version map. This can save us another trip through the project builder when transitively resolving say plugin dependencies. We already need to build the project to grab the direct dependencies so we can as well grab the managed ones while we're there
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801738 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 17:35:15 +00:00
Benjamin Bentmann 026328be02 [MNG-4197] relocation doesn't work in trunk (rev 784345)
Submitted by: Olivier Lamy

o Applied with minor updates to account for recent refactoring

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801648 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 13:48:03 +00:00
Benjamin Bentmann d725bd9238 o Fixed test stub to be more realistic
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801613 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 11:48:17 +00:00
Benjamin Bentmann cbfc593e6e o Fixed exception reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801591 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 10:24:05 +00:00
Benjamin Bentmann e3b41a9457 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801451 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 22:47:45 +00:00
Benjamin Bentmann 84dc78cbe4 o Extended error reporting to provide the id of the POM that failed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801449 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 22:45:14 +00:00
Benjamin Bentmann 7de1280968 [MNG-4283] [regression] Parent POM with packaging other than "pom" is not rejected
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801424 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 21:43:24 +00:00
Benjamin Bentmann 27ff2babf9 o Fixed invalid test POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801423 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 21:42:06 +00:00
Benjamin Bentmann 82e64d3049 o Restored compat with Maven 2.x regarding order of mojo parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800767 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:01:35 +00:00
Benjamin Bentmann f3d89b4d5b o Fixed missing injection of default parameter values for direct goals invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800740 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 11:59:57 +00:00
Benjamin Bentmann a0f1eb3917 [MNG-4280] [regression] Direct CLI invocation of goal causes "default-cli" config to be processed twice, duplicating list values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800728 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 10:58:12 +00:00
Benjamin Bentmann 64f0e9f57b o Fixed exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:57:21 +00:00
Benjamin Bentmann b454fb7cb6 o Polished error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800482 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:08:55 +00:00