Commit Graph

1519 Commits

Author SHA1 Message Date
Jason van Zyl a10faccdfc o get rid of debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721647 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:46:52 +00:00
Jason van Zyl c889d7266d o adding container requirement to descriptor to remove the contextualize phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721643 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:37:07 +00:00
Britton Isbell 7b974639d5 Throw illegal argument, not NPE.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721640 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:27:02 +00:00
Jason van Zyl a455a47fcc o get rid of references to the javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721634 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:05:16 +00:00
Jason van Zyl 109c39d818 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721633 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:03:15 +00:00
Jason van Zyl 97648c35a1 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721632 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:02:59 +00:00
Jason van Zyl 5f47bbea7f o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721631 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:57:52 +00:00
Jason van Zyl 26b3be2096 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721630 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:56:28 +00:00
Jason van Zyl 4b7261681d o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721629 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:55:55 +00:00
Jason van Zyl 89b760d659 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721628 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:55:08 +00:00
Jason van Zyl 8cdb47ab05 o annos work now, we needed to differentiate between classes in jars and in your project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721627 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:54:23 +00:00
Jason van Zyl 44bcc2f5e8 o adding back in annos to a test class for eu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721615 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 02:40:17 +00:00
Jason van Zyl 8d32719c39 o convert as much as i can in maven-core to use the annotation processor. it revealed a bug where given certain circumstances
if a component was a requirement it prevents the actual component descriptor for that requirement to be output. worked
  around that by using the javadoc annotations on 5 problem classes. i'll fix the processor before converting the rest.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721606 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 01:36:23 +00:00
