Commit Graph

1052 Commits

Author SHA1 Message Date
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
Benjamin Bentmann 63c695adaa o Fixed artifact filter propagation
o Added task tag for bug in resolution of system-scope dependencies

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746832 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 21:58:50 +00:00
Benjamin Bentmann ca7b1b784b o Fixed test descriptors due to r746432
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746807 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 20:06:57 +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 41001b509d o removed all but one component reference of the legacy artifact code in the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746430 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 02:46:14 +00:00
Jason van Zyl db63dc78c0 o taking more legacy artifact components out of the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746336 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 18:52:57 +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
Britton Isbell dd676fd685 Cleanup up some methods. Removed mixins from interfaces.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746288 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:33:41 +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 c53466f406 o Fixed regressions regarding profile de-/activation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745642 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 20:47:42 +00:00
Herve Boutemy 3d52a23b10 o upgraded Modello version to 1.0
o improved models to use Modello new features (merged from 2.1.x branch r745216)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:46:38 +00:00
Benjamin Bentmann 29df2bf1bf [MNG-3732] [regression] project.getActiveProfiles() has not the same behaviour
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745259 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:21:35 +00:00
Britton Isbell 7ed4efcec0 Updated profiles with collection information.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745244 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:30:03 +00:00
Britton Isbell 920e6b7f39 [MNG-4040] - Profile module inheritance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745219 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 19:54:35 +00:00
Britton Isbell fd1d9855df [MNG-4034] - dependency version is not inherited from parent dependencyManagement
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745110 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 14:56:24 +00:00
Benjamin Bentmann fac6b97faf o Generified model/project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744572 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 21:49:23 +00:00
Benjamin Bentmann 90e6b3ecb8 [MNG-4034] dependency version is not inherited from parent dependencyManagement
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744254 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 21:47:45 +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
Benjamin Bentmann c303c49d71 [MNG-4027] [regression] Injection of dependencies from profiles crashes project builder
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743083 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 20:20:47 +00:00
Britton Isbell 6032251645 Fixed path problem on unit test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742760 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 22:00:52 +00:00
Jason van Zyl 1b36ff52dd o last bit i need to in trunk before merging to my branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742684 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 19:16:02 +00:00
Britton Isbell 778f044ed9 [MNG-2174] Profile bug dealing with dependencies : [MNG-3877] Reporting directory base aligned.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742594 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:10:48 +00:00
Britton Isbell 2f8742ae19 [MNG-3995] Config property lost
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@741596 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:38:08 +00:00
Britton Isbell 247efed735 [MNG-3885] [MNG-4009] : Fixed problem of profile info in parents not being applied.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@741282 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:38:37 +00:00
Britton Isbell a3461e7fb0 [MNG-3803] - System properties in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740770 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:33:47 +00:00
Britton Isbell 4267580f46 MNG-4008: Multiple filters.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740495 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:43:53 +00:00
Britton Isbell 5eaab27857 MNG-3976 - Raw Pom Retreival for Mercury.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740434 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 20:48:07 +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
Jason van Zyl ed4f594ac4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739478 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:48 +00:00
Jason van Zyl 13fa00ea3f [maven-release-plugin] prepare release maven-3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739476 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:37 +00:00
Jason van Zyl 557f0a5373 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738777 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:13:04 +00:00
Jason van Zyl 7f54cfff61 [maven-release-plugin] prepare release 3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738775 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:12:48 +00:00
Britton Isbell 650b6775d7 MNG-4013: Identical plugin executions are allowed in pom. This can cause failure in Maven 3 (since there is no longer cloning of maven project) on duplicate attached artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738374 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 05:44:29 +00:00
Britton Isbell 02c557c132 Minor updates to URI and joins.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738340 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 02:06:27 +00:00
Britton Isbell 93ec09c8a5 MNG-4010: Remove duplicate dependency exclusions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738256 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 21:48:22 +00:00
Benjamin Bentmann 5888994149 [MNG-3853] [regression] Distribution Management injected by profile is not reflected by MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738128 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 16:18:32 +00:00
Benjamin Bentmann 3e6bc31a03 [MNG-4008] [regression] Build filters are collapsed
o Created UT from IT
o Started attempt to fix but apparently #set isn't enough to get the merging right

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738088 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 13:32:47 +00:00
Benjamin Bentmann ea2773c5eb [MNG-4007] [regression] Effective model contains paths with non-normalized file separators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738074 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 12:39:03 +00:00
Benjamin Bentmann eb08946492 [MNG-4003] Failed Unit Test on Building Plexus Velocity Component
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737894 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 22:11:15 +00:00
Britton Isbell d93227ad4a Plugin order unit test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737813 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 20:23:15 +00:00
Britton Isbell 702ed0b0dd Fixed various ordering of element problems during plugin management joins.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737812 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 20:22:20 +00:00
Britton Isbell 1c2b979977 MNG-3887: order of plugin executions, MNG-3864: plugin configs are collapsed, MNG-4000: Plugin executions without id are lost
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737633 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 03:29:07 +00:00
Britton Isbell 379f614660 Fixed regression on MNG-3821. Should not add any subcontainers to the Model Container Info list, which is the one that the ModelTransformerContext uses. This will match ids for subcontainers from different parent containers.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737622 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 01:40:40 +00:00
Britton Isbell dc27facb7e Updated unit tests with assertions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737619 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 01:23:25 +00:00
Benjamin Bentmann 46ca604411 o Created UT for MNG-4000
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737172 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 20:11:45 +00:00
Britton Isbell 2d5cb58fe9 MNG-3998: Loss of execution configuration. MNG-3886: Goals order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737156 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:24:27 +00:00
Benjamin Bentmann 8bc517009b o Created UT for MNG-2591
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737078 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 16:44:14 +00:00
Benjamin Bentmann 67c93459cc o Created UT for MNG-3836
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737071 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 16:28:48 +00:00
Benjamin Bentmann 2e4285f616 o Created UT for MNG-3864
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737066 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 16:06:37 +00:00
Benjamin Bentmann 04a020ea5a o Created UT for MNG-3827
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@737056 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 15:35:43 +00:00
Britton Isbell 34aceea2eb Added #set to URI configurations. Fixed problem where execution rule was joining all collections, not just goals.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736578 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 06:53:25 +00:00
Britton Isbell 496d8ffcb4 MNG-3997: If one ModelProperty property URI starts with another ModelProperty URI and both are empty and both are consecutive in the pom, then the first tag was not being closed on unmarshalling to XML.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736541 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 03:18:20 +00:00
Britton Isbell 15f10579d7 Fix: MNG-3965
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736386 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 19:31:48 +00:00
Britton Isbell 01e602351c Unit test for MNG-3965
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736373 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 18:53:00 +00:00
Britton Isbell b77af2e2e6 MNG-3985
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736294 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 11:58:50 +00:00
Britton Isbell 68d8ce9d34 MNG-3979.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736252 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 07:35:33 +00:00
Britton Isbell 04833ce768 MNG-3984
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736236 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 06:20:34 +00:00
Britton Isbell 036d5932e1 MNG-3937 - goals inheritance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@736233 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 05:58:52 +00:00
Benjamin Bentmann 27d2e3c058 [MNG-2605] Profiles in profiles.xml are active by default
o Merged from r734803

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734810 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 20:30:50 +00:00
Benjamin Bentmann 62e2d40504 [MNG-3988] [regression] Profiles.xml is not processed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734142 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 14:33:39 +00:00
Britton Isbell 192af339c6 Final fix for the problem where snapshot plugin repositories from external profiles were not being used. Added code for setting remote repos to MavenProject, after profile injection.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733655 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 09:02:50 +00:00
Britton Isbell 9c67a22ddc Profile Injector was missing injecting of plugin repositories from settings file. Fixes this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733648 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 08:22:15 +00:00
Britton Isbell a457427433 Fix: Different types of ID Model containers were being joined if their ids matched. Now we have one ID model container factory instance per type.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733637 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 07:00:09 +00:00
Benjamin Bentmann 8e3adc631c o Created UT for MNG-3979
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733262 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 10:46:00 +00:00
Britton Isbell e3bde472f9 Fix: MNG-3978
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733133 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 19:44:19 +00:00
Britton Isbell 647a0112cc Fix: MNG-3943
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733036 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 13:42:37 +00:00
Jason van Zyl fe6d32bd6c MNG-3961: reverted the addition and we'll deal with this later properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732936 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 06:06:32 +00:00
Jason van Zyl cfbcba22a8 MNG-3586: system scope is working again, the IT does not appear to work on OS/X. Both 2.0.9 and this snapshot fail the first test of the IT. Brian helped me verify and on Windows with 2.0.9 and this snapshot both tests pass.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732929 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 05:34:14 +00:00
Britton Isbell c4782c4a38 Fix: 3944 - we can just use the existence of the project directory to determine whether it is in the build. This will be a contract of the setProjectDirectory method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732683 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 11:12:11 +00:00
Britton Isbell f3c978e962 Fix: MNG-3938
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732344 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 14:03:06 +00:00
Jason van Zyl 481cde5756 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731333 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:28 +00:00
Jason van Zyl 6991c79e34 [maven-release-plugin] prepare release maven-3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731331 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:05 +00:00
Jason van Zyl cc38a455f7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731271 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:29:07 +00:00
Jason van Zyl bab3480d4b [maven-release-plugin] prepare release 3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731269 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:28:42 +00:00
Benjamin Bentmann 970065b4bd [MNG-3424] Respect ordering of elements as given in POM
o Merged from r708871

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@730079 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 09:33:02 +00:00
Britton Isbell 269c07916e Removing final from class. Tycho has a case where it needs to extend.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729996 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29 21:04:50 +00:00
Benjamin Bentmann da66dd9fd4 [MNG-3933] Profiles.xml does not pickup OS family
Submitted by: Pawel Paprota

