Commit Graph

5910 Commits

Author SHA1 Message Date
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 791c2bf164 o update location of settings.mdo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573471 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:07:29 +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 c417b0c490 o dead import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573455 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:44:46 +00:00
Jason van Zyl d5f5abeb57 o dead import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573453 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:42:55 +00:00
Jason van Zyl d61face8fd o removing dead class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573452 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:42:43 +00:00
Jason van Zyl d919345800 o adding components the populator needs, it's handling settings building now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573439 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:51:04 +00:00
Jason van Zyl c8cf70d2da o use cli options the same way as in other places
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573438 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:50:26 +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 c8ab5fb076 o decoupled Settings from the profile manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573436 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:47:53 +00:00
Jason van Zyl a698b7ef49 o the request populator is now responsible for initializing everything, anything you want to know about how the front-end is configuration, or initialized can be found in this class. i think i have almost everything out of the Maven component and in the Embedder. this is the one place to look now and I know feel comfortable about documenting it
o the profiles additions from settings are now process in the request populator and taken out of the default profile manager itself which has resulted in decoupling the Settings from the profile manager.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573435 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:47:07 +00:00
Brett Leslie Porter f785811d57 [MNG-2061] DistributionManagement properties don't get copied in cloned executionProject while lifecycle fork
Submitted by: jan ancajas
Merged from: r573424 on maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573426 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 01:42:39 +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 a2a9e392b2 o remove unused module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573161 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 06:44:38 +00:00
Jason van Zyl e108c1abdf o remove duplicate licenses
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573134 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 02:32:38 +00:00
Jason van Zyl 366c7289f1 o superceded by eric's document on settings in the main site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573132 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 02:14:14 +00:00
Jason van Zyl 18e6fd2a1b o removing dead configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573131 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 02:08:59 +00:00
Jason van Zyl 2769a95f9d o part of my test slipped in before it's finished
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573128 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:55:36 +00:00
Jason van Zyl 60f9104aac o getting to compile, yes i will remove these deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573127 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:54:20 +00:00
Jason van Zyl 00e00bafe0 o adjust reference to lifecycle.mdo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573125 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:46:41 +00:00
Jason van Zyl ff65a240c5 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573124 13f79535-47bb-0310-9956-ffa450edef68 2007-09-06 00:45:33 +00:00
Jason van Zyl db64a6a1fd o adding plugin-descriptor to start creating a single artifact which represents a plugin runtime
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573123 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:44:55 +00:00
Jason van Zyl a638f1888e o merged into maven-plugin-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573122 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:44:15 +00:00
Jason van Zyl f3b1c5b670 o bye bye
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573118 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:29:06 +00:00
Jason van Zyl d445c6be09 o adding the reporting-api module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573116 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:25:04 +00:00
Jason van Zyl 2f32ccd361 o move the reporting api up a level to sit peer to the plugin api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573115 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:24:50 +00:00
Jason van Zyl 9ae1655a56 o moved up to the top-level directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573114 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:24:24 +00:00
Jason van Zyl e4d54ae2da more of the sample import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573092 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 23:00:18 +00:00
Jason van Zyl 8b77989253 o inconsistent new lines from windows blew up the import (why is svn so retarded?)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573091 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:58:29 +00:00
Jason van Zyl 558f841229 o a complex sample project to test a new import model that should make it far easier for IDE integration. I'm tired of looking at duplicated code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573090 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:52:27 +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
Mark Hobson 95759ed0c9 Added .settings to svn:ignore where missing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572722 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 15:54:04 +00:00
Jason van Zyl ec5c9dca8f o don't need the maven-script module here any mo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572476 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 01:14:00 +00:00
Jason van Zyl 2732a8e83c o moving the scripting stuff out of the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572473 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 01:12: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
Jason van Zyl ae1501b9f6 o collecting all logging/eventing into the core. i posted a list of possible errors that can occur in the core, the stuff we had was only
partially being use and we problems being emitted with messages like:

  NOTE: One or more purely derived expression elements were detected in this expression. 
  If you continue to get this error after any other expression elements are specified correctly
  please report this issue to the Maven development team.

  I think we have to make a very concerted effort to make useful messages because I'm tired of standing behind Maven
  users and being embarrassed when they look at me and ask "what does that mean?". "i actually have no idea."


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572456 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:05:04 +00:00
Jason van Zyl 2a241710f0 MNG-3182
MNG-3183

First cleanup of the logging code (it is still a mess), but all the console logging has been removed from the Maven component and pushed back
into the CLI code. As a result we now have a way to log to a file easily.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 19:33:10 +00:00
Jason van Zyl 441b918f80 o try and start localizing the handling of -f, release poms, and normal poms to the embedder. just too much funk
going on in the core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572388 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 16:52:37 +00:00
Jason van Zyl cc1ca10d74 o separating out the MavenEmbedderProjectWithExtensionReadingTest which shows that the artifacts handlers must be loaded up-front
in the readProjectWithDependencies method because it is not being done in the core unless projects are executed. So Milos' assertion
  is correct. I'm now looking at a layered approach for project resolution and then execution so that the readProjectWithDependencies
  (which is essential for IDE integration) will yield something that can be pushed into the lifecycle executor. Right now there
  is much duplication which makes the IDE integration crappy.

  Another result of this is trying to create a simple IDE import model that gives back client code the fully resolved, topo sorted
  set of projects which point to binary dependencies outside the reactor, and to source folders inside the reactor. The result will
  be a useful model for all IDE integration, right now everyone is doing their own thing. This model will need hooks for customization
  to take into account turning "workspace resolution" on/off and allow easy overriding of this process.

o Fixed IT0035



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572366 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:42:29 +00:00
Jason van Zyl 01f970117a o if we are given a base directory, set the actual POM file in the populator, we can eventually move a lot of the logic that is in the CLI there because it's not CLI specific
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572237 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 06:23:09 +00:00
Jason van Zyl 08ed903945 MNG-1922: Making sure that CLI properties are processed first
o fixing IT0039


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572229 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 03:56:31 +00:00
Jason van Zyl 2425f945fb o adding a validation method to the lifecycle executor so that I can tell users what is wrong before actually trying
to execute the lifecycle. Trying to do this validation shows in detail how tangled some of our code is as I need
  to create the dispatcher in order to create the session which is required to make the reactorManager which 
  is required to get the project required to validate the goal name ... yah.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572214 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:35:05 +00:00
Jason van Zyl 5c5c39e8ec o use ${pom.version} and not just ${version}
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572213 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:25:41 +00:00
Jason van Zyl ee2c127c76 o wrong directory created
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572211 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 01:41:46 +00:00