Jason van Zyl 5b39f3ed58 o start separating out the artifact handlers as these can now be found dynamically in their respective plugins when the plugin is loaded.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721577 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:14:54 +00:00
Jason van Zyl 58c23ba20f o use annos for DefaultRuntimeInformation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721574 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:09:38 +00:00
Jason van Zyl 3ce3ccdf59 o unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721571 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:04:22 +00:00
Jason van Zyl 49299ed42b o using annotations for DefaultMaven, remove hand-made entry
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721569 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:02:44 +00:00
Jason van Zyl 5f268ca18a o javadoc for the extension listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721568 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:00:35 +00:00
Jason van Zyl aba2b12837 MNG-3876: Add in the maven-artifact code so we can start creating facades and back it with mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 22:32:16 +00:00
Jason van Zyl 39757352e6 o fix my hardcoding
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720527 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 16:18:48 +00:00
Jason van Zyl 38029c20e2 o adding missing model extensions i added
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720525 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 16:13:29 +00:00
Jason van Zyl c418d12814 o primarily refactoring in part for the preparation making room for mercury and processing events from maven-shared-model
o add plexus component descriptor generation to the bootstrap so we can start removing the hand-written descriptors and start
  using annotations everywhere



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 07:11:35 +00:00
Benjamin Bentmann d486ebbe5c [MNG-3664] Various unit tests from maven-core fail when run from a directory with space in its path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720050 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 21:42:00 +00:00
Benjamin Bentmann 4310dd2c51 [MNG-3544] Beautify debug output for mojo parameters of type array
o Merged r720042 from maven-2.0.x

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720045 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 21:17:34 +00:00
Benjamin Bentmann 9811be2c3e [MNG-3787] Add plugin version to default reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720001 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 16:09:58 +00:00
Britton Isbell 7368eb1216 Moved out specialized methods from PomClassicTransformer to ProjectBuilder. Did this refactoring to make it easier to merge PomTransformer and PomClassicTransfomer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719724 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:50:31 +00:00
Britton Isbell c26b2d69cd Merge of sisbell-maven-3.0-mercury branch to trunk. Includes maven-project-builder component, which breaks out some of the independent project builder classes, so that Mercury does not need to pull in the entire trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 04:49:46 +00:00
Britton Isbell 6a1f04705c Moved PathTranslator back to project module to fix class reference issue with the enforcer plugin. Added a preprocess method on the ModelTransformer to allow processing of plugin config elements. Need to add information about which elements are collections so they are not lost during a sort.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719406 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 22:19:34 +00:00
Jason van Zyl 17d68dbce5 o adding some patches for changes in plexus
submitted by: Dain Sundstrom


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718845 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 02:31:49 +00:00
Jason van Zyl f88b524249 o using thread local lookup setting the realm to null once it's done its work with the plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718656 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:17:26 +00:00
Jason van Zyl 56986ca004 o use the class lookup method which will now automatically partition lookups based on the class
submitted by: Dain Sundstrom



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717964 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 02:38:13 +00:00
Benjamin Bentmann 378ee24d22 [MNG-3797] RealmUtils.create*Id() does not properly separate multiple threads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@714067 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 16:49:04 +00:00
Benjamin Bentmann 4378d40c7b [MNG-3813] Plugin class path does not respect ordering of plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713438 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 17:53:24 +00:00
Benjamin Bentmann 57171cb4aa [MNG-3503] Shade MX* classes from plexus-utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713202 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 22:34:59 +00:00
Benjamin Bentmann 30f86cb7c8 o Added svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713050 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:37:26 +00:00
Benjamin Bentmann cd04c1d85a o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713049 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:35:30 +00:00
Britton Isbell e96229a165 Reverting back changes. It's building locally but breaking on Hudson.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706231 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:06:03 +00:00
Britton Isbell d733885e54 Hooked up maven-project-builder into build. Updated classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706143 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 07:57:44 +00:00
Britton Isbell 7c54aada90 Fix: IT 3746, 102, 0043 - Merged out some previous changes to PluginParameterExpressionEvaluator.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@704797 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 06:57:37 +00:00
Jason van Zyl a2f245109b o revert my ordering, i'll have to investigate why property set on the CLI which conflicts with an internal property still wins in 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701702 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:51:42 +00:00
Jason van Zyl 4770c52af5 o make sure that the execution properties that are taken from the CLI are processed before anything else
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701694 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:20:15 +00:00
Jason van Zyl f4de864984 o restore the getApplicationVersion() method which is use by eclipse:eclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701693 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:19:41 +00:00
Jason van Zyl 9a02f5a1ec o placing a hard coded version in the event the pom.properties can't be found. for debugging inside m2e i can live with this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701665 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 16:33:36 +00:00
Jason van Zyl fa17cae65a o be more lenient when looking for the properties file. in my case i am debugging completely from the eclipse workspace and i don't want to have to produce the JAR everytime i want to execute maven. these properties files should be created as part of the generate resources phase and not buried in the maven archiver and performed during JAR production. bad mixing of concerns.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701663 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 16:30:55 +00:00
Britton Isbell d17fd4ca86 Fix for IT0096, IT0097. Now checking session to see if plugin is part of reactor before trying to resolve it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701563 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 23:06:25 +00:00
Jason van Zyl 556254c8c3 MNG-3653/MNG-3677: restored property file nabbing from the core JAR, and reworked the runtime component to be more general and used it from the CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701264 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:36:41 +00:00
Jason van Zyl d06897e91c MNG-3637: making sure it says we fail when we fail
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701228 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:52:53 +00:00
Britton Isbell 9220e682ec Remove model cloning.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700325 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 01:58:20 +00:00
Britton Isbell 3af42c2f05 Removed unneeded class/methods related to extension scanner.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700300 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:02:15 +00:00
Britton Isbell 534b660b4e Removed extension scanner. It was tied up into the old model lineage code, which is very buggy. Needs to be reimplemented.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700226 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 19:51:10 +00:00
Jason van Zyl b6c2132bc7 o merging from my branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699806 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 12:16:53 +00:00
Jason van Zyl 1260ced4f5 o collapsing all the profile code into maven-project, now it's all in one place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699659 13f79535-47bb-0310-9956-ffa450edef68
2008-09-27 14:52:28 +00:00
Jason van Zyl 6282ce0b0e o rolling back change, not sure how subclipse commits to two separate repositories in one commit..
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@696679 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 15:49:48 +00:00
Jason van Zyl 02a0cb7d5a o match shane's changes to remove the workspace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@696637 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 11:39:16 +00:00
Britton Isbell 3929bd0e45 Reverted back previous checkin, which broke something in the assembly plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@696326 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 14:42:57 +00:00
Britton Isbell 06abbabcd2 Some fixes for adding properties from active profiles to the interpolation list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@696299 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 13:52:46 +00:00
Britton Isbell bc3660ec47 Detangled profile activitation dependency on realm manager. Move org.apache.maven.realm package to maven-core project.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695332 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 02:54:31 +00:00
Britton Isbell 180bf37d84 Fix: mng2562 - timestamp
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695241 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 15:36:56 +00:00
Britton Isbell 6221dfb9e6 Fix: mng3746 - Implemented proper ordering of system, user and model properties used in interpolation. this required creating a tag value, which could be used for comparing and ordering of InterpolatorProperty.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695196 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 11:34:27 +00:00
Britton Isbell c993fd98d0 Fix: IT0098 - CLI properties now correctly constructed and passed to interpolator.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695022 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 20:20:25 +00:00
Britton Isbell 9fff4c0612 Moved PathTranslator to maven-core. maven-project no longer uses it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694912 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 10:07:23 +00:00
Britton Isbell 7dc42ed958 Replaced interpolator code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694907 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 09:28:23 +00:00
Britton Isbell f2e9e6810a Cleanup of code. Removed last of dynamic/concrete code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694598 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 03:45:45 +00:00
Britton Isbell 45f10e7526 Refactored out restorer class and related MavenProjectBuilder methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694360 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 17:11:34 +00:00
Britton Isbell cacc78b1d0 Removed dynamic injection of pom build during project construction. Deleted aspects.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:16:40 +00:00
Britton Isbell 6b96692a93 Merge of sisbell-maven-2.1-profile branch. Removes use of project lineage from builder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@693332 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 01:04:17 +00:00
Jason van Zyl b07c8d2e36 reverting that commit, meant for my branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@688584 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 23:38:39 +00:00
Jason van Zyl 2a94051f54 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@688581 13f79535-47bb-0310-9956-ffa450edef68 2008-08-24 23:24:41 +00:00
Jason van Zyl c82352832a o updating to 3.0-SNAPSHOT
o aparently when we start from scratch the bootstrap wasn't working, so the maven ant tasks will now igore trying to download the projects we
  are actually trying to build.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@684975 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:05:20 +00:00