o Merged from r729785

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729787 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 22:09:20 +00:00
Benjamin Bentmann d639132f0b o Fixed file checks
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729517 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 17:55:13 +00:00
Benjamin Bentmann 4cc361f4ff o Created UT from MNG-3944
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729514 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 17:22:22 +00:00
Benjamin Bentmann 8d845eaa55 o Created UT from MNG-3822
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729511 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:56:31 +00:00
Benjamin Bentmann fd68f59250 o Created UT from MNG-3831
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729508 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:48:36 +00:00
Benjamin Bentmann 85cf2d029e o Created UT from MNG-3833
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729507 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:40:57 +00:00
Benjamin Bentmann be34e915c8 o Created UT from MNG-3839
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729506 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:32:30 +00:00
Benjamin Bentmann abc85c68f4 o Created UT from MNG-3845
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729505 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:24:20 +00:00
Benjamin Bentmann 3dd7dcecbc o Created UT from MNG-3846
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729504 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 16:11:47 +00:00
Benjamin Bentmann cf3b5d2089 o Created UT from MNG-3904
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729502 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 15:44:29 +00:00
Benjamin Bentmann 5952595d24 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729501 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 15:33:38 +00:00
Benjamin Bentmann 2bb74899fe o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729500 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 15:30:58 +00:00
Benjamin Bentmann d186d9996c o Created UT from MNG-3906
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729499 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 15:12:07 +00:00
Benjamin Bentmann ea3c2217af o Created UT from MNG-3924
o Created UT from MNG-3943
o Used trimmed down POMs for UT for MNG-3916

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729496 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 14:01:42 +00:00
Britton Isbell f39ec410da Reverted back changes for MNG-3821. Broke bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728871 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 04:57:42 +00:00
Benjamin Bentmann 8211a14a65 o Enabled fixed test, disabled broken test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728744 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:14:37 +00:00
Benjamin Bentmann 6befed27b5 o Created UT from MNG-3938
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728743 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:09:55 +00:00
Benjamin Bentmann 52d13db42f o Created UT from MNG-3937
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728725 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 16:59:19 +00:00
Benjamin Bentmann 50f8ed0dac o Splitted tests to ease understanding/debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728698 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 14:11:03 +00:00
Benjamin Bentmann f07fdb2032 o Created UT from MNG-3925
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728694 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 13:55:17 +00:00
Benjamin Bentmann 7555ab36e1 o Created UT from MNG-3887
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728675 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 13:09:02 +00:00
Benjamin Bentmann 8fdaaf6218 o Created UT from MNG-3886
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728667 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 12:46:34 +00:00
Benjamin Bentmann cb1d2917fa o Synced UT with MNG-3838
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728660 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 12:23:52 +00:00
Benjamin Bentmann 3ce9917532 o Created UT from MNG-3821
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728654 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 11:48:10 +00:00
Benjamin Bentmann c64d5b2bd5 o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728644 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 11:08:33 +00:00
Britton Isbell 807bb6ddc7 Fix: Unable to resolve parent pom that is a snapshot. Added policies from config during build. Also fixed bug in ArtifactPolicySnapshots, allowed override of default policies with a null value.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728090 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 18:21:37 +00:00
Jason van Zyl 0ab54cf0c7 o imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727857 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 23:49:48 +00:00
Britton Isbell e24f7564f7 Fix: there was a problem with pom construction if there were two or more plugins with dependencies elements.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727855 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 23:35:31 +00:00
Jason van Zyl e0cdbdc475 o notes on how to improve the test so that it's easy to get others involved in adding/correcting the spec and accompanying tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727638 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:29:15 +00:00
Jason van Zyl cce3456998 o get rid of debug information
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727637 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:24:27 +00:00
Jason van Zyl 854a44adf0 o testing ThatExecutionsWithoutIdsAreMergedAndTheChildWins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727635 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:23:35 +00:00
Jason van Zyl 4dcf7797bb o another concrete example of executions inheritance
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727627 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 03:27:17 +00:00
Britton Isbell 61a5d19c4e Artifacts containers now will inherit versions. This will occur before management rules are applied.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727614 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 01:45:13 +00:00
Jason van Zyl f67099266e o adding a way to get a value from an xpath expression
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727585 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:48:07 +00:00
Jason van Zyl 730b56bb9c o using jxpath to simplify the queries for testing the spec.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727584 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:47:30 +00:00
Britton Isbell 1ab2db1205 Test Wrapper for domain model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727574 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:17:47 +00:00
Jason van Zyl 1ba8aa4479 o need to set the lineage count on the transformed model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727463 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 18:38:45 +00:00
Jason van Zyl 306d70f8f5 o adding some test code to share with shane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727460 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 18:32:01 +00:00
Jason van Zyl 699640f2ec o notes about the testing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727330 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 09:53:09 +00:00
Jason van Zyl 2b808a15d1 o start of harness for validating the spec, i have my first error expressed in a test where plugin executions are
not joined properly. and the journey begins ...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727322 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 09:34:16 +00:00
Jason van Zyl a175bd170d o super model construction moved into the project builder so that all pure inheritance can be handled therein. Then the only thing we're left with is the mixins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727311 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 08:08:56 +00:00
Jason van Zyl 7d3040a73e o collapsing more of the project builder, trying to turn it back into one component -- we have the old and the new with the old wrapper the new -- so that I can have an interface for compatibility and then all our new stuff in another component.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727299 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:27:16 +00:00
Jason van Zyl 0b867c0c29 o move the super pom to the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727291 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 05:40:25 +00:00
Jason van Zyl f869413e44 o actually put a valid GAV in the super pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727290 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 05:39:18 +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 ff3548a6b4 o we don't need to deal with import models right now, all we care about in the near future are mixins. this is an attempt
to simplify the API enabling me to more easily create the specification tests


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727210 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 23:12:01 +00:00
Jason van Zyl ee9e67af9b o we don't need to pass in the project builder configuration when we just want the domain model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726972 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:59:36 +00:00
Jason van Zyl 0638d3d8a0 o passing in the file, we don't need the parent directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726961 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:19:39 +00:00
Jason van Zyl 75456d77ba o use new signature for the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726958 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:06:29 +00:00
Jason van Zyl 38e6b15ebc o validation is now done elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726956 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:55:21 +00:00
Jason van Zyl 9a13ec793c o add the method to read in a file and return the data model
o remove the ROLE field

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726953 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:44:18 +00:00
Jason van Zyl 2dc15dda49 o project builder takes a file now and not an input stream
o separated the construction of the domain model from the maven project


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726951 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:40:59 +00:00
Jason van Zyl ff09f5beb7 o remove MissingRepositoryElementException from the core and just leave in compat
o make the project builder's read from path use a file instead of a input stream


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726942 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:10:14 +00:00
Jason van Zyl cc3d2ca380 o collapse all the test nexus projects under one directory, i'm using this to track down the plugin containers that don't have the executions joined correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726924 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:55:56 +00:00
Jason van Zyl 15da8b59b0 o move the path translator to the maven-compat package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726744 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 17:48:53 +00:00
Jason van Zyl 8d90d7cabc o starting to add generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726614 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 03:51:38 +00:00
Jason van Zyl 17e8ace705 o fix formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726589 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 00:47:03 +00:00
Jason van Zyl 933c30ed6b git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726588 13f79535-47bb-0310-9956-ffa450edef68 2008-12-15 00:46:47 +00:00
Jason van Zyl 3a689d4f4d MNG-3905: merged all the artifact/repository handling bits into MavenTools
o clean up hand-written component descriptors



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726584 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 00:20:04 +00:00
Jason van Zyl 6581960c98 o remove dead class, methods were moved to MavenTools long ago
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726582 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:56:01 +00:00
Jason van Zyl e2585b1dab o remove unused code as part of collapsing MNG-3905
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726581 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:54:53 +00:00
Jason van Zyl a8924908e3 o get rid of ROLE field
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726580 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:54:20 +00:00
Jason van Zyl f3d2285e2e o remove ROLE field, use class reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726578 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:47:27 +00:00
Herve Boutemy 48d853ad6e [MNG-3898] use models attribute of modello-maven-plugin instead of model (merged from 2.0.x branch r726548)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:07:08 +00:00
Jason van Zyl 6d5eab14f6 o remove aspectj
o update compat log with CLI changes
o update everything to release versions, we have no snapshots anymore


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726521 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:51:59 +00:00
Vincent Siveton 7b8a12754f o merged from r726423 (specify unique namespace)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726425 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 12:53:21 +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 4074068126 o adding test case for plugin execution container join
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726382 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:20:05 +00:00
Jason van Zyl 6e64aa721c o preparing to refactor the plugin management and plugin executions calculations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726381 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:17:05 +00:00
Britton Isbell fca273b3a0 If build property starts with project.basedir, don't resolve absolute path.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726343 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 03:12:08 +00:00
Britton Isbell fafb133780 If build property starts with another build property, don't attempt to resolve absolute path.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726334 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 02:17:02 +00:00
Jason van Zyl 444357358d o remove dead imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726330 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 01:45:15 +00:00
Jason van Zyl f06bece9f0 o execution properties are a per execution set of properties not the system properties. system properties are bad.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726320 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 00:40:07 +00:00
Jason van Zyl 37976eec7d o remove ROLE field, will use a class reference instead.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726311 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 23:55:01 +00:00
Jason van Zyl bcc654c709 o get rid of reference to the ROLE field, use a class reference instead.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726310 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 23:54:41 +00:00
Jason van Zyl c94cdd6d88 o extract the interpolation capabilities into its own class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726236 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 17:18:42 +00:00
Britton Isbell 3a61ccdc8e Fix: MNG-3822
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@722374 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 05:03:30 +00:00
Jason van Zyl 6d841464e3 o don't need components.xml anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721760 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 05:19:37 +00:00
Jason van Zyl 4f5cdce538 o using annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721759 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 05:18:34 +00:00
Jason van Zyl 0aa43af9f4 o dead imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721636 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:07:36 +00:00
Jason van Zyl 8b655a1456 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721616 13f79535-47bb-0310-9956-ffa450edef68 2008-11-29 02:40:55 +00:00
Britton Isbell 4d84546f7b Fix for problems with modello plugin. Builder was not properly inheriting the goals.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721608 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 01:41:35 +00:00
Jason van Zyl aba2b12837 MNG-3876: Add in the maven-artifact code so we can start creating facades and back it with mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 22:32:16 +00:00
Britton Isbell 937014c33e Moved validation errors to debug. This will still fail the build in critical cases.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721246 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 17:32:55 +00:00
Britton Isbell 1c779c537a Removed default value for maven.version, caused all sorts of versioning problems.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721112 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 08:19:56 +00:00
Britton Isbell 0375b033b5 Don't fail build on invalid relocated pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 07:36:06 +00:00
Britton Isbell 975ebc7c0c Fail if pom of relocated artifact is bad.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721072 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 02:32:30 +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 cca34331f3 Reduced duplicate code between PomTransformer and PomClassicTransformer. The PomTrasnformer is now a concrete base class. The PomClassicTransformer extends it, overriding how interpolation is done, to handle interpolation of values related to project directories.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720292 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 21:08:35 +00:00
Britton Isbell 0b4c2c9222 PomClassicTransformer now inheriting from PomTransformer. Removed some of the duplicate methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720281 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 20:35:39 +00:00
Britton Isbell f312012e8a PomClassicTransformer now using a factory to create domain model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720277 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 20:25:40 +00:00
Benjamin Bentmann 39d13c66a6 [MNG-3845] Unintended inheritance of parent elements overriden by children
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719930 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 22:10:36 +00:00
Benjamin Bentmann 83440b7c01 [MNG-3843] Main/test resources are not properly inherited
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719921 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 21:18:23 +00:00
Britton Isbell 1c2df46402 Removed reference to listener.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719726 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:55:47 +00:00
Britton Isbell 7368eb1216 Moved out specialized methods from PomClassicTransformer to ProjectBuilder. Did this refactoring to make it easier to merge PomTransformer and PomClassicTransfomer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719724 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:50:31 +00:00
Britton Isbell c26b2d69cd Merge of sisbell-maven-3.0-mercury branch to trunk. Includes maven-project-builder component, which breaks out some of the independent project builder classes, so that Mercury does not need to pull in the entire trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 04:49:46 +00:00
Britton Isbell 95929cf502 Some of the hard-coded URIs for profiles were outdated. This would cause improper matching of profile elements. Fixed this to use ProjectUri, which is always in sync.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719411 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 22:34:51 +00:00
Britton Isbell 6a1f04705c Moved PathTranslator back to project module to fix class reference issue with the enforcer plugin. Added a preprocess method on the ModelTransformer to allow processing of plugin config elements. Need to add information about which elements are collections so they are not lost during a sort.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719406 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 22:19:34 +00:00
Britton Isbell 1f5a668726 Simplified nested if-rules for model container action.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719293 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 17:17:23 +00:00
Benjamin Bentmann d12af86b03 [MNG-3863] Maven erroneously assumes "org.apache.maven.plugins" for dependencies without groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719253 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 15:25:01 +00:00
Britton Isbell e046650597 If DependencyManagement section gave a dependency a scope of provided, then it would not join with a dependency with a scope of compile, causing Nexus build to fail. Fixed this rule for scopes of provided and compile to be treated as same type for purpose of joining.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719151 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 01:31:24 +00:00
Britton Isbell 9982d6b8c7 A number of URIs were missing the #collection element. Fixed this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719142 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 00:31:14 +00:00
Jason van Zyl f88b524249 o using thread local lookup setting the realm to null once it's done its work with the plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718656 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:17:26 +00:00
Britton Isbell d9a4b136c4 Rule: Don't inherit parent relativePath
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718479 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 03:45:09 +00:00
Britton Isbell 00a0f513b1 Fix: interpolator - mavenVersion and maven.version are implicitly set.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 03:04:29 +00:00
Britton Isbell ed4083c93f Problem in merging artifact containers, where one container specified a default type value (jar) and the other did not. They were treated as different types. Fixed this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718375 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:59:05 +00:00
Britton Isbell 629c12ae80 Configured build extension listener to only fire on poms within the build.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718176 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 06:23:46 +00:00
Jason van Zyl eec6ed1e2c o adding new logic to process build extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718165 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 03:23:35 +00:00
Jason van Zyl 56986ca004 o use the class lookup method which will now automatically partition lookups based on the class
submitted by: Dain Sundstrom



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717964 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 02:38:13 +00:00
Benjamin Bentmann 0d28d1719a [MNG-3846] Inherited URLs are not automatically extended with the child's artifactId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717941 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 22:35:14 +00:00
Britton Isbell 7de89c1ee9 Checked in support for plugin extension listener. Not using a configurable plexus component yet. The listener is added directly to the transform.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@714122 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 20:10:52 +00:00
Britton Isbell 1a9ef5d0e0 Added in Project Event Listeners. Still need to hook up a plexus component and a model container factory for configuring listeners.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@714109 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 19:18:09 +00:00
Britton Isbell 2881df1046 Reversing fix for MNG-3827. This causes regression in MNG-3679.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713525 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 21:51:15 +00:00
Britton Isbell c46e4fd97c Fix for mng-3259.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713483 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 20:01:20 +00:00
Britton Isbell bf5d38a186 Fix for IT 3827. On joins between model containers during the applying of plugin management, transform rule was reversing the plugin config element order. Now do a reverse sort prior to join, so elements end up in correct order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713429 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 17:31:07 +00:00
Benjamin Bentmann 07fb543422 [MNG-3831] Expressions without project/pom prefix are no longer interpolated with model values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713052 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:44:19 +00:00
Benjamin Bentmann cd04c1d85a o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713049 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:35:30 +00:00
Britton Isbell 1249c89962 Fix for it0141
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@712680 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 15:44:37 +00:00
Britton Isbell 6468b08bda Fix for IT 3821.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@712621 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 07:23:45 +00:00
Britton Isbell 9929e8101d Add collection notation to reportSets.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@712619 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 07:05:45 +00:00
Britton Isbell 4256e417b9 If DistributionManagement site url contains a property, build was failing. This is a quick fix and will still not return the correct URL. The problem is that interpolation occurs after inheritance and resolving URLs based on a parent is an inheritance issue.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@711888 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 16:12:17 +00:00