Commit Graph

979 Commits

Author SHA1 Message Date
Benjamin Bentmann 69525b9223 o Tweaked logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810005 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 12:36:39 +00:00
Benjamin Bentmann a0d6f81a20 o Simplified code (multi-cast can be realized by a delegating listener if required)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809402 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:41:45 +00:00
Benjamin Bentmann b3988a2e58 o Restored forking for aggregators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808219 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 23:18:59 +00:00
Benjamin Bentmann e3c477e887 o Improved readability of log output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808183 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:49:20 +00:00
Benjamin Bentmann 1faa467bb5 o Generalized lifecycle listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807507 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 07:46:21 +00:00
Benjamin Bentmann 2b38ff01b2 o Tweaked logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805599 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 22:04:28 +00:00
Benjamin Bentmann 284693bf7e o Improved logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805351 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:41:12 +00:00
Benjamin Bentmann 84ca089376 o Restored reactor summary
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804980 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:33:39 +00:00
Benjamin Bentmann df8c87bba7 o Moved logging over to listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:01:28 +00:00
Benjamin Bentmann b5cdb0dc74 o Introduced listener to track lifecycle events
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804940 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:28:24 +00:00
Benjamin Bentmann 977d3bccdc o Revised logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804195 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:35:34 +00:00
Benjamin Bentmann d8b2070350 o Fixed file logger to properly log exception stack traces
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804164 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 11:17:27 +00:00
Benjamin Bentmann d198f32117 o Refactored project builder to support better error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803598 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 16:52:49 +00:00
Benjamin Bentmann 41145c05e4 [MNG-553] Secure Storage of Server Passwords
o Restored CLI commands to create encrypted passwords

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803553 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:17:42 +00:00
Benjamin Bentmann 177a887acb [MNG-553] Secure Storage of Server Passwords
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803510 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 13:51:07 +00:00
Benjamin Bentmann ce63149fa7 [MNG-4287] Make ToolchainManagerPrivate session-aware
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802024 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:41:10 +00:00
Benjamin Bentmann b454fb7cb6 o Polished error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800482 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:08:55 +00:00
Benjamin Bentmann 03dab5e334 o Hid util class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 22:03:28 +00:00
Benjamin Bentmann ee55d1d8c5 [MNG-4260] Remove old-school reactor mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798081 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:13:47 +00:00
Jason van Zyl aae5e98767 o limit system scoped resolution from interacting with repositories all together.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797675 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:32:28 +00:00
Benjamin Bentmann a48ae318c6 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797479 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 14:23:45 +00:00
Benjamin Bentmann 54c39d9a0f o Added UT for maven.repo.local
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:46:25 +00:00
Jason van Zyl 684eed4a0c o using the repository system and repositories to mediate proxy use. proxies restored.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:58:24 +00:00
Benjamin Bentmann 88216c6532 o Re-introduced distinction between user properties and system properties. We have use cases like interpolation and SUREFIRE-121 where we would like to handle user-specified props specially so a single properties soup is not up to the job. However, I opted not to follow the approach from 2.x where we also collect both system properties and user properties in a combined set called execution properties. Code that embeds Maven and programmatically creates an execution request should be not required to assemble such a mixed properties instance, it would enable bad behavior from Maven by subtle API misuse. Also, for things like the lifecycle participant that wants to inject properties, it should be cristal clear whether it injects a user or a system property, the semantics of something like getExecutionProperties().setProperty() would be unclear however.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:43:05 +00:00
Jason van Zyl cf295ef70a o removing unused classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796869 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:22:04 +00:00
Jason van Zyl b69b4ab4f9 o add default plugin artifact repositories in the populator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796817 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:56:18 +00:00
Jason van Zyl 763941c897 o this is covered perfectly well by the ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796758 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:56:29 +00:00
Jason van Zyl dd202c29ba o we have it0021 so this is also not necessary
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796752 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:49:13 +00:00
Jason van Zyl 0b8922f02c o we already have a number of tests in the core testing simple execution of a pom and a directory with a pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796746 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:37:54 +00:00
Jason van Zyl 3e10bb2686 o there is an IT for optional dependencies and we'll put a proper UT in the POM construction tests for optional deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796742 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:31:44 +00:00
Jason van Zyl 4179dbcd41 o cleaning up tests in order to move them to the core using core components, and removing superfluous/repeated tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796740 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:29:14 +00:00
Jason van Zyl 3d9dea68d9 o using the same technique for the embedder as we are for the core tests
o trying on the grid and then i'll share a test jar


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796579 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 23:30:26 +00:00
Jason van Zyl c5fb845b6b o make sure that the plugin repositories are propagated from the builder request and not from the MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:02:07 +00:00
Benjamin Bentmann 01f7692db0 o Replaced usage of StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795584 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:20:09 +00:00
Benjamin Bentmann 8efe10c89e [MNG-4244] Allow to select project for make-like reactor by artifact id
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795147 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 17:11:57 +00:00
Benjamin Bentmann 13ddca24aa o Restored processing of settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795068 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:33:46 +00:00
Benjamin Bentmann bb5c402250 o Restored support for maven.repo.local
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795023 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 09:53:11 +00:00
Jason van Zyl a5be13b93b o removing many old embedder tests that are performing what is now done far better by the underlying components
o remove ties to the Configuration class in the populator which means it can be moved back to the core


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794919 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 00:30:15 +00:00
Jason van Zyl 1ceae0f25e o restoring auth
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794767 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 17:50:29 +00:00
Benjamin Bentmann df47b11957 [MNG-2576] Make Like Reactor Mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:03:15 +00:00
Benjamin Bentmann 5aa9115a53 o Removed debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793348 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 13:32:22 +00:00
Benjamin Bentmann d8b7706ad5 o Synced version with main build (given that auth is currently broken and Hudson uses a secured repo, we better re-use stuff that has already been resolved...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793346 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 13:27:11 +00:00
Benjamin Bentmann 0ba6f79521 o Made embedder tests respect maven.repo.local
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793342 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 12:59:21 +00:00
Benjamin Bentmann 772b8b3f1b o Added debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793332 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 11:15:25 +00:00
Benjamin Bentmann 52519425f7 o Restored reactor failure behaviors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792111 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:23:46 +00:00
Jason van Zyl 1cef292135 MNG-4221: Another pass over making maven-compat only used by external consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789080 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:46:11 +00:00
Benjamin Bentmann 5672ae45e8 o Fixed missing error reporting for bad settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787084 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 20:10:52 +00:00
Benjamin Bentmann 34580df645 [MNG-4191] separate plugin and artifact repositories
o Extended requests to allow for configuration of plugin repos

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786790 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 10:29:51 +00:00
Olivier Lamy d5eae80ab1 restore display of two build properties (as in 2.x) :
- svn rev 
- build timestamp

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784274 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:09:06 +00:00
Jason van Zyl 864ea15216 o refactoring the way plugin prefix metadata is found. the lifecycle executor is not the right place for this and the plugin manager is now strictly for already fully configured executions. so it belongs somewhere specific to augmenting the base set of information in order to make it complete but this first pass will do here. i just want to check it in as well because i'm traveling.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 13:40:14 +00:00
Jason van Zyl 09f970f178 MNG-4041: maven core returns stale project state during extended use. this is a patch which provides intelligent caching and yields a very substantial performance improvement.
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782014 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 13:49:25 +00:00
Benjamin Bentmann 4d45d00881 o Fixed name inconsistencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 22:02:34 +00:00
Benjamin Bentmann ae675f8157 o Made ProjectBuilder use ProjectBuildingRequest for naming consistency within API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780115 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 21:28:45 +00:00
Benjamin Bentmann 6bbe3780d4 o Decoupled embedder from XPP3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779311 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 20:59:12 +00:00
Benjamin Bentmann 49698c0819 [MNG-4172] Project POM artifact returned as dependency if project has no dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778240 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 21:24:57 +00:00
Benjamin Bentmann f17f9aa639 o Temporarily disabled broken test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777956 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 16:36:46 +00:00
Jason van Zyl c1af1323cd o fix for populator
Submitted by: Igor Fedorenko


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777796 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 05:20:59 +00:00
Jason van Zyl bc8ff5f600 o removing the configuration from the populator
Submitted by: Igor Fedorenko


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777713 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 21:04:43 +00:00
Benjamin Bentmann cad43e6b56 o Fixed precedence of plugin groups (request > settings > defaults)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:17:15 +00:00
Benjamin Bentmann add87f5f56 o Ensured we eventually work with absolute paths
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777134 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:37:03 +00:00
Jason van Zyl d5459955f5 o put the plugin groups in the front-end request populator, the magic plugin groups are no longer buried in the core. could still be
moved from the code in the populator to a configuration file in the maven installation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:16:09 +00:00
Benjamin Bentmann 8c30410341 o Deleted test which is invalid due to r772675
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 14:55:44 +00:00
Benjamin Bentmann a82951eb05 o Re-enabled fixed tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775488 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:56:03 +00:00
Benjamin Bentmann 5a2ef49f1d o Fixed file:// URL handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775363 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 21:52:10 +00:00
Benjamin Bentmann a9f90cc8f3 o Allowed gargabe collector to free heap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775304 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:58:57 +00:00
Jason van Zyl 2e6a5a99dd o project with optional dep
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775298 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:33:47 +00:00
Benjamin Bentmann e4b2737236 o Fixed test assertion (there's really just one dependency without transitive ones in the test POM)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775297 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:32:26 +00:00
Benjamin Bentmann b81a59ba3a o Added clear() method to project cache
o Added license headers

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775290 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:17:32 +00:00
Jason van Zyl 8674601f3b o no doco is better then incorrect doco
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775287 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:53:24 +00:00
Jason van Zyl 6d05b5e7ae o imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775286 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:52:25 +00:00
Jason van Zyl 01a13a3ffd o remove the profile manager and profile activation context from public view
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775281 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:32:59 +00:00
Jason van Zyl 225d136f27 o removing the profile manager and profile activation context from the embedder code, it can all be handled in the core having the active/inactive profile ids on hand along with all the profiles that are available from any external sources like the settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775200 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:49:27 +00:00
Jason van Zyl 107b03a1f7 o getting rid of some dead code in the project builder in preparation for trying to group more of the profile handling code as a test is failing in the embedder related to profiles while everything in the pom construction test is working correctly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 14:08:43 +00:00
Jason van Zyl 7ccc3d878e o fixinga bunch of embedder tests, 8 left to fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774768 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 13:52:03 +00:00
Jason van Zyl de46f2a5fa o bunch more patches from Igor to keep the heap down. junit is just not letting go.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:27:13 +00:00
Jason van Zyl b4251c3e16 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774079 13f79535-47bb-0310-9956-ffa450edef68 2009-05-12 20:50:52 +00:00
Jason van Zyl 3398024a0f o delegating local repository implementation that chains the reactor and user local repository
o removal of more state from the WagonManager and pushing it into the request in an attempt to bridge the way for Mercury



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 04:08:29 +00:00
Jason van Zyl a73c5abc9c o in the middle of a ReactorArtifactRepository but ben and igor need access so checking in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772832 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 03:24:55 +00:00
Jason van Zyl 838a1c19b0 o restore the functionality that m2eclipse needs to read projects with dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772675 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 15:20:32 +00:00
Jason van Zyl c6a8b20cba o get rid of the reactor manager to make way for a real reactor that can be a local repository implementation which will prevent the pollution in the metadata source for dealing with projects that are in the current build
o clean up the project sorter
o push the information that was in the reactor manager into the session


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772039 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:09:22 +00:00
Benjamin Bentmann 31061189b0 o Fixed creation of default remote repo (e.g. no snapshots from central)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771441 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 21:05:28 +00:00
Jason van Zyl 36e43b2951 o cleaning up project builder, removed signatures that i've corrected in the RR plugin, moved properties injection up to the main Maven component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 18:49:42 +00:00
Britton Isbell abec748f23 Removed unused methods from ProjectBuilderConfig. Since we collapsed maven-project into maven-core, method not needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769957 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:52:56 +00:00
Jason van Zyl 942b1a3dc6 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769869 13f79535-47bb-0310-9956-ffa450edef68 2009-04-29 18:40:45 +00:00
Jason van Zyl 38bd51b1a7 o adding lifecycle methods to get the plugin for a packing in all lifecycles, this will interleave with the
project builder which will populate the versions specified in plugin management, and then another method
  will retrieve and populate the default configuration information.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769847 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:34:01 +00:00
Jason van Zyl 6d229c8e46 o giving shane a handle on how to grab default plugin information as i've removed all the diddling in the plugin manager itself
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769637 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 03:45:42 +00:00
Jason van Zyl d78af4efbe o start of reporting so i can track every last problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769585 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:13:42 +00:00
Jason van Zyl 49c287754d o pushing my changes back in with shane's
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769580 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:04:24 +00:00
Britton Isbell 14b3573e79 Compile exceptions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769552 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:34:36 +00:00
Britton Isbell c3715849bf Default plugins.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769235 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 04:12:32 +00:00
Jason van Zyl e10d95d4e1 o starting the simplification of the error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769193 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 22:38:19 +00:00
Jason van Zyl 54d0418185 o push in changes to sync up with shane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 15:43:01 +00:00
Jason van Zyl 5d7758b358 o pull from trunky dunk dunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl 8e108fd91a o roll up all the plugin manager capability into one class. having a manager, a component discoverer, and component discovery listener is too complicated.
o using the a looking to set the discoverer and discovery listener. in plexus this can be rolled into one extender



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@762142 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 19:55:14 +00:00
Jason van Zyl 46c8c09a91 o the session has no lookup or access to the container now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 04:59:06 +00:00
Jason van Zyl d22c870e02 o coming close to something i can easily test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:11:02 +00:00
Jason van Zyl ace08b348d o separated the sorter out of the reactor manager in preparation for making the reactor just an implementation of a local repository. shouldn't be tangled with sorting, that should be done before anything starts
o adding test poms for plugin manager and lifecycle executor
o separate out base alignment test
o notes on the lifecycle executor and plugin manager


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759542 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:24:05 +00:00
Jason van Zyl 505423e666 o remove eventing which was scattered all over the place, all move it all into the session and use the eventing model pattern oleg used for mercury.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:12:57 +00:00
Jason van Zyl 6bcb9de387 o created a separate plugin manager test and we see where we've got some methods that don't belong in the lifecycle executor. need to move getMojoDescriptor to the plugin manager, just leave the parsing and construction of the lookup key in the lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759502 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:31:54 +00:00
Jason van Zyl ace03b781b o hide the creation of default event dispatcher and reactor manager inside the session
o the lifecycle executor test is now starting to look sane


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 01:43:43 +00:00
Jason van Zyl c981673e9e o remove unused eventing code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757611 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 00:12:22 +00:00
Jason van Zyl 43e21dd1a5 o add standard method for creating central in the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 23:39:58 +00:00
Jason van Zyl ecf09e66f5 o locate all repository related constants into the RepositorySystem
o add a method to the RepositorySystem for creating the default local repository
o make the test utils for the lifecycle executor use the createDefaultLocalRepository method to decouple from my home directory



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757464 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 17:38:44 +00:00
Jason van Zyl e3212b468c o more organization in the plugin manager
o there seems to be an incompatible change between surefire 2.4.2 and 2.4.3 with the booter and the useManifestJar option



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757120 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:04:05 +00:00
Jason van Zyl 0f70fd4a0f o working creating a clean path of plugin resolution logic, and separting report processing from plugin processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:18:36 +00:00
Jason van Zyl 0bf25e64d8 o adjusting the internals to deal with root-based resolution
o gross hack to work around someone hardcoding a dummy:dummy root artifact in the surefire plugin



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:28:59 +00:00
Jason van Zyl ecb1bfe2fd o found another untested path way which i'll make another test for tomorrow. executing one mojos work, but when stringing
them together the optimization I'm trying to make for incremental support fails.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753142 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 07:12:21 +00:00
Jason van Zyl 24139e8256 o cleaning up the lifecycle executor and error reporter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753053 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 23:27:54 +00:00
Jason van Zyl 39af2b8f7e o bootstrap working on my branch with all the changes. i need to pull from trunk and spend a few more hours on adding tests that need to be written that never were. the
guts of the plugin manager and lifecycle executor internals are not really covered much.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751989 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:07:02 +00:00
Jason van Zyl 191aded423 o my test for executing a mojo in isolation is now complete and passes and gives some real indication of the problem that exists in trying to expose the plugin manager to any external client. the test is pretty nasty but now i can
work against this while i refactor. i can now merge to trunk.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751980 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 04:31:10 +00:00
Jason van Zyl da776815ac o a test which demonstrates the difficulting in testing the execution of a single mojo, indicates some work to isolate the system and make it easier
for people to reuse this code. igor had to jump through these same hoops to get isolated mojo execution working in m2e. needs some love.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751582 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 04:51:13 +00:00
Jason van Zyl 3ef5e97f42 o reduce the foot print of the plugin manager, the interaction between the lifecycle executor and plugin manager is far too intimate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751459 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:25:35 +00:00
Jason van Zyl 41df8abcf8 o branch for my simplification of the lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751454 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:14:26 +00:00
Jason van Zyl b68c9f9231 o shortening the interface name for the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751196 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 05:08:43 +00:00
Oleg Gusakov 048808f308 [MNG-3849]
- removed security dispatcher xml descriptor dependency

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:10:18 +00:00
Oleg Gusakov f60741289a [MNG-3849]
- upreved mercury dependency to the latest snapshot
- removed security dispatcher xml descriptor dependency

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:09:24 +00:00
Jason van Zyl 1ffdc9286a o start the grand plugin refactoring, just putting it all together in addition to putting all the repository/artifact calls
behind the repository system you can see project and plugins being processed an incredible number of times and the recursion
  in the collector is broken causing POMs for plugins to be processed hundreds of times. The bootstrap under profiling reveals
  the xpp3 parser being used almost 30k times which is pure insanity.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750774 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:38:48 +00:00
Jason van Zyl f4ec59594c o remove more methods to the repository system, starting to get close to the final set of methods and then we can move on to the classes of the binding to the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 01:25:43 +00:00
Jason van Zyl 5a35fc9aee o remove more methods from the repository interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750686 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 23:35:02 +00:00
Jason van Zyl b9f9244f5f o fixed mirror code
o more plugin manager wrangling


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750568 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 19:59:06 +00:00
Benjamin Bentmann 0425ac9cb2 o Removed debugging output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750551 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:58:03 +00:00
Benjamin Bentmann a27e6457b4 o Added debug logging for mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:03:21 +00:00
Benjamin Bentmann 81b95fde8a o Removed debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750434 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:09:21 +00:00
Benjamin Bentmann 205d7a6f48 o Added temporary debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 11:58:18 +00:00
Jason van Zyl 7d14e6b520 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750361 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:54:36 +00:00
Jason van Zyl 0cc04bdd8a git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750352 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:20:02 +00:00
Jason van Zyl 7d32348c3d o no choice but to shunt the ProjectUtils which is used by the remote resources plugin into using the MavenRepositorySystem.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750324 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:00:07 +00:00
Jason van Zyl 74b14a5953 o use the custom settings for now
o pushing everything related to the plugin manager into one package in preparation for replacement with the plexus plugin manager


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 04:02:23 +00:00
Jason van Zyl 1a05bdac38 o use the repositories passed into the request
o make sure that mirrors are processed correctly in that the mirror that is defined must use the layout and policies of the repository it is mirroring


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750251 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 00:15:56 +00:00
Benjamin Bentmann d9bf8c6a60 o Reverted r750083 which is a bad approach with respect to embedding, instead just programmatically injected the central repo if not already given/overriden in the settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750098 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 18:40:33 +00:00
Jason van Zyl beedf0cf7b o restore profile manager location so that the site plugin works ...
o teach the resolution to understand when the root is local with a file present versus retrieving the root as well          


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 06:58:09 +00:00
Jason van Zyl a5fc1cfb14 o fix the mirroring code
o restore ArtifactResolver.resolve( artifact, remotes, local ) for the rr plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:56:42 +00:00
Benjamin Bentmann aa74529144 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749586 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 11:48:20 +00:00
Benjamin Bentmann 352fd0a543 o Fixed handling of plugin groups
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:33:55 +00:00
Benjamin Bentmann ed6f76548b o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749482 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:00:40 +00:00
Benjamin Bentmann db03ef60f0 o Fixed profile activation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749354 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 16:48:07 +00:00
Britton Isbell 74b67a85d7 Removed artifact resolver. Now just using the repositorySystem directly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748908 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 19:22:02 +00:00
Britton Isbell b487a2fd45 Moved profile classes into main project package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748889 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 17:26:56 +00:00
Britton Isbell 7040079ca9 Replaced the old profile injector code with new profile code. Merged project builders.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748609 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 17:28:54 +00:00
Jason van Zyl f2d3908905 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747888 13f79535-47bb-0310-9956-ffa450edef68 2009-02-25 18:28:39 +00:00
Jason van Zyl 4aea96aeb2 o use the artifact resolution request/result method to remove another couple methods from the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747658 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:55:59 +00:00
Jason van Zyl 00c302e021 o checking in so that oleg and shane can see the changes, there are three failing tests. i'm fixing in the plane and will check in when i land
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746850 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 00:04:14 +00:00
Jason van Zyl 69777c2ea2 o remove wagon manager from the request populator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746531 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 16:15:26 +00:00
Jason van Zyl b4257bad3b o use RepositorySystem and LegacyRepositorySystem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746432 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 03:22:21 +00:00
Jason van Zyl f6d25b36f8 o remove legacy artifact component references from the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746311 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 18:03:46 +00:00
Jason van Zyl a8cd789425 o first push of a plug point for repository/transport in maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746285 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:27:27 +00:00
Britton Isbell c327c94443 Refactored out more uses of modello and moved classes from maven-project to maven-project-builder. Doing this so that maven-mercury will not have direct dependency on modello or maven model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746002 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 21:22:46 +00:00
Britton Isbell 73c0f41e3b Collapased Transformers into one. Extracted out some rules. Removed some references to Maven model in DomainModels to generalize. Removed Plugin mixins, which are no longer needed. Extension loading appears to be broken from refactoring. Need to fix this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745712 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 03:00:52 +00:00
Benjamin Bentmann 55fe596230 [MNG-4037] Include Java home in version information
o Merged from r744645

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744647 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 10:18:00 +00:00
Benjamin Bentmann fda7685244 [MNG-4036] [regression] Maven 3.x can't resolve parent POMs from repositories defined in settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744560 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 19:38:53 +00:00
Britton Isbell 0abb04c8bb [MNG-3631] Mojo Configuration. Allow embedder to get executions by goal, query config with xpath and execute mojo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744145 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 15:39:54 +00:00
Oleg Gusakov e07ccacaf2 [MNG-4033] found more appropriate injection point for password encryption
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743947 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 01:38:15 +00:00
Britton Isbell 9863957196 [MNG-3862] Remove all plugin configuration manipulation from the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743225 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 04:56:35 +00:00
Jason van Zyl 1da74993a9 o getting rid of $Id$
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742673 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 18:56:31 +00:00
Britton Isbell cb077dc469 MNG-3919: NPE in DefaultLifecycleBindingManager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:50:27 +00:00
Britton Isbell adfb3ddeb9 Tests for MNG-1943 - interpolation in parent pom and MNG-3567 - pluginManagement inherited. Added additional methods to maven embedder for querying of plugin configs.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740395 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 19:50:11 +00:00
Britton Isbell d1124333ad Merge: sisbell-plugin-manager. MNG-3631 - Get plugin config, including mojo descriptor info.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739970 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 12:02:44 +00:00
Benjamin Bentmann 7397cc69d6 [MNG-3951] Hide drive-relative paths from plugins
o Merged from r739385

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739735 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:44:19 +00:00
Benjamin Bentmann 5872cd6d2e [MNG-3955] [regression] ${settings.localRepository} does not reflect actual repo path if maven.repo.local used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734219 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 19:01:21 +00:00
Jason van Zyl 59e207e530 o adding runtime info to the settings adapter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731173 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 04:43:10 +00:00
Benjamin Bentmann 3ec459f512 o Removed unreachable code (older JVMs will always bail out before the code is executed)
M:\apache-maven-3.0-SNAPSHOT\bin>mvn -v
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:174)
        at org.codehaus.plexus.classworlds.strategy.DefaultStrategy.loadClass(DefaultStrategy.java:67)
        at org.codehaus.plexus.classworlds.strategy.ForeignStrategy.loadClass(ForeignStrategy.java:39)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:207)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201)
        at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729292 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 10:52:56 +00:00
