Commit Graph

1747 Commits

Author SHA1 Message Date
Jason van Zyl 88cc8d652b o restoring a primitive version of the createArtifacts, need to refactor the MMS to make this work correctly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785300 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 17:08:36 +00:00
Benjamin Bentmann cd9056d1fd o Kept active external and POM profiles separate in model building result
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784583 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 16:46:16 +00:00
Benjamin Bentmann 05a782b347 [MNG-4199] [regression] Dependency resolution for compile and runtime scope misses provided&system dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784480 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 21:53:18 +00:00
Benjamin Bentmann ef1445e0d8 o Fixed CLI invovations of plugins with project-level plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784452 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 19:01:23 +00:00
Benjamin Bentmann e743f23a6a o Fixed handling of version ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 17:32:12 +00:00
Benjamin Bentmann 0a4f0ebb35 o Fixed dependency resolution from reactor to pick up attached artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784405 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 15:07:27 +00:00
Benjamin Bentmann 2a9cd6f73d [MNG-4196] [regression] Exclusions in project-level plugin dependencies are ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784371 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 11:09:36 +00:00
Olivier Lamy cb7055ea31 remove empty files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784344 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:49:39 +00:00
Olivier Lamy f83dfffbf7 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784341 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:37:33 +00:00
Olivier Lamy 1a929c372e add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784340 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:35:11 +00:00
Jason van Zyl 7cede8d841 o just leaving the logic there for the transitive global exclude
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784300 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:38:33 +00:00
Benjamin Bentmann 3eb4ffb445 [MNG-4180] [regression] Dependency exclusions are applied globally
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784296 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:16:16 +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
Benjamin Bentmann 8a43011d41 [MNG-4005] Throw Validation Error if pom contains a dependency with two different versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784241 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 19:22:41 +00:00
Benjamin Bentmann 425f632772 o Restored backward-compat with regard to handling of duplicate dependencies during metadata retrieval
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784227 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 18:45:37 +00:00
Benjamin Bentmann 60496472c7 [MNG-4190] same remote repo is referecned multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784210 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:29:44 +00:00
Benjamin Bentmann 8ea0c6f06b [MNG-2562] expose current time as a property for POM interpolation
o Fixed timestamp handling, was meant to be per reactor, not per module

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783860 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 17:41:25 +00:00
Benjamin Bentmann e72965d38e [MNG-2562] expose current time as a property for POM interpolation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783808 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 15:01:55 +00:00
Jason van Zyl 47b77c1df6 o removing an exception not used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783651 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 07:08:21 +00:00
Benjamin Bentmann db5d449c33 o Fixed inheritance of <developers>, <contributors>, <licenses> and <mailingLists>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783556 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 22:30:55 +00:00
Benjamin Bentmann 424b7ef1b0 o Fixed inheritance of <prerequisites>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783542 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 22:02:56 +00:00
Olivier Lamy 12bc6dad0e don't filter doxia-sink-api. users will be still able to run : mvn site:site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783525 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 21:30:40 +00:00
Benjamin Bentmann 76b76af968 [MNG-3401] Plugin parameters must be specified outside an execution block when they are invoked from the command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783520 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 21:08:44 +00:00
Benjamin Bentmann ea7d1088e9 [MNG-4191] separate plugin and artifact repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783480 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:03:29 +00:00
Benjamin Bentmann 6c4561f7ed o Fixed handling of project-level plugin dependencies. The plugin realm is a function of g🅰️v and plugin dependencies. Given that the plugin realm is bound to the plugin descriptor, the plugin descriptor also becomes a function of g🅰️v and plugin dependencies. So when looking up a mojo/plugin descriptor, the g🅰️v is not sufficient.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783463 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:31:28 +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
Benjamin Bentmann 5cde8bfe4b [MNG-4193] Throw validation error upon multiple repository declarations with the same id
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782796 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 21:38:45 +00:00
Benjamin Bentmann 2ec6f400be [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Applied extension to initial patch

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782776 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 20:43:06 +00:00
Benjamin Bentmann 76e9387f5d o Fixed propagation of project-level plugin dependencies by directly associating the mojo execution with the originating plugin instance. The key difference between a plugin instance and the g🅰️v triplet are the dependencies in the plugin instance which can't be easily reconstructed from just the g🅰️v but are crucial for construction of the plugin realm.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782377 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 12:16:46 +00:00
Benjamin Bentmann d07123e796 o Fixed model building to account for default values that can't be set in the MDO. The use case we have for this is the scope for dependencies: Setting this in the MDO would cause injection of the default in the raw model and would interfere with the superposition of dependency management. The 2.x code handles this via a side effect of MavenMetadataSource.createArtifact() which doesn't look like a clean way to go.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782376 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 12:12:54 +00:00
Benjamin Bentmann 958f69c50f o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782355 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 09:34:18 +00:00
Benjamin Bentmann 8eedb83477 o Improved exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782281 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 17:21:56 +00:00
Benjamin Bentmann 4ce1eff76e o Fixed tests to lookup IT plugins from the proper repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782246 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 12:50:22 +00:00
Benjamin Bentmann 97e57944f8 o Improved propagation of parse errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782243 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 12:37:34 +00:00
Benjamin Bentmann b273dab333 o Fixed aggregation of remote repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782231 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 11:35:57 +00:00
Benjamin Bentmann 73f3c915d1 o Decoupled project building request from model building request
o Moved model resolver into model building request

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782223 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 10:38:42 +00:00
Jason van Zyl f4379a47e8 o missing bits of Igor's patch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782059 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 16:41:07 +00:00
Jason van Zyl 67297ad557 o missing components from the MNG-4041 commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782019 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:02:49 +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
Jason van Zyl 1c0892fa04 o moved the RuntimeInformation component to the compat package. The maven-eclipse-plugin is currently using it. But for building your own projects the enforcer plugin is more appropriate for making sure the version intended for the project's use is being used.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781202 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:53:47 +00:00
Jason van Zyl 77c240c49e o deal with no pom being used for execution correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781197 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:43:41 +00:00
Benjamin Bentmann 370660ec9a o Fixed handling of project directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781119 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:47:33 +00:00
Benjamin Bentmann 753f4897a3 o Restored original behavior of legacy code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:07:47 +00:00
Benjamin Bentmann c8a5c2d89a o Renamed packages for consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780763 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 18:06:17 +00:00
Benjamin Bentmann 6548d31804 o Saved raw model in project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780640 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:15:46 +00:00
Benjamin Bentmann 26a35db0c7 o Introduced ModelBuilder component that now hosts most of the logic from the project builder to construct the effective model. With maven-model-builder we now should have a rather slim module that tools can re-use for building models. The project builder is simply layered on top of the model builder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780627 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 12:17:53 +00:00
Benjamin Bentmann 67cf84f5c9 o Made model valid
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780612 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:59:19 +00:00
Benjamin Bentmann faf4083cb9 o Moved interface for lifecycle injection into model-builder component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780524 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:45:30 +00:00
Benjamin Bentmann e55c892fe0 o Renamed package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780523 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:42:47 +00:00
Olivier Lamy 6717764750 stabilized junit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780507 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:17:33 +00:00