Commit Graph

5562 Commits

Author SHA1 Message Date
Jason van Zyl 0bb2457086 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513022 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:46:48 +00:00
Jason van Zyl 967c2533b9 MNG-2051 The SCM plugin which uses the scm manager works fine.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512903 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 19:02:06 +00:00
Jason van Zyl 053216ffe6 MNG-2829 PlexusLoggerAdapter.error(String, Throwable) ignores Throwable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512897 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:37:18 +00:00
Jason van Zyl d9004ba0ef MNG-2778 Code and documentation for accessing the plexus container.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512896 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:33:25 +00:00
Jason van Zyl 548d57661b o use constants from the embedder. these are CLI constants but we have so many people wanting to mimic
the behavior of the cli that we will put them there so that embedder users don't have to pull in the cli
  just for those constants.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512893 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:23:55 +00:00
Jason van Zyl 98dea7e4d6 o documentation for MNG-2835
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512892 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:23:03 +00:00
Jason van Zyl fb7988c21c o Tests for MNG-2835
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512891 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:21:58 +00:00
Jason van Zyl 24b3c86c9b MNG-2835 Make sure the global settings are obeyed when they are the only settings provided
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512890 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:21:05 +00:00
Jason van Zyl 37692fbea1 MNG-2827 pull the entry from the expression documenter using a method that works from the command line and in an embedded environment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512860 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:32:23 +00:00
Jason van Zyl 9d1ee49281 MNG-2330 adding a little harness for running projects easily and testing with eclipse:eclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512844 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:04:57 +00:00
Jason van Zyl fb03e03672 o optimizing imports, trying to clean up settings use so i can track them down and purge them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512775 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:47:51 +00:00
Jason van Zyl 258c73a474 o no more maven tools
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512771 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:35:42 +00:00
Jason van Zyl d3deb61421 o remove maven-tools and put the utility code in the only module that now depends on it, maven-project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512763 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:20:13 +00:00
Jason van Zyl bf0d8aabd7 o getting rid of unused methods, going to try and get rid of MavenTools all together
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512757 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 13:58:40 +00:00
Jason van Zyl 000eddf83b o use the modello setup from the parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512756 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 13:52:01 +00:00
Jason van Zyl ee213ed710 o remove cruft from POM that's not being used, we'll revisit the DOAP plugin later.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512753 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 13:35:04 +00:00
Jason van Zyl f37ff7ef4d o use FileUtils for copying the POM.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512749 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 13:17:02 +00:00
Jason van Zyl 0f95fb4472 o typo in test name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512589 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:13:53 +00:00
Jason van Zyl de8ba44853 o fix sample reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512586 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:03:42 +00:00
Jason van Zyl 0b0949ab86 o make sure that even when all the configurations handed to the embedder are crap
it will still start up.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512585 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:02:12 +00:00
Jason van Zyl e981109693 o updating the example
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512583 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:54:07 +00:00
Jason van Zyl 4d8b30460a o start of a little site for the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512572 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:34:59 +00:00
Jason van Zyl f34ebdd221 o adding snippet markers to the simple example
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512571 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:31:57 +00:00
Jason van Zyl eb87f15ce7 o adding a simple example that can be used as a snippet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512570 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:29:42 +00:00
Jason van Zyl e8f5f0cbfd o adjust to package changes in the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512563 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:12:32 +00:00
Jason van Zyl c0b569638d o idea doesn't nuke directories where full migration has been done ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512560 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:59:18 +00:00
Jason van Zyl 8bb63d56d7 o Going to start writing some documentation and I would like everything of use in the embedder package. I'll keep internal goodies in sub packages.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512559 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:56:48 +00:00
Jason van Zyl b5cbfc8bd4 o more tests for the configuration validation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512558 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:54:23 +00:00
Jason van Zyl fb6ffdc9de o test for embedder configuration validation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512556 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:45:55 +00:00
Jason van Zyl afc8c1ac11 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512555 13f79535-47bb-0310-9956-ffa450edef68 2007-02-28 01:33:00 +00:00
Jason van Zyl a96f5bdd95 o settings simplication
o removing old configuration, cleaned up and moved to another package


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512554 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:32:38 +00:00
Jason van Zyl 37e012f0c1 o updating to the new use of the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512553 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:31:13 +00:00
Jason van Zyl 7d69da0eea o unrequired cast
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512552 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:30:44 +00:00
Jason van Zyl 31366ad057 o simplifying settings handling and pushing responsibility to the client code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512551 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:29:52 +00:00
Jason van Zyl 17a0c66920 o got rid of all the settings related code and use the settings builder directly and push the responsibility of
dealing with settings semantics to the client code


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512550 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:29:02 +00:00
Jason van Zyl 737d36b126 o add wagon-manager to the filter list
o create the session using a request and eliminate pulling out the individual elements for the constructor of the session


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512549 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:27:53 +00:00
Jason van Zyl 6dedba51d9 o prefer methods that only use the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512548 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:26:56 +00:00
Jason van Zyl fbb0ad4780 o remove deprecated methods and move toward using methods that use only the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512547 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:26:33 +00:00
Jason van Zyl 2b3aa59647 o remove most of the plugin registry logic as we've turned it off from the command line, it's too complicated and we
have pretty much decided that it is a best practice to lock down the versions of plugins being used.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512546 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:25:54 +00:00
Jason van Zyl f17c4fefe4 o don't need settings in here anymore, as we'll move toward session and request level configuration and eventually have a single source passing through
the core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512545 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:24:26 +00:00
Jason van Zyl 7bdf0a8d5d o have very much simplified the use of settings use so the settings advice is not required as it is the job
of the client using the embedder to decide the semantics of use. some uses may have only one settings file, some may have five and
  some may have none. trying to move away from hardwired usage patterns for the embedder. the cli is now responsible for dealing with what
  is now standard insofar as user and global settings.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512544 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:23:32 +00:00