Vincent Siveton b663f0c26c o merged from r682323
Issue id: o merge


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@682324 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:15:23 +00:00
Brett Leslie Porter d52ffdef81 reapplying John's merge of all 2.0.10-RC changes to date by reverting r679244, sans artifact upgrade and user agent parts. Passes all integration tests locally, seeing if Hudson and Continuum agree
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679263 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:56:21 +00:00
John Dennis Casey 24176a08a1 Rolling back merge attempt until I have time to fix failing unit tests (most likely tomorrow will do it).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679244 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 00:18:09 +00:00
John Dennis Casey 3c9be4bceb Merging changes in from 2.0.10-RC2 release candidate on 2.0.10-RC branch. Still have two failing unit tests in maven-core; I'll take care of those in a few minutes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679229 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 23:26:00 +00:00
John Dennis Casey 16ba522c66 Switch to using plexus-interpolation directly to avoid hidden imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@675618 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 15:52:53 +00:00
John Dennis Casey 104dc17200 forgot a newline.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@674906 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 18:08:19 +00:00
John Dennis Casey 9cef694f17 [MNG-3511] Improve output when no goal is specified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@674904 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 18:07:50 +00:00
Jason van Zyl c48e137846 o work around for MNGECLIPSE-607 until the interpolation is fixed, something broke it and is wreaking havoc with platform testing within eclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@674211 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 17:05:45 +00:00
John Dennis Casey ff3312c747 Need to interpolate the plugin configurations that are stored in MojoExecution instances, created during build planning.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672794 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 15:27:16 +00:00
John Dennis Casey 3e03ce0956 Now that we're holding back the plugin config for interpolation just before it's used, we need to accept pom.* expressions in the parameter expression evaluator. Also, setting the maven-distribution finalName for the assembly plugin back to its old expression, which used pom.version not project.version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672784 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 14:47:09 +00:00
John Dennis Casey 5c32bc6b28 All tests pass on my localhost...committing to see how it works on hudson.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672782 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 14:35:43 +00:00
John Dennis Casey cd2602d9e6 Adding -V|--show-version, and cleaning up interpolation to correspond with recent refactoriing in 2.0.x branch. Also, changing super-POM to use basedir/build.directory expressions in build paths, to enable paths to respond to changes in other, more basic paths (like outputDirectory responding to a change in build.directory). This is in preparation for merging over the dynamicBuild behavior.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@671936 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 16:34:27 +00:00
Brett Leslie Porter c49d930eba add license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@670349 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 12:38:42 +00:00
Brett Leslie Porter 3bce57d8c7 license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669225 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 17:00:14 +00:00
Jason van Zyl ac4c940711 MNG-3598: Allow custom dependency resolution
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@660244 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 17:33:49 +00:00
Milos Kleint ca2bb6a32f MNG-3574 - project plugin meta version needs to be replaced with the resolved one.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@659463 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:45:41 +00:00
John Dennis Casey 89f6e8e60e Fixing xpp3 imports for plugin realms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654198 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 18:08:15 +00:00
Brian E Fox 1c50dc0d0d clean up the poms and move versions to dependencyManagement
Issue id: c


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@653481 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:46:40 +00:00
John Dennis Casey 6d897f9312 Cleaning up artifact ordering for extensions and plugins in teh realm manager by switching to List for artifact collections, instead of allowing unordered Collection instances.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@651081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 21:50:49 +00:00
John Dennis Casey 5900250b45 Cleaning up the error message formatting some more.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650601 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 18:05:10 +00:00
John Dennis Casey 1cb3190b0f Make the error message construction a little more resilient to errors in classloading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650543 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 15:11:19 +00:00
Herve Boutemy 007fe63a03 added site descriptors to provide modules/parent links (merged from 2.0.x branch r649903)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649913 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:37:31 +00:00
John Dennis Casey d51e3b5e7a Adding tests for the plugin-parameter expression evaluator, and some better behavior around MojoExecution and PluginDescriptor instances. Also, bumping plexus-container-default to -alpha-45-SNAPSHOT to take advantage of a new MapConverter fix.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648053 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 23:22:10 +00:00
Vincent Siveton 3c05ebda15 o merged from r647732 (MNG-3520: Korean message resource)
Issue id: o m


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647733 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 11:12:38 +00:00
John Dennis Casey 24af7274bc Fixing error-reporting pointcuts for plugin manager changes I just checked in.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@646544 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 21:21:13 +00:00
John Dennis Casey 32a9c73445 Fixing MNG-2277 integration test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@646517 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 20:21:39 +00:00
John Dennis Casey 5691b96e4d Fixing MNG-3473 integration test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@646052 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:51:15 +00:00
John Dennis Casey c32aa5a656 Fixing unit test problems from it0103 fix, and fixing it0042...just 4 more failing ITs before this is back on its feet.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@645015 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 02:19:29 +00:00
Herve Boutemy 49a0e76b82 [MNG-3497] rar, par and ejb3 archives should not be added to classpath
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@644434 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 18:30:00 +00:00
John Dennis Casey 1d9d014cde Fixing MNG-3355 and MNG-2339.
This commit introduces three changes: user-level properties that are separated from the execution properties, where execution properties contain envars, sysprops, and user-level properties...user-level properties are useful for POM interpolation for 2339 and 3355.

Second, a ProjectBuilderConfiguration interface and default implementation, to stem the proliferation of method parameters to projectBuilder methods. This was a natural place to introduce it, as user-level properties had to be passed in separately from the execution properties, for interpolation.

