Commit Graph

1985 Commits

Author SHA1 Message Date
Benjamin Bentmann 2f8d3981f9 [MNG-3814] Reactor builds fail due to erroneous cycle in project sorting which does not consider versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798906 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 13:48:19 +00:00
Benjamin Bentmann a9ea4c8b11 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798537 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 14:39:42 +00:00
Benjamin Bentmann a151c6c1a3 o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798536 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 14:39:09 +00:00
Benjamin Bentmann fdb57e65ca o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798504 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 12:27:10 +00:00
Benjamin Bentmann f9d5fb4c7a [MNG-2871] Subartifact (ejb-client, test-jar etc.) are not reselved as active project artifacts in build phases prior to package
[MNG-3043] Allow 'mvn test' to work with test-jar dependencies in a reactor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798494 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 11:46:04 +00:00
Benjamin Bentmann 0cefc46991 [MNG-4262] Make-like reactor mode fails to find projects selected by relative paths with leading dots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 09:26:51 +00:00
Benjamin Bentmann e3f7710578 o Fixed TCCL handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798226 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 17:23:21 +00:00
Benjamin Bentmann 299a4c0843 [MNG-4052] import scope dependencies prefer to download pom rather than find it in the current project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798221 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 17:09:51 +00:00
Olivier Lamy b2a9420e63 remove unused imports.
fix license headers.
remove empty class.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797828 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 19:42:15 +00:00
Jason van Zyl d8ee29d10c o missed the tests, thanks subclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797695 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 00:16:45 +00:00
Olivier Lamy 5ad174e3d6 [MNG-4247] Displaying which artifacts are downloaded and from which repo
Only displaying a simple : [INFO] Downloaded http://x.x.x.x:x/....... 
As there is so much places where ArtifactResolutionRequest is created without any access to mavenExecutionRequest.getTransferListener()
Issue id: MNG-4247


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797678 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:37:39 +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
Olivier Lamy 606336da20 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:08:54 +00:00
Olivier Lamy 5d30af902f add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797661 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 21:30:01 +00:00
Benjamin Bentmann 4286488981 o Polished API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797477 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 14:23:00 +00:00
Benjamin Bentmann f48d77ce5e o Made plugin version resolution more robust and ensured we fail fast upon resolution failure instead of some NPE in later execution steps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:50:49 +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
Benjamin Bentmann cec9b2002a o Fixed empty project building helper to pass request repos through if provided for tests that use them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796864 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:13:24 +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
Benjamin Bentmann c6eb6bd219 [MNG-4201] Custom packaging break in trunk (rev 784628)
o Restored compat with 2.x, both in terms of lifecycle configuration and API for implementors of custom mappings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796801 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:15:50 +00:00
Benjamin Bentmann d0ca6d9490 o Fixed parsing of lifecycle mappings to account for version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796797 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:07:46 +00:00
Benjamin Bentmann 03c8b58235 o Fixed resolution of plugin default config. The project building request provides only the base set of repos, not the final set. In addition to the base set, the final repo list contains POM repos and repos from external profiles. Therefore, the MavenProject instance (which holds the final repo set) has to be queried for the repos.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796657 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:03:53 +00:00
Benjamin Bentmann 1329516567 o Added API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796656 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:00:43 +00:00
Benjamin Bentmann e40ffd98c1 o Added comment about internal status
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796640 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:28:11 +00:00
Benjamin Bentmann ddd5c13075 o Generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796637 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:21:11 +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 d738d58150 o working on fixing the problem in the MavenTest where the remote repositories are not being set and causing the test to fail
when a clean local repository is used.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796569 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 22:28:54 +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 043c8d6904 o Optimized performance by utilizing that project identity is based on g🅰️v which is just the map key
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795948 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:32:52 +00:00
Benjamin Bentmann 9a6561c6f6 o Optimized performance (the string concatenation in getId() severely affected ReactorArtifactRepository which in turn is heavily used for key calculation/comparision in the plugin & metadata cache)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795939 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:13:49 +00:00
Benjamin Bentmann df346c93b0 o Tweaked log output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795610 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 21:12:29 +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 12ea9f5244 o Deprecated Settings.getMirrorOf() which is neither up-to-date nor used (merged from r795521)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795522 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 11:54:43 +00:00
Benjamin Bentmann fd2ee03635 [MNG-4246] plugin resolution failures during pom-less execution (like archetype:generate)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 12:31:23 +00:00
Benjamin Bentmann 70ae109093 o Added method to clone/fork model resolver which is a prerequisite for importing other POMs/mixins during the model building where the model builder basically recurses and we want the resolution processes for these sub POMs to be isolated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795227 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 21:07:11 +00:00
Benjamin Bentmann ef13f229e8 o Fixed project realm handling to be more embedder friendly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 19:48:57 +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 72cd95fb36 [MNG-2576] Make Like Reactor Mode
o Restored project selection by groupId:artifactId

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795128 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 16:12:56 +00:00
Benjamin Bentmann ec440de1de [MNG-2576] Make Like Reactor Mode
o Restored resume-from

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795062 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:10:38 +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 1759fb3979 o Consolidated all inputs of the model builder in the building request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793891 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:54:16 +00:00
Benjamin Bentmann 42340c1b92 o Used project realm during dependency resolution
o Fixed NPEs

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793871 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:00:05 +00:00
Benjamin Bentmann 2caa6b5112 o Introduced project realm to host build extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793844 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 10:44:44 +00:00
Benjamin Bentmann d8ff78d643 o Fixed lifecycle mapping config
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793649 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 18:29:01 +00:00
Benjamin Bentmann d56f9e13bb o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792721 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 21:47:54 +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
Benjamin Bentmann e083752b39 o Added comment about design weakness
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790714 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:20:06 +00:00
Benjamin Bentmann abca2a5252 o Moved model builder classes into dedicated package such that o.a.m.model is reserved for the generated Modello classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:04:48 +00:00
Benjamin Bentmann ed6ff2be82 o Propagated new validator API up to project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790344 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:52:37 +00:00
Benjamin Bentmann 2b44c968f0 o Extended model validator to support more than two validation levels
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790338 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:33:40 +00:00
Benjamin Bentmann efd3309e99 o Made warning more prominent and clear
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:09:35 +00:00
Benjamin Bentmann 512d83070a [MNG-4173] Remove automatic version resolution for POM plugins
o Reduced validation error to warning because this change seems to cause troubles for many projects out there
o Extended lifecylce executor to take care of non-versioned plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790202 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:55:06 +00:00
Benjamin Bentmann 22516c9fa7 o Extended model validation to support distinction between warnings and errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790131 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 11:56:44 +00:00
Benjamin Bentmann accb45543f [MNG-4224] maven lifecycle participant
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789993 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 22:36:30 +00:00
Jason van Zyl e0d29fe6a3 o take out maven-repository until the compat module is separated again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789544 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:33:53 +00:00
Jason van Zyl fb1c53d6da MNG-4221: putting the repository and compat modules together while completely hide the legacy implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:04:34 +00:00
Benjamin Bentmann b6f19629ed o Re-enabled reactor collision detection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789091 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 11:56:35 +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 84bfe465ef o Moved the toolchains into the core to allow proper testing of the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789006 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 18:18:46 +00:00
Benjamin Bentmann edbbc2027e o Restored mojo context passing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788982 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 14:40:25 +00:00
Benjamin Bentmann 2138a248af [MNG-4215] Review and fix hashCode/equals methods of ArtifactRepository implementations
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788798 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:02:19 +00:00
Benjamin Bentmann c8f94b4eaf o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788375 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:00:20 +00:00
Benjamin Bentmann 5a8e3f08c2 o Allowed access to logger by integrators like Tycho
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788154 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:40:29 +00:00
Benjamin Bentmann 01f1ae9b5d o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 18:25:58 +00:00
Olivier Lamy ccd2cd2e1a more details on the NPE cause.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787114 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 23:38:51 +00:00
Benjamin Bentmann d90f22f338 [MNG-1491] Reactor should print out a message if it detects a collision of artifact ids
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787072 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 19:26:00 +00:00
Benjamin Bentmann c17c9564cc [MNG-3641] Lack of error checks on profiles
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787045 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 16:06:02 +00:00
Jason van Zyl ea5445af38 MNG-4216: Remove all direct usage of DefaultArtifactRepository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786995 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 11:39:10 +00:00
Benjamin Bentmann 262ff7908f [MNG-4214] [regression] Parent POMs cannot be resolved from mirrored repos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786910 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:22:54 +00:00
Benjamin Bentmann 4f2c5b4511 o Fixed mirror handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786899 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:58:58 +00:00
Benjamin Bentmann 2260cb2f58 o Fixed buggy anti-pattern
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786892 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:39:56 +00:00
Benjamin Bentmann 12fbba751a [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Committed additional patch with bugfixes including minor modifications:
  - used LinkedHashSet instead of HashSet/TreeSet
  - added missing license headers

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786882 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:56:26 +00:00
Benjamin Bentmann 6a63fb495f o Removed super POM handling from project builder and did a proper call to the model builder instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786853 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 16:40:21 +00:00
Benjamin Bentmann 7f526ca65d o Extended model builder to report the ids of the models from the lineage and used these ids as keys to pull infos from the building result
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786838 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 15:00:45 +00:00
Benjamin Bentmann 1c0a588c90 [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Committed additional patch with bugfixes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786811 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:17:36 +00:00
Benjamin Bentmann 93f90df0de [MNG-4191] separate plugin and artifact repositories
o Updated test setup

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786791 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 10:32:11 +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
Benjamin Bentmann 14960422e0 o Fixed test setup and re-enabled test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786578 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 16:50:11 +00:00
Benjamin Bentmann f755552cbe o Fixed artifact filtering
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786212 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:19:32 +00:00
Benjamin Bentmann fc9b20303c [MNG-2293] maven-plugin-descriptor: Not possible to define a default implementation for a field defined by its interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785804 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 21:09:59 +00:00
Benjamin Bentmann 962b2e233c [MNG-3012] ClassCastException due to plexus-utils NOT being filtered during plugin loading
o Restored fix

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785783 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 20:37:02 +00:00
Benjamin Bentmann a51aba1cd6 [MNG-4208] [regression] CLI properties can't override project properties during interpolation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785752 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 18:44:19 +00:00
Benjamin Bentmann 3843481a3b o Fixed order of inherited plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785644 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 15:00:06 +00:00
Benjamin Bentmann 38ecf699e3 o Decoupled tests from super POM's plugin management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785639 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 14:54:31 +00:00
Benjamin Bentmann 114cbf2d4a o Fixed plugin version&prefix resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785565 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 11:59:15 +00:00
Olivier Lamy 0852f8d21d fix possible NPE as filter can be null (dependency:tree)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785405 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 21:11:33 +00:00
Benjamin Bentmann 17d876713c o Restored backward-compat regarding the lenient handling of the type of remote repositories provided to the project builder (this code is limited to the compat level so doesn't pollute clients of the new APIs)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785389 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:51:09 +00:00
Benjamin Bentmann be6ec8844e [MNG-4203] [regression] Dependency exclusions are not applied transitively
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785362 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:07:34 +00:00
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
Olivier Lamy 411169c51f stabilized junit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780376 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 07:51:50 +00:00
Benjamin Bentmann 1deef1f1d6 o Fixed dependency resolution for direct goal invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780244 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 11:24:35 +00:00
Jason van Zyl 4ce879db0a o remove comment only relevant for the project builder version of this test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:26:12 +00:00
Jason van Zyl ac9e467999 o adding equivalents for it0063, they work fine here but i'm not sure yet why the IT is failing. need to take a look at the it resolution plugin to see where the difference is
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780178 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:25:30 +00:00
Jason van Zyl 00c2d5486f o forgot to add the file provided by Igor's patch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780177 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:10:23 +00:00
Jason van Zyl 1e2b77c10f o make the project dependencies resolver set the project artifacts
o Allow the artifact exlusions to be altered by injecting delegates with knowledge of client systems (m2eclipse)
  Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780176 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:05:00 +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 85205e0b57 o Switched tests over to use new interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780119 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 21:44:35 +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 8c9c57652e o Introduced new interface ProjectBuilder to supercede MavenProjectBuilder and to draw a clearer line between legacy API and new API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780104 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:55 +00:00
Jason van Zyl e8ff78292b o if compile time deps are not specified maven will now complain
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780103 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:34 +00:00
Jason van Zyl 0c021975aa o look for the pom first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780101 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:35:37 +00:00
Benjamin Bentmann 73adb2f34f o Deleted useless test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780098 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:26:02 +00:00
Jason van Zyl 3a967a0765 o test projects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780084 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:00:15 +00:00
Jason van Zyl 318943638f o adding a metadata cache
Submitted by: Igor Fedorenko


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780080 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:22:03 +00:00
Jason van Zyl 192be4ec01 o right now disabling the setting of the classes directory as this is only done in 2.x in the compiler plugin and causes problems with the integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780077 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:17:10 +00:00
Benjamin Bentmann 7b9854faa4 o Fixed propagation of validation level to model parser
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780062 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:37:42 +00:00
Jason van Zyl bc257a588e o fixes for projects which specify plugins that define system scoped plugin override dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@779825 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 03:34:22 +00:00
Jason van Zyl 101dd8530e o adding in some changes before moving to the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779655 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 16:43:20 +00:00
Benjamin Bentmann 0e34f1958a o Moved tests for model validator into proper module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779307 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 20:48:13 +00:00
Benjamin Bentmann 41e54938d5 o Moved model validator into o.a.m.model and moved old impl into compat module
o Added method to validate raw POM

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779289 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:59:17 +00:00
Jason van Zyl ab43fff631 o make a separate project dependencies downloader where the scope and exclusions can be taken into account
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779283 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:45:32 +00:00
Benjamin Bentmann 02eef1ac38 o Added utility method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778514 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:21:10 +00:00
Benjamin Bentmann 1e2d19ab1a o Deleted DomainModel
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778500 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:59:59 +00:00
Benjamin Bentmann 3446be4828 o Decoupled project builder from DomainModel, we will directly use the model to keep track of the bits
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778495 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:44:38 +00:00
Benjamin Bentmann bbc97f4eb9 o Removed static processor context and move its remaining bits into the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778441 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 15:49:43 +00:00
Benjamin Bentmann 0a5b7985f6 [MNG-4173] Remove automatic version resolution for POM plugins
o Strengthended model validator to bark with a nice error message before down stream code bubbles up with ugly exceptions. The new validation step applies only to local builds and not to dependency resolution via the metadata source to accept existing POMs

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778426 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 14:27:46 +00:00
Benjamin Bentmann b16942f162 o Fixed validation to happen ahead of project construction as this depends on proper repository information
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778411 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:43:40 +00:00
Benjamin Bentmann dbe356a8e6 o Generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778408 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:39:30 +00:00
Benjamin Bentmann 9944592242 o Extended model validator to recognize two different validation levels to account for our different needs during local builds and metadata retrieval
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:22:32 +00:00
Benjamin Bentmann c063424f0a o Fixed repository mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778386 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:02:32 +00:00
Benjamin Bentmann 170eaca464 o Fixed test to account for fixed handling of optional dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778385 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:02:02 +00:00
Benjamin Bentmann 1bf3219293 o Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778384 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:01:26 +00:00
Benjamin Bentmann 0e5b8e2bf3 o Fixed handling of optional dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778344 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 08:10:18 +00:00
Jason van Zyl 5b76c2c495 o created an execution plan which currently contains the mojos that will be executed and the phase of dependency resolution required, if needed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 05:26:27 +00:00
Benjamin Bentmann c3f3d4c30c o Fixed plugin version resolution to consider plugin management, too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778242 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 21:47:17 +00:00
Benjamin Bentmann c7461bf048 o Fixed resolution of system dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778223 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 20:41:14 +00:00
Benjamin Bentmann 1e35b2784e [MNG-2097] adding a phase called prepare-package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778201 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 17:58:44 +00:00
Benjamin Bentmann c8151318c2 o Fixed processing of parameter aliases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 17:39:34 +00:00
Benjamin Bentmann 88fc18ab6f o Fixed configuration for direct invocation of goals
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778173 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 15:13:55 +00:00
Benjamin Bentmann 9f4dcc0c53 o Fixed plugin validator to consider only the first plugin descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778142 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:17:47 +00:00
Benjamin Bentmann ca51f586cd o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778138 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:14:10 +00:00
Benjamin Bentmann 49b8b62ef1 o Fixed parent resolution from settings' repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778127 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 12:12:38 +00:00
Benjamin Bentmann a2170b03c6 o Prevented NPEs in downstream code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778126 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 12:11:07 +00:00
Benjamin Bentmann 4bd0aad1dc o Deleted old profile matches
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777989 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 19:05:00 +00:00
Benjamin Bentmann ff7d13487d o Used more descriptive name for component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 17:08:57 +00:00
Benjamin Bentmann c3f9346b47 o Introduced ProfileSelector component which will replace the profile manager (the new component is stateless and focuses on the task to determine the active profiles from a given input collection). The long term goal is to use the project builder configuration as the profile activation context as this holds basically all the bits required for profile activators.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777961 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 16:52:48 +00:00
Benjamin Bentmann ba57376e69 o Prevented NPEs in downstream code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777957 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 16:37:46 +00:00
Jason van Zyl 677a6b59d6 o get rid of dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777553 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:52:30 +00:00
Jason van Zyl 44c864a463 o workspace tests
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777301 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 22:41:39 +00:00
Jason van Zyl b54a1b781b o large patch to rework the chained local repository implementations necessary for efficient reactor and IDE workspace resolution
Submitted by: Igor Fedorenko

I've asked Igor to fill out and send in a CLA and I will put him on the Sonatype CCLA



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777298 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 22:35:29 +00:00
Benjamin Bentmann 503cc60cc5 o Fixed explicit profile deactivation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777246 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 20:34:33 +00:00
Benjamin Bentmann 40f654d529 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777242 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 20:26:51 +00:00
Benjamin Bentmann b2a3374ac6 o Added note about need to tighten model validator with regard to plugin version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777240 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 20:14:26 +00:00
Jason van Zyl 48eb55f658 o project with plugin level configuration only
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777239 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 20:14:22 +00:00
Jason van Zyl e4d52d6c28 o missing classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777234 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:54:27 +00:00
Jason van Zyl a06ce9250d o fix for testitMNG4091_InvalidDescriptor(org.apache.maven.it.MavenITmng4091BadPluginDescriptorTest)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777230 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:42:11 +00:00
Benjamin Bentmann 6fe1debb60 o Fixed NPE in case of direct goal invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777228 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:24:32 +00:00
Benjamin Bentmann efb59873a5 [MNG-4129] Execution's inherited is not working as expected.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777205 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 18:19:22 +00:00
Jason van Zyl aaf01a7495 o another point about merging in the default plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777175 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:58:51 +00:00
Jason van Zyl b6cc908615 o notes on dealing with CLI invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777173 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:56:35 +00:00
Jason van Zyl fde34e8384 o get rid of extraneous goal matching
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777171 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:46:19 +00:00