Commit Graph

1838 Commits

Author SHA1 Message Date
Benjamin Bentmann 8f5a6bfe6f o Restored lifecycle forking
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799310 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:06:59 +00:00
Benjamin Bentmann 2563edc285 o Added toString() to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799309 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:05:00 +00:00
Benjamin Bentmann 6dc7f104e2 o Restored forking to other mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799083 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 21:19:03 +00:00
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