Finally, interpolation has been switched to use the new plexus-interpolation project, which is based on the classes in plexus-utils.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@644354 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:18:18 +00:00
Vincent Siveton c9888e169a o merged from r634311 (MNG-3442: Add explicit resource bundle for English)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@634313 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 15:45:08 +00:00
Vincent Siveton 39a85be0d3 o merged r634304 (MNG-428: Japanese message resource)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@634305 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 15:32:01 +00:00
John Dennis Casey fdf69050f1 Reinstate mojo execution logging to the console using the default event monitor. Also, have the error-reporting unit test cleanup after itself.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@634134 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 02:48:44 +00:00
Jason van Zyl 9bf54d4984 o rolling back r631468, we will use the container to dynamically pull in wagons in 2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@634081 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 23:34:06 +00:00
John Dennis Casey d9b17ffbb3 Fixing injection of plexus-utils imports for XPP3 stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@633750 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 02:28:59 +00:00
John Dennis Casey 19cfe737aa Restore complete list of plugin artifacts in PluginDescriptor for use in ${plugin.artifacts}.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@633239 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 19:18:37 +00:00
Carlos Sanchez Gonzalez b19a751704 [MNG-3410] Managed versions in plugins are not considered when using them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632683 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 00:55:14 +00:00
John Dennis Casey a5f49900f2 Adding the beginnings of a workspace to Maven, which is just a shared cache component for project, model, and POM file instances (for now). This allows fine-grained control over when such caches are cleared in environments where embedder instances may be reused multiple times, and will eventually enable new profile activators that require access to project information in the current build along with other advanced caching and cache-querying features.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632482 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:58:00 +00:00
Jason van Zyl 4411b1c425 Changing to name and not email.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632468 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:36:19 +00:00
Brett Leslie Porter c2bc33050c [MNG-2664] add wagon-webdav to the built in providers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@631468 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 02:46:17 +00:00
John Dennis Casey b4e41217c6 Improve phase-tracking, event dispatching, and align build headers as events dispatched to the default event monitor...also, add debug-level enter/exit phase output in the default event monitor. Finally, refactored code that actually renders the build plan and executes the mojos for each task-segment in the lifecycle executor, to eliminate all the duplication.
This lays the ground work for improving cache management, since I also added event types for embedder control (keep in mind that event monitors can be used to control when the project/model cache is flushed, for example).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@631455 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 01:26:41 +00:00
John Dennis Casey 22817a2444 Fixing site-generation and other plugins that require reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@630048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 23:31:38 +00:00
John Dennis Casey d54cf5b9bb Ignore missing modules during extension-scanning when MavenEmbedder.readProject(..) is called. At other times, as in the case of normal builds, don't suppress missing module exceptions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629571 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 18:53:09 +00:00
Carlos Sanchez Gonzalez 0ca8675e19 [MNG-3400] Implement clone properly following Effective Java' book considerations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@627935 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 03:10:09 +00:00
Carlos Sanchez Gonzalez 17d401df6c [MNG-3400] MavenProject is not extensible
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@627670 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 06:08:07 +00:00
John Dennis Casey 0fc4704f30 [MNG-2184] Commenting this out again, until I can figure out how to make aggregators run once and only once, regardless of the contents of the reactor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619724 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:20:22 +00:00
John Dennis Casey 80f538bc52 Putting aggregator skip logic from previous commit ahead of warning messages, and adding some doco to the javadoc for the method to note the skip behavior.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619721 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:06:16 +00:00
John Dennis Casey 34c390602c [MNG-2184] Skip aggregator-mojo execution when bound to the lifecycle (or bound as a report), and the current project is not the root project...in other words, detect aggregator mojos bound to the lifecycle in some way, and only execute them once using the root project.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619720 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:03:03 +00:00
John Dennis Casey cc6b280343 Add warnings for deprecation of aggregator-mojos bound to the lifecycle, and add error/error-logging (error when directly in the pom, error-logging when brought in via lifecycle mapping, etc.) when a direct-invocation mojo (@requiresDirectInvocation) is bound to the lifecycle.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619711 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 00:46:16 +00:00
Vincent Siveton 621d238877 MNG-3388: DefaultPluginManager needs to catch LinkageError
o added another catch
o based on r619408

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619410 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 13:41:13 +00:00
Vincent Siveton 738cb3016b MNG-3388: DefaultPluginManager needs to catch LinkageError
o added the catch
o based on r619234

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619237 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 00:57:42 +00:00
John Dennis Casey 04ad40121c [MNG-1493] Modifying to allow <module> to specify a full path, including alternate pom file, rather than just a directory wherein a normal 'pom.xml' is expected to reside. This works more like <relativePath> has worked for awhile now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618780 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:27:53 +00:00
John Dennis Casey 256d3cf86b [MNG-3331] Correcting URI.normalize call for only non-windows environments, since this apparently destroys UNC paths.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618735 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:30:45 +00:00
John Dennis Casey 91d2e5abf9 [MNG-3331] Modified module path calculation to use URI.normalize to handle relative directory references, so there is no confusion about such references causing false positives on symlink detection (where getCanonicalPath() != getAbsolutePath()).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618708 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 17:31:57 +00:00
John Dennis Casey 10da177f1d [MNG-3119] Modifying MavenProject.addAttachment(..) and MavenProjectHelper.attachArtifact(..) implementations to throw an unchecked exception when a project attachment will collide with existing attachments. This includes tests to verify the behavior. The unchecked exception allows Maven to deal with it as a real build failure, while avoiding the need to modify the MavenProjectHelper API, which is part of Maven's core and which would render many existing plugins incompatible with new Maven releases.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618497 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 00:09:27 +00:00
John Dennis Casey e38fa6fcc5 [MNG-3099] Modify the call to get the super-pom in cases where maven is not using any pom files, to ensure that profiles from the settings are used.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618391 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 19:36:35 +00:00
John Dennis Casey e86a507c5d Fixing formatting on transitive resolution error (again).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617669 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:57:26 +00:00
John Dennis Casey c9d88e6ce3 Fixing formatting on transitive resolution error.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:44:10 +00:00
John Dennis Casey f838337b7a Refactor the artifact-scanning logic from the realm manager and the plugin-artifact resolution logic in the plugin manager into two separate classes, one a component and one a static class, to allow the new PluginPrefixLoader to reuse some of both and create a lighter-weight approach to grabbing the PluginDescriptor for build-planning purposes...also avoids some needless error messages during build planning.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617293 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 23:29:18 +00:00
John Dennis Casey e670bd3ea3 Adding the concept of recommended stacktrace hints for reported errors, and add the ability to directly access the list of exceptions that actually hit the error reporter (instead of having to use MavenExecutionResult.getExceptions() in conjunction with findReportedException(..) to unwrap them.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617178 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:17:05 +00:00
John Dennis Casey b7ce1b8c93 Fixing the case where there were exceptions in the build, but for whatever reason they didn't trigger a reactor-manager build failure flag...in cases where there isn't really a project against which to log the error, for instance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@616968 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 00:36:26 +00:00
John Dennis Casey 6c103fff87 Adding the build-plan instance for each project to the session and MavenExecutionResponse.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@616824 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 18:11:50 +00:00
John Dennis Casey ba9624676d Cleanup use of repositories for resolving plugin dependencies by using a LinkedHashSet to avoid duplicated repository defs (although two defs pointing to the same URL but with different id's will still look like two repos).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@615004 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 21:29:12 +00:00
John Dennis Casey 48db18c81b Cleanup on pointcuts to make them slightly more efficient.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614756 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 00:33:24 +00:00
John Dennis Casey 268d08b8a3 [MNG-3372] Improve error handling where a mojo is referenced but the plugin doesn't contain it (in direct-invocation cases), and fix plugin-version discovery where a plugin pom gives a maven prereq.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614708 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 22:18:23 +00:00
John Dennis Casey 22e2b4ab35 Commenting out debug pointcut because it causes class sizes to balloon.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:54:20 +00:00
John Dennis Casey 8d42ef1ce3 Fixing error-reporting pointcut that I broke.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614342 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 22:01:57 +00:00
John Dennis Casey a23ed648fd adding basic bootstrapping instructions to the README.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614337 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 21:52:28 +00:00
John Dennis Casey f2ea396212 Widening the pointcut to catch more potential places where plugin-loading could be a problem.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614330 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 21:33:50 +00:00
John Dennis Casey 8b762300ef Improve diagnosis when no goals are passed in via the request (the goals List is null, not just empty). This can happen when used via the embedder in a non-cli scenario.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614319 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:52:11 +00:00
John Dennis Casey 6d0563662c Improve error reporting bindings for two exception cases, to get away from handler(..) pointcuts which are less versatile for later debugging aspects to manipulate.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614317 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:50:16 +00:00
Vincent Siveton 309fadbdcc o fixed duplicate license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614084 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 01:26:47 +00:00
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
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 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
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 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 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 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
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
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
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
Brian E Fox c754ccad3a MNG-2166: enhanced missing goal error info. (fix from 587339:587340 in 2.0.x)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609085 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:49:42 +00:00
John Dennis Casey 40c84ecb79 Fixing for windows users everywhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@605125 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 07:58:45 +00:00
John Dennis Casey fe4363a4c5 Removing the build overlay, as it was causing problems with path translation, and doesn't serve any real purpose.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@605095 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 05:36:03 +00:00
John Dennis Casey fbb4833982 Cleaning up reporting some more.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604750 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 00:15:21 +00:00
John Dennis Casey b511c734a6 Fixing issues with reports used from the site plugin, where the reports' classloaders had been disconnected from the project/core parent realms, and so couldn't use maven libraries.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604685 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 20:09:43 +00:00
John Dennis Casey fa0cce4fdb Fixing case where pluginRealm == projectRealm to avoid setting parent realm == null. This would happen whenever the lifecycle forked, for instance, and would result in weird container classes not being found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604643 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 16:11:18 +00:00
John Dennis Casey 45729dcafc Improving binding for PluginParameterException report.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604642 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 16:10:21 +00:00
John Dennis Casey 10a192dfc2 fixing error reporting for when pom file is missing, and adding deprecated-mojo and deprecated-mojo-param warnings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604538 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 01:28:17 +00:00
John Dennis Casey 5159c0b4b6 Error reporting works properly now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604401 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 08:17:21 +00:00
John Dennis Casey fe523d1151 Basic error reporting (tips aren't available for everything yet) is complete for everything the CLI typically handles directly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603779 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 23:40:49 +00:00
John Dennis Casey 147f00077b Fixing broken tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603455 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 04:17:58 +00:00
John Dennis Casey 441b096e79 Mapping in most of the rest of the maven-core errors to the error reporter...just need to finish the ExtensionManagerException mappings, then write error reports for the new mappings from today, and we should be in good shape.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603431 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 00:52:26 +00:00
John Dennis Casey 3e081b677a Fixing the legacy lifecycle mappings back to compatibility with 2.0.x in terms of classname, then mapping them back to a field in the lifecycle executor so the enforcer plugin continues to function.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602972 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 17:22:33 +00:00
John Dennis Casey 1328959dca Working on the compat aspect, and changing the DefaultMaven class to implement LogEnabled directly so I can grab the logger instance inside the compat aspect...AbstractLogEnabled is beyond the grasp of this aspect.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602610 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 02:09:44 +00:00
John Dennis Casey a104251412 Fixing debug message that snuck in as info log-level.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602156 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:15:58 +00:00
John Dennis Casey b38e6e2fad Fixing compat aspect in cases where the Set being passed in is unmodifiable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601161 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 00:05:00 +00:00
John Dennis Casey 103a85a02b Fixing plugins-as-extensions when brought in from pluginManagement to a module-project's build. Unit test included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601013 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:22:28 +00:00
John Dennis Casey 1db3b755ab Fixing problem with new extensions manager code where custom lifecycle definitions are not used in build planning. Unit tests included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@600792 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 04:32:13 +00:00
John Dennis Casey f55eb07bda Adding unit tests for plugin-as-extension in the extension scanner, cleaning up an unneeded call to registerWagons() (controlled by active collection now), and cleaning up a sysout in the embedder unit test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599707 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 07:11:00 +00:00
John Dennis Casey 2ec256bab6 Removing pluginRepository use (finally), and fixing pluginGroups usage with profiles from the settings and super-POM without an accompanying pom.xml in the project directory...I know, something of a convoluted case.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599692 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 04:26:58 +00:00
John Dennis Casey b61bb393a8 Cleaning up error reporting some for project building, and attempting to make the error reporter instances propagate to the aspects binding them to the error sources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599503 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 16:33:57 +00:00
John Dennis Casey 9732014c53 Fixing case where parent pom has pluginManagement, child does not refer to the plugin, and plugin is used directly on the command line...version from parent-pom pluginManagement should be used. Test case to follow.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599338 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 08:42:38 +00:00
John Dennis Casey 941a11381c Adding aspect-bound error reporting for BuildFailureException descendants.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598900 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 08:11:49 +00:00
John Dennis Casey 249af52bb5 Wiring plugin-as-extension back into the new extension scanning stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598720 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:59:22 +00:00
Milos Kleint deca7349ff add maven-toolchain to the list of default excludes. necessary for proper retrieval from MavenSession's plugin context.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597154 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:39 +00:00
John Dennis Casey 5fc3d35ce0 Removing maven-build-context, and replacing it with caching aspects for model-lineage stuff and project instances. Still needs caching for artifact resolution, and I have an aspect for this too, but it's not enabled yet, since it's still buggy.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@595215 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 05:37:55 +00:00
Vincent Siveton 643119482b o merged r594510 (fixed line size)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594511 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 12:39:55 +00:00
Jason van Zyl 1a286e2325 o adding PomMetadataSource for the changes to maven-artifact
o adding in all the artifact handlers here as they are Maven specific and don't belong in maven-artifact


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593857 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 08:10:35 +00:00
John Dennis Casey 7fcf47aa8c formats.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593625 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 19:16:06 +00:00
John Dennis Casey 9c9bcde5f4 [MNG-3193] Adding pointcut and advice to provide backward compat on invalid lifecycle phase names (these bindings will be ignored).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593310 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 21:06:31 +00:00
John Dennis Casey 08947e7efb Working on cleaning up exceptions and reporting (these changes are from before the break I took to work on memory profiling in maven and plexus).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593294 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 20:33:27 +00:00
John Dennis Casey ed568e725f Make reporting plugin configuration always used (even if mojo in question is not a report), as in 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592949 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 23:28:45 +00:00
John Dennis Casey febce07c90 Adding more context information to existing exceptions, cleaning up construction in exceptions, and adjusting the inheritance hierarchy for exceptions to make them make a little more sense for error reporting. Also, adding improved (but not complete, yet) reporting for BuildFailureExceptions and ProjectBuildingExceptions, with some tests to make sure pertinent information is in the output.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592859 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 19:24:30 +00:00
John Dennis Casey a1f995029a cleaning up NPE in the realm manager, and adding clear() method calls to the embedder to cleanup the realm manager after it's used, to try to keep the number of open realms to a minimum...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592222 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 01:34:38 +00:00
Brian E Fox dbd357ffdf fixed windows test error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@591922 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 09:08:40 +00:00
John Dennis Casey fe8c4071a6 Switching back to selectively import extensions into a project-specific ClassRealm, except this time extension realms will be shared (the origin of the aforementioned imports) to conserve memory tied up by classloading. Similarly, plugin realms are managed using a key produced from g🅰️v of the plugin, plus the hashcode of all g🅰️v of the plugin-level dependencies aggregated into one string, to distinguish the deploy plugin 2.0 with no deps from the deploy plugin 2.0 with a plugin-level dep on wagon-webdav. Plugin realms have their parent realms managed by the pluginManager now prior to lookup or execution of the mojo instance, and PluginDescriptor.(classRealm|artifacts) attributes are set for each execution. Likewise, the MavenPluginCollector now tracks plugin descriptors with their version information included, instead of just using g:a.
Had to bump the plexus-container-default version up to alpha-36 to fix a problem in ClassicSingletonComponentManager. All realms for extensions, plugins, and projects (which contain only imports from extensions) are now managed by the MavenRealmManager.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@591391 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 16:44:00 +00:00
John Dennis Casey f87308819f Bake compat-aspect weaving into the build for all profiles, to alleviate problems with the non-standard embedder creation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@590803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 19:52:38 +00:00
John Dennis Casey 27698689a8 Adding compat trailer to the maven version when it's printed via the cli.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@590758 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:26:37 +00:00
John Dennis Casey a1510ba220 Adding compat aspect to maven-core to give one-stop-shopping for backward compatibility measures and reduce pollution in main codebase.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589908 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 23:31:27 +00:00
John Dennis Casey 00a1edc008 disable project-specific loading of extensions and plugins until we can figure out how to do it without causing OOME's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 23:15:23 +00:00
John Dennis Casey b97533f845 Fix Maven/DefaultMaven method signatures, push projectSessions map into request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589822 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 19:42:33 +00:00
John Dennis Casey 4f44eaddf3 Restoring ability to use webdav wagon by fixing WagonManager's use of new active collections in the container, and fixing the active collections to scan descendant realms for qualifying components.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588777 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:57:39 +00:00
John Dennis Casey bcb1ebe0e0 use managed versions when resolving project dependencies from the plugin manager before executing a mojo, and include system path in system-scoped artifacts within the managed version map.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588326 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 19:58:14 +00:00
John Dennis Casey b0cc7be1ac Improving the use of project sessions in the embedder, and exporting control over the project session map to the embedder instead of Maven.execute().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588144 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 05:13:22 +00:00
John Dennis Casey b11111f75a Adding a couple unit tests for the project-level session, and fixing potential NPE when an extension is declared that already exists in the core distribution.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588136 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 04:04:04 +00:00
John Dennis Casey f4a9342c7f Exclusion for plexus-component-api on plexus-interactivity-api.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588110 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 01:51:17 +00:00
Carlos Sanchez Gonzalez 7ac246fd96 Store the pom File object in the execution request instead of its path, fix possible null values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588058 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:24:45 +00:00
Carlos Sanchez Gonzalez 3571f9e2ac Do not return null collections, makes life easier for clients
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588053 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:08:01 +00:00
John Dennis Casey 9d94f8d310 Fixing NPE in execution request. Apparently, bootstrap was not run after these were changed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588034 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:23:48 +00:00
John Dennis Casey 16c064c4bc Cleaning up extension and plugin realms for a project once the build completes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588029 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:14:27 +00:00
Carlos Sanchez Gonzalez 0d161a73a4 Store the pom File object in the execution request instead of its path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587999 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:07:15 +00:00
Carlos Sanchez Gonzalez 990e9e880e Remove maven-monitor merged into maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587785 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:58:37 +00:00
Carlos Sanchez Gonzalez fa482c9b61 Remove maven-plugin-descriptor merged into maven-plugin-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587783 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:52:24 +00:00
John Dennis Casey 7c1b32bfc0 Cleanup the discovery realm/world after new extension components are found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587690 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:14:28 +00:00
Jason van Zyl 7f8b8699a5 o for milos' test i am now adding the component to the container programmatically so we don't need to manually stuff an artifact handler into
the artifact handler manager


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:10 +00:00
Jason van Zyl def0ed7957 o use released version of plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587419 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 08:23:35 +00:00
Carlos Sanchez Gonzalez cb5debaec2 Use new group for the reporting-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587275 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 21:58:14 +00:00
Jason van Zyl 60f9555333 o use the programmatic setup of the container
o use the new active collections in Pleuxus


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587015 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 07:07:29 +00:00
Carlos Sanchez Gonzalez bd743a5c30 Rolling back last workaround, files must not be locked, test is right and code needs to be fixed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586566 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:15:44 +00:00
Carlos Sanchez Gonzalez df8a7c75b9 Add missing super.tearDown, and ignore problem in windows where file is locked for deletion (needs investigation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586564 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:06:48 +00:00
John Dennis Casey 38552dc100 shorter name may help more here?
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586544 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:13:57 +00:00
John Dennis Casey 0d32e6cc4a some documentation for new extension and project-level session stuff, and trying a fix for the extension manager test that may help things on windows where forceDelete(..) fails.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586543 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:13:20 +00:00
John Dennis Casey 4aeb99b92b Plugins now load per-project, which means they can have different plugin-level dependencies and configurations per-project, even if they're running in the same reactor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586515 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:02:31 +00:00
Carlos Sanchez Gonzalez 2603a87757 Upgrade plexus-interactivity-api to prevent clashes with old groupIds
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586235 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 02:42:18 +00:00
John Dennis Casey 2ba9bbfd23 Fixing it0112 and it0115, and cleaning up extension isolation further. Also, adding a flag to tell whether an accompanying profiles.xml file is valid for any given POM file...when loaded from a repository (or stubbed), this flag should always be false.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586061 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:38:06 +00:00
Jason van Zyl 3979ed47d3 o removing jdom from the core for the embedder and we will soon have a different tool for writing out POMs, trying to slim
down the core


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586044 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:05:59 +00:00
Herve Boutemy eecea0895e [MNG-2254] support XML file encoding when reading/writing settings and pom files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:26:43 +00:00
John Dennis Casey 89510079bb Adding a unit test for the extension loading (not testing isolation of the extension yet, though).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585249 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 20:15:40 +00:00
John Dennis Casey ac8ff20611 Adding project-level ClassRealm, which serves as a nexus for extensions. Extensions are loaded into separate ClassRealm instances, then scanned for components. These ComponentDescriptors are then used to add an import from the extension realm back to the project-session realm, and then the descriptor is added to the container with the project realm as its RealmId. From here, the registerWagons() method has been changed to use the map of projectSessions, and iterates through each project-level realm, setting the lookup-realm, then calling findAndRegisterWagons(..) for each. Also, the plugin manager has been changed to use the project-realm for loading plugins if it exists (the plugin realm becomes a child of the project realm, which should allow plugins to vary by project within a single reactor, though I haven't tested that yet).
Also, shading the embedder to hide the jdom classes, and adjusting the assembly appropriately.

Final thing: I'm rolling back some changes I accidentally made to the CLIManager the other day, which breaks the release plugin because the long options were removed for some reason (save action in Eclipse; don't ask).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585012 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 02:59:05 +00:00
John Dennis Casey 0d0f7396b2 Cleaning up exception wrapping to allow better reporting of errors to end users. Also implementing the beginnings of a new error reporter, and bumping the version of plexus-container-default up to 1.0-alpha-33-SNAPSHOT to improve the accessibility to ClassRealm info for ComponentLookupException.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@584343 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:10:29 +00:00
John Dennis Casey dc6e7c8368 [MNG-3194] Fixing logging problems, but error diagnosis is still missing from CLI version of things...this should probably be replaced and/or restored. I'll commit unit tests for 3194 next.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583314 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 22:28:02 +00:00
Jason van Zyl 112e69aa0e o adjusting the request to hold the upfront repositories that can be taken out of profiles
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@582071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 04:03:10 +00:00
Jason van Zyl e6a6476ad7 o cleaning up the project builder, deprecating maven 1.x repository support, it will be 3 years by the time this is actually released
so tough noogies for people still trying to use Maven 1.x repositories with Maven 2.x.

  The next series of refactoring I will be doing with GIT.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580609 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:19 +00:00
Brett Leslie Porter 63c8806450 handle a missing ~/.m2/settings.xml more gracefully
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578641 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 04:01:44 +00:00
Jason van Zyl bf8d692a15 o reverting fix for MNG-1323, breaks trunk horribly when everything is clean. I ran the ITs after Piotr did but doing so with everything clean doesn't work. Time for Hudson.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-23 16:57:46 +00:00
John Dennis Casey 21f1be77ff Allowing project-less builds...removing requiresProject.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@576603 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 22:05:54 +00:00
Brett Leslie Porter bd76a1966e [MNG-1323] remove bad import introduced in last commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@576019 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 01:25:25 +00:00
Jason van Zyl 2017c78e0a MNG-1323 making extensions work inside a reactor
Submitted by: Piotr Tabor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@575987 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 21:28:38 +00:00
John Dennis Casey 84f0cdabdb [MNG-2878] Adding an import from the maven core classrealm into the plugin classrealm, to allow retrieval of default-report.xml using getClass().getResourceAsStream(..) which is used in maven-reporting-impl 2.0...which in turn is used from checkstyle (at least).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@574392 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 22:34:28 +00:00
John Dennis Casey b1159725a5 fixing formats at top of file (may be other formatting changes...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@574387 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 22:20:31 +00:00
Jason van Zyl a05e9f9884 o we don't need to run processProjectLogic on the super pom but we do need to make sure the plugin repositories are populated
for plugins like archetype which have no POM to start with but need repositories.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573736 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 22:29:34 +00:00
Jason van Zyl d72b8bc88a o put the profile manager back into place as the project build is exposed in a ton of plugin. arrrg.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573718 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 21:29:08 +00:00
Jason van Zyl e9b6657f4c o scrub of the settings building, was able to reduce to the need of the build context and use the execution request
directly. eventually i will get it to be the session, along with the profile tools, then all the tools can also 
  share a common interpolator, which can then be shared by other components instead of having 5 interpolators lying
  around causing a great deal of inconsistency.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573494 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 07:54:11 +00:00
Jason van Zyl 28ac7d65cb o remove dead method, the embedder now takes care of all defaulting so we don't need this method anymore.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573478 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:42:31 +00:00
Jason van Zyl 357015041a o let the parsing exception surface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573476 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:36:53 +00:00
Jason van Zyl a0439b3e05 o remove dead code, this is being done elsewhere and has been for a while
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573472 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:17:55 +00:00
Jason van Zyl 9c8903441f o profiles are now decoupled from settings. so that i don't do this is one huge commit i need to move settings stuff into the core
while i transform the settings components to take a MavenSession. Any component executing within Maven should be able to use
  a session. the session will contain everything required and any new component added to the system should only take the 
  session as a parameter. same pattern for all components. that's the goal. it will take a few hops.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:25:49 +00:00
Jason van Zyl beb0ab7d9a o removing deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573437 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:49:48 +00:00
Jason van Zyl 99bd5ac68f o trying to get a grasp of the entire profile mechanism, especially in relation to how they deal with repositories.
here i am just collecting all the profile code into one place as it's scattered over several packages and is
  hard to determine what the profile system as a whole is doing. the first task i would like to do is decouple
  the profile system from the Settings. this can be done at the front-end i.e the profile information from Settings
  can be fed into the profile manager up front.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573325 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 17:09:36 +00:00
Jason van Zyl 02d205134b o this is in the embedder module now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573089 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:50:17 +00:00
Jason van Zyl c1f56fc847 o cleaning up more dead code in the hunt for "why the release plugin doesn't work again"
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572877 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 05:30:26 +00:00
Jason van Zyl 4925ac9702 o removing deprecated code in the plugin mechanism
o removing dead code
o examining how plugin version resolution is done, and we have a mix of a desire to use snapshots locally and pull releases
  remotely. if the repositories are mixed a snapshot will be pull automagically. this doesn't happen in practice but snapshots
  for plugin versions should be limited to a local search only.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572872 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 04:38:49 +00:00
Jason van Zyl 8077fb59ac o Why would a plugin be executing in its own POM. I think this is a far out case and you shouldn't be testing your plugin with its own POM. The comment is "I guess...". I don't think this is right.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572868 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 03:44:55 +00:00
Jason van Zyl aaaed9cf00 o i'm reworking the error reporting mechanism. i am going to concretely deal with each error we can come up with instead of
the generalization we have.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572463 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:34:08 +00:00