Commit Graph

769 Commits

Author SHA1 Message Date
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