Benjamin Bentmann 088b7c6241 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 18:30:34 +00:00
Jason van Zyl 30dbc6db99 o fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728071 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 17:14:15 +00:00
Jason van Zyl 434431ec8d o restore the plugin registry cli option for compat with the verifier
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728066 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 17:05:15 +00:00
Jason van Zyl 6b040ab2f9 o remove some superfluous reader creation in the project builder
o remove profile handling from the construction of the super project, there are no profiles in it anymore (and shouldn't be in the future)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727267 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 04:01:59 +00:00
Jason van Zyl f5c4a25c9c o remove standalone property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726579 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:49:30 +00:00
Benjamin Bentmann 7e76510cdc [MNG-3914] Add CLI option to control location of global settings from command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726563 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:27:23 +00:00
Jason van Zyl c744e7706e MNG-3913: figure out why this fails on the grid and reenable when we track it down.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726525 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 20:19:55 +00:00
Jason van Zyl a5ab9893ad o disallow 1.4 now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726520 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:20:17 +00:00
Jason van Zyl 3f3945729f o only allow JDK 1.5 or above to execute Maven 3.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726517 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:04:51 +00:00
Jason van Zyl 2aed210e8c o remove the option for the plugin registry, not used for a long while
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726515 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 18:51:18 +00:00
Jason van Zyl ea43792cf2 MNG-3905 First pass at collecting all the repository related code and started to decouple from maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726383 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:24:01 +00:00
Jason van Zyl e02b6e7005 o get rid of more Settings references beyond the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726164 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 03:17:35 +00:00
Jason van Zyl 633b598548 o we will set the header in the wagon manager as we have no clients anymore and all of this will be gone in alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721766 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 06:09:15 +00:00
Jason van Zyl 0853c03589 o isolated realm is obsolete
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721765 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 06:01:09 +00:00
Jason van Zyl 9bc9c86231 o use annos where possible
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721750 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 01:46:13 +00:00
Jason van Zyl a648f36be2 o remove debugging info
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721279 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 21:09:09 +00:00
Jason van Zyl 8da8916f50 o adding in project build failure exceptions that were not being output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721255 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 18:37:52 +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
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
Jason van Zyl a461aa6137 o turning this test off as the much stricter lookups require this be adjusted. it's a feature no one uses in this way yet.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718850 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 03:21:07 +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 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
Jason van Zyl 1289a0e877 o remove plugin specific tests from the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701697 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:23:33 +00:00
Jason van Zyl d3d1acbf1f o remove specific plugin tests from the embedder tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701695 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:22:42 +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
Jason van Zyl cc5827fa72 MNG-3649: making sure that the request parameters which are populated from the CLI are honored in plugins like the release plugin which consume CLI options from the user
settings object. ug.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701216 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:16:47 +00:00
Jason van Zyl 6779e62e80 o artifact handlers are discovered in active collections now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701198 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 17:52:03 +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
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 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 50a1d13a08 Removed a unit test related to aspect eventing. Added back in direct setting of compile/script directories.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694118 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:55:50 +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
Britton Isbell 4cb42c34a7 Merged back changes from sisbell-maven-2.1-profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@685575 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:47:51 +00:00
Britton Isbell 398b62158e Merge of branch: sisbell-maven-2.1-profile.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@685443 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 05:09:00 +00:00
Britton Isbell c8b842c976 Merge of SI_MAVEN_2_1 branch. New builder code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 23:06:59 +00:00
Brett Leslie Porter 1cb6db67de [MNG-3652] minor improvement to the user agent for trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679010 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 07:15:51 +00:00
Benjamin Bentmann a14916cf8c o Considered file extensions in command search to enable tests for Windows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@677452 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 22:33:58 +00:00
Brett Leslie Porter d046f6039f embedder tests that download artifacts and plugins should use the settings file for now to honour mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@677239 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 11:18:50 +00:00
Jason van Zyl 5e2d60366b o adding some code to detect system executables so that tests which wrap those executables are only run when they are present. in trying to get people to run the ITs from a Hudson bundle it's apparent that not everyone had SVN installed. we need to be more sensitive to different environments for testing if we want more people to participate.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@676103 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 00:07:06 +00:00
John Dennis Casey a3719ed76c Improving the reliability of these two tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@675349 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:42:49 +00:00
Brett Leslie Porter 278b580c8f [MNG-3652] set a user agent for Maven HTTP requests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@673901 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 04:32:09 +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 3acaa63cf8 adjust the embedder tests:
- remove a number of downloads from central that were slowing the build significantly
- ensure the tests will run with a repo manager and no central access
- ensure the tests will run offline if the local repository is populated

The technique for populating the repository is very hacky. We really need the tests to be doing this themselves. Perhaps moving these IT-like tests into the IT section and alongside the core ITs is the way to go - but this is a start.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669222 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:56:56 +00:00
Paul Gier 9f84e95bab Allow use of ! to deactivate a profile. Remove use of E: and D: for enabling and disabling.
Issue id: MNG-3571


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656846 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 21:21:31 +00:00
John Dennis Casey e28b62cbe7 Allow multiple -P options, and fix explicit en/disable notations of E:/+ for enable, D:/- for disable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654207 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 18:44:18 +00:00
Paul Gier 1245ac784e Add support for multiple -P params on the command line.
Issue id: MNG-3268


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@652912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:04:22 +00:00
John Dennis Casey 0c2243d407 Adding system/execution property maven.mode.standalone that will reflect whether maven started via MavenCli or not.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@651080 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 21:49:49 +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 36092a009d Adding ProjectBuilderConfiguration method for buildProjectWithDependencies, then switch the embedder.readProject* to use the ProjectBuilderConfiguration-enabled methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649629 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 18:00:27 +00:00
Jason van Zyl db643afb25 o removing the distribution assembly from the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648511 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:57:44 +00:00
Jason van Zyl c224eeefb2 o put the embedder documentation in the normal site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648507 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:36:21 +00:00
Jason van Zyl 18e797c7d0 o turn off the debugging output, shave off a minute from the build, you can tell what's wrong from the test reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648479 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 01:03:33 +00:00
Herve Boutemy 19b26ee657 [MNG-3509] added default locale and platform encoding to "mvn -v" output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647626 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 21:04:55 +00:00
Herve Boutemy a36b220670 added Os.OS_FAMILY to showVersion() output (merged from 2.0.x branch r587331)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647624 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 20:47:21 +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
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
Brian E Fox 8ff17e2654 MNG-3484: patch from James William Dumay to quote MAVEN_OPTS
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@641699 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 03:07:26 +00:00
Benjamin Bentmann 1c3af9f908 o Fixed svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@640236 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 18:20:22 +00:00
Benjamin Bentmann 898e4afab6 o Added svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@640234 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 18:04:33 +00:00
Benjamin Bentmann 4efc9b5de9 o Removed svn:executable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@640229 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 17:57:41 +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
Brett Leslie Porter 97e9f53ac3 [MNG-2234] activate profiles that are not present in the settings so that they can be defined in the POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@633766 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 04:56:46 +00:00
Vincent Siveton 80a6818f01 o merged from r633053 (fixed potential NPE)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@633054 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 12:09:01 +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
John Dennis Casey f88f9df9ff Fixing bad logic in unit tests where a test plugin must build first.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@630047 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 23:30:48 +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
John Dennis Casey 793020c798 Tests to verify that SCM inheritance calculations are correct, using both project builder directly and the embedder's readProject(..) method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629549 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 18:11:15 +00:00
John Dennis Casey f72505bc77 Removing unstable test...it should be covered well enough with a conventional unit test on DefaultMavenExecutionRequestPopulator. Also, rolling back changes to the standard embedder test project pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629188 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 18:46:18 +00:00
John Dennis Casey 8c34003044 Trying to diagnose a build failure on a remote server...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629184 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 18:40:29 +00:00
John Dennis Casey 4bc04c413b Re-enable offline flag from the settings.xml.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629161 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 16:57:12 +00:00
Vincent Siveton f8bc0a121f o fixed plexus-classworlds due to r619106
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619231 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 00:37:34 +00:00
John Dennis Casey 37b11eb9e9 [MNG-2178] Modding M2_HOME detection for winnt.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619114 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 19:26:54 +00:00
John Dennis Casey 1611fcfbdf [MNG-3354] & [MNG-3296] Patching Windows batch files for maven, to improve support for Windows+Novell integration, and to handle the end of winnt's local scope with the errorlevel preserved.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619106 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 19:03:43 +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
Vincent Siveton 4733739db6 o merged r617829
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617830 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 16:44:10 +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 f2d7a5aa5f Fine-tuning an error reporting pointcut, and also adding a method to the embedder to allow a third party access to the build plan for a specific project, given a set of goals to be invoked.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@616825 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 18:13:07 +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 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 77352f07f7 remove a debugging sysout.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614318 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:51:00 +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
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 776a944764 Renaming tests for error-reporting, so they're (hopefully) short enough for windows users.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613227 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 19:06:04 +00:00
John Dennis Casey a0297f1d5b Fix some problems with the CLI reporter when the reactor manager hasn't been created yet (in cases where reading the projects for the reactor failed, for instance).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613039 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:56:20 +00:00
John Dennis Casey facb56d1eb Fixing compilation errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613035 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:38:37 +00:00
John Dennis Casey 89f482ac37 last of the error-reporting unit tests, and an additional error type to handle modules that are referenced but don't exist, which should stop the build. All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613032 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:27:23 +00:00
Vincent Siveton a16c3bf4a8 o merged from r613001 (MNG-3365: Remove trailing-backslashes from M2_HOME in mvn.bat)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613002 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 22:55:12 +00:00
John Dennis Casey 724b3db3c4 Adding more error-reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612920 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:26:35 +00:00
John Dennis Casey 4bcfd7c5a5 more unit tests for error reporting on plugins-as-extensions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612895 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:01:29 +00:00
John Dennis Casey e5c11f67c1 make things more friendly to non-standard settings and local-repo locations.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 00:37:19 +00:00
John Dennis Casey 0c61152546 More unit tests, this time for plugin-related error messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612592 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:17:56 +00:00
John Dennis Casey 835488bada Adding the remaining project-related error reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612493 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:55:08 +00:00
John Dennis Casey 1c235317d7 Adding more unit tests for error reporting. Almost done with project-based errors now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612333 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 02:20:08 +00:00
John Dennis Casey ca169d0262 Refactor management of activated, deactivated, and default-activated profile ids, so the context tracks all of that stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612186 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 18:34:58 +00:00
John Dennis Casey a35ec37b54 pinning plugin-api version to 2.0, as this is immaterial to the test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612168 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 17:35:59 +00:00
John Dennis Casey 182b93e6b7 Adding pinned versions for plugins that are used in the error-reporting tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612149 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:34:16 +00:00
John Dennis Casey ba04a1ae50 commenting out incomplete unit tests until I can get them finished and verified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612145 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:10:36 +00:00
John Dennis Casey cc43012a5b more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612010 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 04:15:07 +00:00
John Dennis Casey a07cafc3fa two more error-reporting unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611992 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 01:32:58 +00:00
John Dennis Casey 1071c589dc more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611979 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 00:39:03 +00:00
John Dennis Casey 6e230d611a two more unit tests, and a little simplification to take care of duplicated error reporting coverage.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611974 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 23:59:01 +00:00
John Dennis Casey c3983894ab Adding more error-reporting fixes and unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611945 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 21:44:59 +00:00
Vincent Siveton ae82937040 o merged from r611015 (MNG-3360: Added the documentation in the Maven release)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611018 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 02:02:32 +00:00
John Dennis Casey 25460922d5 More unit tests for error-reporting pointcuts, and some minor adjustments for duplicated handler methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611014 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:57:27 +00:00
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
Vincent Siveton e7ea1cdef0 o added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609946 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 12:05:39 +00:00
Vincent Siveton e75b388cb0 o merged from r609944 (MNG-2848: Environment variables in profile activation not working)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609945 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 12:04:42 +00:00
Vincent Siveton 7279a1950a o merged r609592
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609593 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 13:12:13 +00:00
Brian E Fox ff53010e7e removed temporary OS_* values (deprecated already in 2.0.x) and instead us the Os.OS_* values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609089 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 04:03:39 +00:00
Brian E Fox 87e08c49bd add debug scripts
Issue id: MNG-2105


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609082 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:25:04 +00:00
Brian E Fox 470e8b6988 add debug scripts
Issue id: MNG-2105


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609081 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:22:15 +00:00
Vincent Siveton 110adf290e o merged from r608827 (MNG-3310: JAVACMD set incorrectly when JAVA_HOME is not set)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608828 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:15:52 +00:00
Milos Kleint 05b8b80e1e make showError() method public, used in netbeans integration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604815 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 10:26:48 +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 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 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 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 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 afe12e42e6 Adding the rest of the project errors to the aspect-bound ProjectErrorReporter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598864 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 04:28:28 +00:00
John Dennis Casey d1f7e63e51 Move back to jdk 1.4 compliance in these projects.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598761 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 20:36:01 +00:00
John Dennis Casey a3b489d71e Adding error reporting for most project errors via aspects that collect the context information and format a nice message (the aspect just binds to the errors API in org.apache.maven.project.error.*).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 19:55:04 +00:00
Milos Kleint 2b135180ba make the build result output processing to be public methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598032 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 19:09:34 +00:00
Jason van Zyl 40326eef36 o adding backward compat method in the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597162 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:51:56 +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
John Dennis Casey b4f9ac3067 Add code to clean the build context after each embedder function that uses it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594313 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:02:44 +00:00
John Dennis Casey 60baf80fab Adding a check to use sysprops if nothing else is set in the embedder configuration or request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594301 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:17:29 +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 4c2d75b726 Moving offline notice to avoid embedded cases.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593040 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 06:44:26 +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 f3d6f3d38b Fixing log level on two debug statements.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592835 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 18:04:12 +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
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 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 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
Carlos Sanchez Gonzalez 2271551d4a 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@588060 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:48 +00:00
Carlos Sanchez Gonzalez 9637ac8c5a 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@588059 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:28 +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 64e0d64a56 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@587998 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:07:08 +00:00
Carlos Sanchez Gonzalez 1241d1b299 Kept John's constructors but still use File/URL instead of String
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587692 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:23:22 +00:00
Carlos Sanchez Gonzalez efd372c24a Restore backwards compatibility readding static OS_* vars
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587684 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:55:53 +00:00
Jason van Zyl c81694144f o cleaning up debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:43 +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
Herve Boutemy 353cd5bac4 [MNG-2254] support XML file encoding when writing settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587489 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 12:56:21 +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
John Dennis Casey eb2e63bd5b Excluding jdom from bin assembly, since it's brought in by maven-model and maven-profile still...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586105 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:54:19 +00:00
John Dennis Casey b9995dfb60 Updating reporting for mojo failures.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586100 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:38:16 +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
Jason van Zyl 8f084c95db o updating assembly and that we don't need the shaded jar anymore
o keep JDOM in the distro for the time being


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585563 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:32:51 +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 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 957a77435a some formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583515 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 15:31:09 +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 975862e353 test project for the missing parent pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583031 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 00:46:28 +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 5d2c433ba9 o applying patch to allow to read the model with a reader
Submitted by: Eugene Kuleshov


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@581732 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 21:40:17 +00:00
Jason van Zyl b3461d5936 o If we are not actually in an SVN repository then don't run tests that require SVN.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 22:11:05 +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 3bc1f858e1 removing JDK 5 API and adding some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573953 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 06:29:48 +00:00
Jason van Zyl 14ff3302d0 o block a few more artifacts out of the assembly
o the populator now has a clear populate() that shows how the request is being constructed, there should be nothing beyond the embedder now
  the does any of this configuration and loading and it should remain this way. no processing of settings or profiles deep in the bowels
  of Maven is all happens in the populator.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573783 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 04:04:48 +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 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 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 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
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 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 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 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 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 5380116b79 MNG-2398: the lifecycle executor exception wasn't being propagated properly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572210 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 01:39:28 +00:00
Jason van Zyl 4005482797 MNG-2935: make sure build tanks if the settings are bad (user and global)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572180 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 22:48:43 +00:00
Jason van Zyl 248c7199a0 o remove redundancy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572041 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 17:25:01 +00:00
Jason van Zyl fc05e3e050 o a project to test the resolution of projects when they are not installed in the local repository. this makes sure that
IDE integration works for newly created projects that have inter-module dependencies.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571905 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:02:23 +00:00
Jason van Zyl 8ce69da938 o separate out the embedder tests into packages by concern
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571902 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:01:02 +00:00
Jason van Zyl c16665a086 o renaming to populator as I'm going to put a few more pieces that are currently instantiate but should be components like the profile manager. I will move this out of DefaultMaven and put it in the request to be shared in the session.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 23:21:29 +00:00
Jason van Zyl c2f29dc0a4 o sorting tests in packages by execution, validation, and project (to come)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571885 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:59:30 +00:00
Jason van Zyl 41977f976a o removing debug
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571883 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:56:32 +00:00
Jason van Zyl 9c88509721 o putting the old style assembly back as it is too much pain to for the uber jar
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571876 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:36:35 +00:00
Jason van Zyl 884f70085e o integrate changes made in maven-artifact for non fail-fast and request/result usage in the embedder for
use in IDE integration to provide as much feedback as possible.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571862 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 19:23:17 +00:00
Carlos Sanchez Gonzalez a8f5da6950 Close properly the readers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571120 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 12:00:09 +00:00
Carlos Sanchez Gonzalez fd64c2db2a Close properly the readers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571106 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 10:34:35 +00:00
Carlos Sanchez Gonzalez 4f6f890697 Add tests for new methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570891 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:31:11 +00:00
Carlos Sanchez Gonzalez 32f2fce4ee Add TODO
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570890 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:30:57 +00:00
Carlos Sanchez Gonzalez 3c0f795c34 Fix bugs in previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570889 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:24:22 +00:00
Carlos Sanchez Gonzalez 591efea5e8 Gather more information on settings validation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570805 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 13:26:29 +00:00
Carlos Sanchez Gonzalez 50b73df74b improve exception message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570791 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 12:53:18 +00:00
Carlos Sanchez Gonzalez 07c6e661f9 buildWithDependencies in the embedder shouldn't check for distribution status by default. Add test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570550 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 19:53:59 +00:00
Kenney Westerhof 454114df03 Set a name for the container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570277 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:27:39 +00:00
Vincent Siveton 53a4546af0 o added new license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566869 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:46:30 +00:00
Vincent Siveton 785e6819bd o merged r566867 from branch (removed useless copyright)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566868 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:44:42 +00:00
John Dennis Casey 0d38b157b0 Adding new assembly descritor to assemble a repository containing the dependencies for maven (pre-shaded), and adding a profile to the POM to allow us to trigger the creation of this new assembly. This is valuable for plugins and other components that list one or more maven artifacts as dependencies, so they can be built without rebuilding all of maven.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@564306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:48:21 +00:00
Kenney Westerhof 711eb8c416 Add get/setParentContainer to the configuration, and use it in
the embedder.

If the classrealm that's passed in has a parent realm, 
then only the resources from the realm are scanned (getRealmResources).
This was done to re-use components from parent realms.

However, when embedding maven within another plexus container,
providing a new dummy classworld with the current classloader
as the parent, no components will be found. Since there's no 
parent container, it won't be checked for components.

So, allowing a parent realm to be set in classworlds also
requires a parent container to be set, so that when no components
are found (since they're present in the parent container),
there is a parent container available to delegate lookups to.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@563173 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:38:57 +00:00
Jason van Zyl b01b42f89e o using container configuration to setup plexus container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561204 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 01:14:42 +00:00
Jason van Zyl 19ba741d4d we have to keep classwords in a separate jar and boot it by itself or we end up with everythign in the primordial classloade
which sucks ass. I didn't notice that until I ran a big slew of tests and the realm out put was entirely different. We defin
  definitely want to boot up with just classworlds in the primordial loader so we can do what we like with the rest  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561194 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 00:24:55 +00:00
Jason van Zyl 6583991465 o updating to the new version of plexus which is the unified JAR once again. I can now move on
to doxia and attempt to use the same container for the trunk and branch.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@560496 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 04:57:37 +00:00
Carlos Sanchez Gonzalez 844e17d4b5 Don't check for the distribution status building MavenProjects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@555428 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 22:54:30 +00:00
Mark Hobson b79759f338 [MNG-3039] mvn.bat fails
Fixing same problem for trunk.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548789 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 16:32:57 +00:00
Jason van Zyl 97cf3951e6 o just adding my debug ruby stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543921 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 15:33:37 +00:00
Jason van Zyl f53a45bda8 MNG-2992 Set %HOME% to something sane if null
Submitted by: Tim Reilly


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543790 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 21:41:53 +00:00
Jason van Zyl e8fc77cccd o some jruby integration. I will integrate what Eric has made but this allows for some easy experiments with the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543754 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 16:31:27 +00:00
Jason van Zyl cc5f2f954b Reverting the package changes
Issue id: MNG-2943


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543753 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 15:35:57 +00:00
Carlos Sanchez Gonzalez 1bd449b2f1 [MNG-2943] Avoid using package names used in other artifacts: org.apache.maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543664 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:36:54 +00:00
Carlos Sanchez Gonzalez 1891c6abc0 [MNG-3013] The plugin manager incorrectly caches plugin versions between embedder calls, added test case that doesn't show the wrong behaviour yet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543655 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:07:00 +00:00
John Dennis Casey dce22c78fb OPEN - issue MNG-2503: mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error
http://jira.codehaus.org/browse/MNG-2503

Applying the patch, even though it's not a patch...I was able to generate one using the supplied file and the current mvn.bat file from the trunk.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543621 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 21:21:43 +00:00
Carlos Sanchez Gonzalez d985970c2a Fix failing test in cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533235 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:40:00 +00:00
Jason van Zyl fbc466ae7d git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531706 13f79535-47bb-0310-9956-ffa450edef68 2007-04-24 02:58:53 +00:00
Jason van Zyl 05986fc6f2 o remove maven-artifact-test, not used anywhere
o fix shade plugin so the new uber is produced
o allow plexus-utils back into the mix
o take out the dep.xml assembly descriptor as shade is making the uber jar now



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 19:58:09 +00:00
Jason van Zyl e81d01d582 o complete removal of the plugin registry
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531246 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:18:46 +00:00
Brian E Fox f76116a78b MNG-2582, MNG-2376 - added Java and OS info to debug output.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526632 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 02:27:05 +00:00
John Dennis Casey a48bbdc0c8 Restoring fail-fast as a default reactor behavior.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523137 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 01:47:28 +00:00
Jason van Zyl ccb49439ee o fixing default perms for deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 16:49:57 +00:00
Jason van Zyl 17a7a726c5 MNG-2868 The behavior in MNG-1577 is now available on the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520923 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 16:00:17 +00:00
John Dennis Casey 34bf67ecf1 Merging revIds: 515814:520600 from 2.1-lifecycle-refactor branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520609 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 21:40:59 +00:00
Brett Leslie Porter c231a635b3 put back correct licenses that were reverted in r496493
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@519281 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 10:17:28 +00:00
Jason van Zyl f03d8d662f o testing repeatedly with an empty repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516820 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 00:48:53 +00:00
Jason van Zyl badcd2287f o roll back to wagon beta-2 to fix the rash of problems with m2eclipse plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516654 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 05:38:50 +00:00
Jason van Zyl 9ae91863b4 o moving assembly descriptor to src/main/assembly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514305 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 01:07:00 +00:00
Jason van Zyl 5fe0842333 o i guess there are a couple people using windows ... buy a MAC!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514300 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:56:51 +00:00
Jason van Zyl 3bd3bb5b79 o moving over the stuff required for the CLI here
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514296 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:48:55 +00:00
Andrew Williams 1f9709694d More role-hint fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514019 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 23:43:49 +00:00
Jason van Zyl 4116fe6192 o get rid of debug
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513966 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 21:28:52 +00:00
Jason van Zyl 9a08951069 o fixing header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513943 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 20:46:44 +00:00
Jason van Zyl 6fd5ead5d5 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513938 13f79535-47bb-0310-9956-ffa450edef68 2007-03-02 20:36:58 +00:00
Jason van Zyl 2ccc760685 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513028 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:50:21 +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 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 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 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 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 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
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
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
John Dennis Casey 2d5711c8f0 Adding SettingsBuilderAdvice, to enable skipping default locations for settings files. Also, removing the settings cache, to enable call-by-call synchronization of settings between Maven embedder instances that share the same settings files. Next step is to refresh settings per-call to the embedder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511172 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 00:44:29 +00:00
John Dennis Casey b8289153a1 Adding read/writeSettings() api to the maven-tools and the embedder along with unit tests in each place, and adding a cache object for the settings that is based on the build-context.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@510335 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:01:54 +00:00
Jason van Zyl 1ff7c5a235 o renaming the embedder request to embedder configuration which is more appropropriate
o move toward using one constructor which takes a configuration for session wide configuration, the execution still 
  takes an execution request as per usual



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 09:20:11 +00:00
Jason van Zyl 5288374ef1 o fixes to the embedder for finding settings and cleaning up embedder initialization
Submitted by: Eugene Kuleshov


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505612 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 02:01:42 +00:00
Joakim Erdfelt 33f23db7de * Migrating to wagon-manager 1.0-beta-3-SNAPSHOT
* Created org.apache.maven.artifact.manager.ArtifactManager
* Deprecated org.apache.maven.artifact.manager.WagonManager in favor of new ArtifactManager
* Updated the rest of maven to utilize this new ArtifactManager.
* The default wagon providers list is now managed from within wagon-manager's dependency list.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:53:27 +00:00
Milos Kleint 345e8c3732 MEVENIDE-484 - embedder's project loading didn't take the artifact handlers in plugin extensions into account when loading project dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498975 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 10:20:10 +00:00
John Dennis Casey cf308da3de Adding ability to undo the log-level change, to some extent...it's not too elegant, but it should work in most cases.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498043 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 02:02:47 +00:00
John Dennis Casey 4ca4301f1d Adding line to enable log-level control from the MavenExecutionRequest.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498030 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 01:00:32 +00:00
Kenney Westerhof b61fba1d5f Implemented embedder extensions. You can register a set of URLs that
are scanned for components, after the container is started, that
will override any core components defined.

o Updated (Default)MavenEmbedRequest with a getter/setter for the extension list;

o Updated the MavenEmbedder to scan the extensions.

o Added testcase: dummy component implementation and components.xml to specify
  the override. 
  
o Also added pom.properties since running unit tests in an IDE
  will fail because the pom.properties is generated only inside the archive,
  and with project references inside the IDE that resource is not available.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496904 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 00:46:49 +00:00
John Dennis Casey 01b08e86d1 Adding showErrors to the tests, so we can see problems that come up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496399 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:44:56 +00:00
Jason van Zyl 812e887a07 o little example of using the source plugin to create aggregate source jars and having the source jars be installed with normal install/deploy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496200 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 01:30:57 +00:00
Jason van Zyl 26e8fb2081 o add method so that the artifact handler can be looked up, useful in IDEs where we want to look up whether a particular artifact should be added to the classpath.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495101 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:39:22 +00:00
Jason van Zyl ed381aec0d o Code from netbeans integration that will write out changes to a model and preserve the existing structure for the most part.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493817 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:23:21 +00:00
Jason van Zyl d47e7c221c o a little utility using jdom to write out models
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493812 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:16:37 +00:00
Jason van Zyl 72e7a4df53 o lining up all the uses of modello and using 1.0-alpha-13 of the modello plugin everywhere
o add the generation of a JDOMWriter for use in the embedder so that working with models doesn't                                    
  completely whack the existing XML, and allow for outputting the namespace declarations                                            
o add a security manager to the embedder which is off by default but will barf if someone                                           
  tries to set system properties. you have to specifically turn this on because it will more then                                   
  likely break tons of code like xerces setting a system property named "version", nice.       



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493811 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:13:33 +00:00
Kenney Westerhof 4be6542867 Update dependency on plexus-container-default to 1.0-alpha-16-SNAPSHOT to fix child
container issues when maven builds use extensions;

Update dependency on plexus-classworlds to 1.0-alpha-7-SNAPSHOT to fix child container
plexus-bootstrap.xml loading problems.

Define p-c-d as a direct dep for maven-embedder; if not, an older version can be used
than is specified in the parent pom (dependencyManagement is not applied to transitive deps,
which is a bug (right?)).

Alter AbstractArtifactTask.java and MavenEmbedder.java to call the proper constructor
in DefaultPlexusContainer.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493294 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 04:03:24 +00:00
Jason van Zyl 318ec6ac0f o looking other IDE integration and cleaning up stub methods that are useless to anyone until they are implemented fully and properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:29:29 +00:00
Jason van Zyl ae10e790ac o remove old readProjectWithDependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491535 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:21:47 +00:00
Jason van Zyl 439ba113d7 o move more configuration to one location
o removing uneeded components from DefaultMaven


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:53:39 +00:00
Jason van Zyl 8120d856c7 o collect all WagonManager configuration in one place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:45:35 +00:00
Jason van Zyl 774972e7ec MNG-1385 You can now activate a profile using the embedder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:08:06 +00:00
Jason van Zyl e07b4f0970 o making the baseDirectory properties the same
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:54:23 +00:00
Jason van Zyl 23e2504d23 MNG-2733 When request.setPomFile( file ) is used, takes its basedir for the execution request so that request.getBasedir() doesn't NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491524 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:52:56 +00:00
Jason van Zyl 8f4a420c8d MNG-2728 return a MavenExecutionResult from Maven.execute( request )
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 00:18:12 +00:00
Jason van Zyl cd1c9e7b29 MNG-2721: Determine a standard way to pass proxy information into the embedder
http://jira.codehaus.org/browse/MNG-2721

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491499 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:56:33 +00:00
Jason van Zyl 54ee18c115 MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
http://jira.codehaus.org/browse/MNG-2724

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491490 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:07:01 +00:00
Jason van Zyl 622f014e0d MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491487 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:04:13 +00:00
Jason van Zyl 9780fa6c86 o updating the tests for the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491469 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 19:22:57 +00:00
Jason van Zyl 87b3775025 MNG-2722 Create a strategy for providing sane default values in the MavenExecutionRequest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491468 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 19:20:44 +00:00
Milos Kleint 9d792d6d1c remove System.out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491399 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 09:26:27 +00:00
Jason van Zyl 43ec595fed o Removing the LifecycleExecutor component, not used.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491395 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 06:03:37 +00:00
Jason van Zyl e259065562 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491373 13f79535-47bb-0310-9956-ffa450edef68 2006-12-31 03:24:59 +00:00
Jason van Zyl 8e51bbe8ec o Remove the MavenEmbedderConfiguration as this is not used in any of the IDE integration. The MavenEmbedRequest is what is being used as the session level configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491363 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 02:13:58 +00:00
Jason van Zyl df12fcab5d o restoring assembly descriptor so that I can actually build from within this module
o all the use of an embedder request with no settings file information and have the defaults just kick in



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491334 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 22:21:18 +00:00
Jason van Zyl 4f269094d0 o manifest for using the embedder as an osgi bundle
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483659 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 20:55:45 +00:00
Jason van Zyl 7136b01f88 o merging in my changes from the refactored embedder branch
milos, this has some stuff that we worked on so i've tried to unify everythign in trunk
  now


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483655 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 20:53:33 +00:00
Andrew Williams 44ae99fc2d Merge maven.new for latest plexus classworlds and container APIs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483302 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:17:53 +00:00
Jason van Zyl a6977b53c7 o not sure what happened but i couldn't make an assembly the way i used to, so i reverted
o added an OSGi manifest to make it easier to Eugene to integrate into Eclipse


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@480835 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 04:45:40 +00:00
John Dennis Casey 33e6497989 Adding blank outputFileNameMapping entry to the dependencySet to avoid unpacking into ${artifactId} subdirectories, and binding the assembly:single goal to the package phase to automatically make/attach the -dep artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@477314 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 20:16:08 +00:00
John Dennis Casey dbfc2db51b Fixing ID keyword...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470397 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:49:47 +00:00
Jason van Zyl e7594ada3e MNG-2560 patch applied to make the bootstrap easier
Submitted by: Dan Fabulich


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@453099 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 03:10:27 +00:00
Milos Kleint 625012b029 MNG-1884 - the wagon manager needs to be injects the proxy/mirror info, otherwise the readProject() calls don't get through the firewalls.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@434079 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 16:58:33 +00:00
John Dennis Casey 7c43aa27d7 Merging fix for loss of dependency ordering from branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@430573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 22:43:48 +00:00
Brett Leslie Porter 1b00d44cfc remove unused resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@417803 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 16:00:02 +00:00
Milos Kleint d7a1ba698d MNG-2364 make sure the system properties are passed from the execution/embed requests, to make the on-property profile activation work in embedded environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415000 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 06:46:58 +00:00
Milos Kleint a1b2df1fd1 MNG-1979 throw IllegalStateException when calling methods in wrong order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400260 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 07:42:19 +00:00
Jason van Zyl d03ae071f5 Use the standard coding conventions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400220 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 00:34:42 +00:00
Milos Kleint 0e548f6fc1 MNG-1937, MNG-1665
allow custom configuration of embedder.
correct settings location handling for embedder's project reading methods

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@395691 13f79535-47bb-0310-9956-ffa450edef68
2006-04-20 20:17:27 +00:00
Jason van Zyl 94e440000d o merge of the maven-embedder-refactor branch into the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392327 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 15:57:09 +00:00
Emmanuel Venisse 7b331c9605 Initialize profileManager from settings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379812 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 16:56:24 +00:00
Jason van Zyl c100cbea1c o adding jochen's MavenEmbedder2 as reference, i won't be replacing the embedder with it but I will cherry pick
from it. Thanks for the contribution and I hope you'll help with some smaller patches! :-)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379670 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 03:55:43 +00:00
Jason van Zyl 38c1860f11 o fixing typo in method call
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379579 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:56:01 +00:00
Emmanuel Venisse 19382355ff Load profiles from settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379490 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:27:57 +00:00
Jason van Zyl 2737100a43 o creating a mode for aligning the the embedder with a user installation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@370406 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 07:19:04 +00:00
Jason van Zyl 08a9549931 merging from branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368989 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 05:52:00 +00:00
Jason van Zyl 680115310d o push in some changes for simplifying the creation of repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358624 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 20:46:23 +00:00
Jason van Zyl 363f82e42d o use the correct method
http://jira.codehaus.org/browse/MNG-1432
  
  Submitted By: Milos Kleint
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@331011 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 18:08:38 +00:00
Jason van Zyl 3edcf5dda5 o give clients an easy way to retrieve a single artifact: in this case milos
wants to be able to download a javadoc JAR.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330999 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:57:53 +00:00
Jason van Zyl 75731b688d o adding some methods to create artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330997 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:53:33 +00:00
Jason van Zyl 9cacd22ae5 o updating to use the DuplicateProjectException introduced post
2.0.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:42:23 +00:00
Jason van Zyl 155a9fbc78 o clean up the dependencies in the POM, i really only need to depend on the
core and everything else will come in transitively
  
o rolling things back to use the 2.0 release maven artifacts, i can
  subsequently, deploy 2.0.1-SNAPSHOTs and when 2.0.1 is released I will
  release 2.0.1 of the embedder. I think the releases of the embedder must
  follow closely on the heels of Maven itself.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330845 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:12:29 +00:00
Jason van Zyl a121153b73 o i'm just going to get the assembly plugin to do what i want, maintaining
this is a pita.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330107 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 18:45:26 +00:00
Jason van Zyl 326a583281 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330106 13f79535-47bb-0310-9956-ffa450edef68 2005-11-01 18:44:48 +00:00
Jason van Zyl 5008852983 updating to new apis
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@322531 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 00:43:01 +00:00
Jason van Zyl 1af474d091 o make the reactor fail fast or exceptions seem to be lost
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307161 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 16:05:30 +00:00
Brett Leslie Porter 98d9d94424 use new jline-less input handler
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306535 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 06:00:25 +00:00
Jason van Zyl efbeeaca35 o fixing assembly so that old p-d-c is not imported
o adding metadata of maven-core for the runtime info component


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293602 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 13:29:49 +00:00
Jason van Zyl e9ab07e51c o protecting against null properties in the PPEE
o fixing some composition declarations in embedder component descriptor
o adding notes on classloader mechanism



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293598 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 13:15:58 +00:00
Jason van Zyl 38269cca84 o A change that eliminates the use of System.properties from the core in an
attempt to move toward true embeddability. 

 - System properties are still populated in the CLI to make sure that the 
   system property profile activator functions and the settings are dealt with
   correctly. I will look at each of those shortly but this is a first step.
   


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293504 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 03:31:35 +00:00