Jason van Zyl 9783df0a61 o use a MavenExecutionRequest to hold all the information we need so that we can move toward referencing a single source of configuration information
for session and request level.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512543 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:21:11 +00:00
Jason van Zyl 8491a179f6 o adding a way to set the local repository using a -D option
o make the cli handle things that are CLI specific like:
  - the $m2_home/conf/settings.xml file and the standard ~/.m2/settings.xml file, i am still falling back
    to this as people using the embedder have become used to this. but this has the effect of greatly 
    simplifying settings handling because it is up to the client code to define where settings are
    and how they should be processed
o use an embedder configuration for things like settings and the local repository which generally remain constant, another
  push toward a single source for session and request configuration information


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512542 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:18:01 +00:00
Jason van Zyl 6edbabf67f o we'll use the embedder now for some default values because we still have an asymmetry for many of the methods that
don't use an execution request, or configuration, but require direct use of things like settings and the local repository. an
  example being the profile manager.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512541 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:13:33 +00:00
Jason van Zyl 513e42d79d o adding a way to set the local repository in the configuration
o adding a configuration validator so that clients can tell what state the settings are in before firing up the embedder


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512540 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:11:43 +00:00
John Dennis Casey f4b3eedc8a Fixing some lingering dependency ordering problems from artifact resolution, and adding settings-builder advice to the CLI.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:47:30 +00:00
Jason van Zyl de30bce7f6 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511386 13f79535-47bb-0310-9956-ffa450edef68 2007-02-25 01:03:51 +00:00
Jason van Zyl d4c28b894d MNG-2847 close up the reader properly when reading model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511342 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 20:39:48 +00:00
Jason van Zyl e93a9199d3 MNG-2846 Make the output of Model.getId() nicer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 20:32:36 +00:00
John Dennis Casey ac4e1f1cfa adding SettingsBuilderAdvice configuration the MavenExecutionRequest.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511175 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 00:57:00 +00:00