Commit Graph

8231 Commits

Author SHA1 Message Date
Benjamin Bentmann 67a2275ac9 [MNG-4274] Plugins with an undeclared but transitive dependency on plexus-utils via a core artifact get wrong version of p-u
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 14:42:41 +00:00
Benjamin Bentmann bc744b544b o Extended repo system to grab artifacts without resolving them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 14:41:04 +00:00
Benjamin Bentmann 03dab5e334 o Hid util class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 22:03:28 +00:00
Benjamin Bentmann 2ecdadb186 o Centralized class realm creation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799936 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 21:54:18 +00:00
Benjamin Bentmann 287a715954 o Removed authorative flag from repo, resolution just stops when the artifact's resolved flag is true
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799858 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 13:10:20 +00:00
Benjamin Bentmann ea10476bf9 o Fixed extension realm to consider project-level plugin dependencies as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799831 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 11:06:14 +00:00
Benjamin Bentmann b3f852ee64 o Displayed plugin realm upon linkage error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799712 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 19:30:35 +00:00
Benjamin Bentmann 82005766ac o Removed authorative flag from artifact, we can just use the resolved flag to stop the resolution process
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799692 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:45:18 +00:00
Benjamin Bentmann f770dc82d6 [MNG-4269] [regression] Invocation of just installed plugin on its plugin project can fail with ComponentLookupException for mojo class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799680 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:11:57 +00:00
Benjamin Bentmann 34bb79d551 o Removed unused dependency (which currently invalidates the POM due to its missing version)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799655 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 16:29:58 +00:00
Benjamin Bentmann 051fe4524a o Updated to wagon:1.0-beta-6
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799622 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 14:28:33 +00:00
Benjamin Bentmann 899e37629b [MNG-4231] Snapshots are not checked for updates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 12:49:40 +00:00
Benjamin Bentmann ce5af70026 o Fixed artifact filter to not exclude libs that the core doesn't actually provide
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799568 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 10:15:03 +00:00
Benjamin Bentmann c2078c65b1 o Enabled model cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 23:03:32 +00:00
Benjamin Bentmann 147c7a6955 o Tweaked error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799395 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 18:13:02 +00:00
Benjamin Bentmann 4e0896c825 o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799373 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:13:40 +00:00
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 08bb4081d4 [MNG-4266] Missing method ArtifactUtils.isSnapshot used in the release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799225 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 10:17:29 +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
Jason van Zyl 6f47dab728 o going to work on the security manager on a branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798717 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 22:01:48 +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
Benjamin Bentmann ee55d1d8c5 [MNG-4260] Remove old-school reactor mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798081 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:13:47 +00:00
Benjamin Bentmann fb0d4c3de9 o Enabled two-phase model building which allows to address inter-model dependencies within a reactor build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798077 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 08:33:11 +00:00
Benjamin Bentmann 34e1fa627f o Enabled two-phase model building which allows to address inter-model dependencies within a reactor build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797988 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 20:36:32 +00:00
Benjamin Bentmann 38cec71dcf o Revised API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797968 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 18:18:47 +00:00
Benjamin Bentmann 70f22200a0 o Moved dependency management importer into package dedicated to mixin composition
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797961 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 17:43:50 +00:00
Benjamin Bentmann 57f82d7694 o Introduced model cache to avoid repeated building of models that can occur multiple times during a reactor build (e.g. parents and imported POMs)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797959 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 17:36:59 +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
Benjamin Bentmann 6d2b09b14f o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797809 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 18:04:24 +00:00
Benjamin Bentmann fe4d70448e o Made model validation fail upon imported POM with classifier (which isn't supported)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797808 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 18:03:13 +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 a48ae318c6 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797479 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 14:23:45 +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 54c39d9a0f o Added UT for maven.repo.local
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:46:25 +00:00
Benjamin Bentmann 93b2746fe5 o Added UT for PropertyProfileActivator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796912 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:36:22 +00:00
Jason van Zyl 684eed4a0c o using the repository system and repositories to mediate proxy use. proxies restored.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:58:24 +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