Commit Graph

629 Commits

Author SHA1 Message Date
Benjamin Bentmann a78ef2d826 [MNG-4912] Use of raw type should be Comparable<ArtifactVersion>
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1039332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 12:37:37 +00:00
Benjamin Bentmann fb52cac08b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1038046 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 10:47:01 +00:00
Benjamin Bentmann 308d4d45e5 [maven-release-plugin] prepare release maven-3.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1038043 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 10:44:18 +00:00
Benjamin Bentmann 7e57e9ea83 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036683 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 23:52:24 +00:00
Benjamin Bentmann 93af60e038 [maven-release-plugin] prepare release maven-3.0.1-RC1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036681 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 23:50:08 +00:00
Benjamin Bentmann 8d53cd4cc6 [MNG-4900] "Unresolveable build extension" when using shade plugin and repositories in profile
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036433 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 12:25:06 +00:00
Benjamin Bentmann 3a53a3caf2 [MNG-4877] Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1029208 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 21:42:14 +00:00
Benjamin Bentmann 03789c3155 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1004207 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 11:45:32 +00:00
Benjamin Bentmann eaf528f2ce [maven-release-plugin] prepare release maven-3.0
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1004204 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 11:43:40 +00:00
Benjamin Bentmann 5d7c76403d o Improved backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1003515 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 12:50:13 +00:00
Benjamin Bentmann 388e659a17 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1001464 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 16:09:27 +00:00
Benjamin Bentmann 8f839aef4c [maven-release-plugin] prepare release maven-3.0-RC3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1001462 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 16:07:40 +00:00
Benjamin Bentmann 0707794c27 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1000118 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 18:18:54 +00:00
Benjamin Bentmann eecf91a606 [maven-release-plugin] prepare release maven-3.0-RC2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1000115 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 18:17:16 +00:00
Benjamin Bentmann 9e99fe5e65 [MNG-4818] NPE in legacy.DefaultWagonManager.getArtifact
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998861 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 09:57:38 +00:00
Benjamin Bentmann 62b1a5ffb0 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997478 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:53:16 +00:00
Benjamin Bentmann 6da76b975a [maven-release-plugin] prepare release maven-3.0-RC1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997476 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:50:30 +00:00
Benjamin Bentmann a7c10dcb30 [MNG-4793] Unable to obtain archiver for extension 'zip'
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997467 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:23:59 +00:00
Benjamin Bentmann 0ce5541bb5 [MNG-4795] [regression] Dependencies in forked reactor projects are not resolved when aggregator bound to lifecycle forks
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@996206 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 20:19:40 +00:00
Benjamin Bentmann b4916c20e9 o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995585 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:52:50 +00:00
Benjamin Bentmann 8e5e2912ba o Fixed missing delegation to new repo system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995578 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:17:09 +00:00
Benjamin Bentmann ee07bb36d5 [MNG-4788] [regression] Appassembler Maven Plugin doesn't work like as it should
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995272 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 22:40:23 +00:00
Benjamin Bentmann 091cfb1596 o Improved compat with legacy artifact system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992243 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:41:27 +00:00
Benjamin Bentmann 7a9c89b337 o Tweaked stub class to make Guice from within Eclipse more happy
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@991886 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 10:57:43 +00:00
Benjamin Bentmann 2df157de23 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@990787 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 12:36:40 +00:00
Benjamin Bentmann 546399c38d [maven-release-plugin] prepare release maven-3.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@990785 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 12:34:49 +00:00
Benjamin Bentmann 8c13978af5 o Fixed duplicate processig of g:a-level metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@990769 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 11:14:59 +00:00
Benjamin Bentmann e75d39f41a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989402 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 23:13:09 +00:00
Benjamin Bentmann 26dde61f15 [maven-release-plugin] prepare release maven-3.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989400 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 23:11:42 +00:00
Benjamin Bentmann ae04af8e05 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989338 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:14:23 +00:00
Benjamin Bentmann d04d6265e8 [maven-release-plugin] prepare release maven-3.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:12:52 +00:00
Benjamin Bentmann 6c37a89744 [MNG-4756] Aether integration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@988749 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 22:46:07 +00:00
Benjamin Bentmann 44c35b0510 [MNG-4749] Move from Plexus to Guice as IoC container
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@988484 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 11:18:30 +00:00
Benjamin Bentmann 19dec1eff6 [MNG-4755] Version ranges cannot be resolved against mirror if a local artifact is present
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987462 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 11:47:49 +00:00
Benjamin Bentmann 2225bc7bbe [MNG-4765] Failing to determine java version for profile....
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987335 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 22:26:55 +00:00
Benjamin Bentmann ab39d82dd1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@983204 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 10:53:09 +00:00
Benjamin Bentmann 99823b034e [maven-release-plugin] prepare release maven-3.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@983202 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 10:51:26 +00:00
Benjamin Bentmann 8964423d92 o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@979029 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 12:07:42 +00:00
Benjamin Bentmann 5a0e691507 [MNG-4738] DefaultArtifactResolver forks non-daemon threads
Submitted by: Benjamin Hanzelmann

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@979028 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 12:05:32 +00:00
Benjamin Bentmann bcde4d89a4 o Tweaked API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@965131 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 20:50:25 +00:00
Benjamin Bentmann bca95f0f62 [MNG-4729] Mirrors and servers not accessed properly by plugin on a build
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@965101 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 16:19:24 +00:00
Benjamin Bentmann bf4af4c326 o Decoupled test from platform details
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@960854 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:31:49 +00:00
Herve Boutemy 23f2095652 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@958295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 23:16:18 +00:00
Benjamin Bentmann e733004eb1 o Restored backward-compat with Maven 2.x
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@955820 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 02:48:46 +00:00
Benjamin Bentmann 313e5b7761 o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@950626 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:35:38 +00:00
Benjamin Bentmann 9be1144e4e [MNG-4696] [regression] MavenProject.getDependencyArtifacts() misses elements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949801 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:34:51 +00:00
Benjamin Bentmann 6e7b4226e7 [MNG-1803] Provide line number information when there are errors processing a pom.xml
o Merged feature branch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949708 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 10:24:20 +00:00
Herve Boutemy 38d44c6e57 formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949544 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:52:23 +00:00
Benjamin Bentmann 770b6d905f o Fixed tests to account for the discrepancy that OSX has a case-insensitive file system yet java.io.File compares case-sensitively
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@948687 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 06:37:07 +00:00
Benjamin Bentmann 40028e7a18 [MNG-4679] [regression] command line option "-update-snapshots" does not work for dependency:copy-dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@945715 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 15:49:14 +00:00
Benjamin Bentmann 3b1181b87e o Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944470 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:08:59 +00:00
Olivier Lamy 7f42e485ca restore more backward comp.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944465 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 20:59:30 +00:00
Benjamin Bentmann b329fdb4e5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935667 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:55:28 +00:00
Benjamin Bentmann 958b6eced1 [maven-release-plugin] prepare release maven-3.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935664 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:54:05 +00:00
Kristian Rosenvold 95330133d9 [MNG-4633] Fixed weave mode bug when building m3 itself in weave mode.
Updated testcase for MEP.

Also removed all unused/unecessar code from weave mode.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934201 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:23:26 +00:00
Benjamin Bentmann 4d45299116 [MNG-1751] merging metadata doesn't fail when timestamp is in the future
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932406 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 13:35:20 +00:00
Benjamin Bentmann 238f8c02fb [MNG-2994] Snapshot repositories are not checked when using ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932128 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:29:56 +00:00
Benjamin Bentmann 51b1094d1e o Used generated clone() methods
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:10 +00:00
Kristian Rosenvold 83237e46af [MNG-3004] Concurrent building of multimodule projects
This commit consists of a modularization of the DefaultLifecycleExecutor into smaller
components. This is primarily done with the intention of extracting execution strategy 
somewhat from the rest of the logic.

It also contains three differenent execution strategies:
A) Linear ("Classic")
B) Parallel (Based on Dan's original implemementation)
C) Weave (Still experimental) 

 
The command line -T option activates parallel running, and the argument
is in the form -T <[nThreads, a float][C][W]|auto>

Notes:
* The output demultiplexer is disabled in this commit, and output will appear intermingled.
* The modello plugin has known problems
* Surefire must be run in forkmode at least once.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:29:13 +00:00
Benjamin Bentmann 3568227eef o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930204 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:26:57 +00:00
Benjamin Bentmann d425e273a1 [MNG-3470] Build does not fail on corrupted POM even with checksumPolicy=fail
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929985 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 14:16:03 +00:00
Benjamin Bentmann ceef52904f [MNG-4555] mvn archetype:generate -o (offline) still results in a "checking updates from central"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 19:50:06 +00:00
Benjamin Bentmann 14094c260b [MNG-3477] Authentication failures on dependency download aren't reported
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929299 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:26:59 +00:00
Benjamin Bentmann aa68fb033b [MNG-2741] [regression] Meaningless error message: "Error transferring file"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929217 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 18:39:31 +00:00
Benjamin Bentmann 8aba4e9b9b [MNG-4326] Maven should not check snapshot repositories for dependencies in the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928842 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 17:29:24 +00:00
Benjamin Bentmann dfd067b3ed o Refactored code to be more general/clear
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927050 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:26:24 +00:00
Benjamin Bentmann bfaab01874 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921170 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:47 +00:00
Benjamin Bentmann 0c78c31304 [maven-release-plugin] prepare release maven-3.0-alpha-7
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921168 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:22 +00:00
Benjamin Bentmann f2aa8eda8a [MNG-4574] [regression] invoker:install uses wrong local repo path when settings.xml contains wildcard mirror
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@917315 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 23:07:35 +00:00
Benjamin Bentmann dd34e52b56 [MNG-4570] [regression] User/pass from settings.xml is not used during site:deploy
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@917252 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 19:02:04 +00:00
Benjamin Bentmann fe9a21ca81 [MNG-4571] mvn deploy -DaltDeploymentRepository errors out
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@917058 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 22:09:10 +00:00
Benjamin Bentmann 3b35b6222a [MNG-4522] Maven3 doesn't fail build when a pom from transitive dependency can't be found
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902573 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 14:24:34 +00:00
Olivier Lamy cc05cc6320 [MNG-4543] Cleanup tmp files created by DefaultWagonManager
Issue id: MNG-4543


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902298 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:38:34 +00:00
Benjamin Bentmann 9417640359 [MNG-4432] reimplement parallel artifacts download
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900982 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:25:12 +00:00
Herve Boutemy 76178a550f moved some unit-tests to follow tested classes move done in r828793
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900162 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 17:17:02 +00:00
Benjamin Bentmann 574641d86c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896381 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:49:23 +00:00
Benjamin Bentmann 9e8a9af6ad [maven-release-plugin] prepare release maven-3.0-alpha-6
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896377 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:46:24 +00:00
Benjamin Bentmann 103a67cbaf [MNG-4511] API incompatibility in MavenProjectBuilder (Maven-3)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@895035 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 17:11:38 +00:00
Benjamin Bentmann 02e2e6664c [MNG-4368] DefaultArtifactInstaller should only overwrite files if timestamp has changed
o Improved logging to make optimization visible to end-user

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@894349 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:58:04 +00:00
Benjamin Bentmann 9d137583dd [MNG-4368] DefaultArtifactInstaller should only overwrite files if timestamp has changed
o Revised to install upon any difference in file timestamp or length

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@894114 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 23:26:54 +00:00
Benjamin Bentmann c0448b2def [MNG-4500] [regression] Maven checks for updates of timestamped snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@892597 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 14:04:45 +00:00
Benjamin Bentmann 3d94938663 [MNG-4498] Don't fail dependency resolution if one remote repo's metadata is broken
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@891200 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 11:33:42 +00:00
Igor Fedorenko 837eb821f1 [MNG-4494] allow custom ArtifactRepository configuration and implementation
Issue id: MNG-4494


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@891083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:34:19 +00:00
Benjamin Bentmann 6f3130aa4c o Restored backward-compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@888922 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 18:54:41 +00:00
Benjamin Bentmann 7dec7325a9 [MNG-4469] [regression] deploy:deploy-file fails with secured repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@888488 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:12:02 +00:00
Benjamin Bentmann 269c956ea6 [MNG-4474] [regression] Wagon manager does not respect instantiation strategy of wagons
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@885758 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 13:12:56 +00:00
Benjamin Bentmann f957961cb8 [MNG-4470] [regression] Proxies are ignored during artifact deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@884296 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:10:16 +00:00
Benjamin Bentmann 5b75081750 [MNG-3902] Remove visibility MavenProjectBuilder#buildStandaloneSuperProject
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883430 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:40:04 +00:00
Benjamin Bentmann 9adfaf82b5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883378 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:46:44 +00:00
Benjamin Bentmann c23ce88074 [maven-release-plugin] prepare release maven-3.0-alpha-5
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:45:11 +00:00
Benjamin Bentmann 7a5ccb383b [MNG-4461] [regression] No transfer progress during artifact deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@882668 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 18:18:54 +00:00
Benjamin Bentmann 1d14aab24a [MNG-4459] [regression] Effective settings as visible to plugins contain plain text passwords
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@882580 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 14:40:42 +00:00
Benjamin Bentmann 1068ab557c [MNG-4454] Incomplete <parent> element causes NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881784 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 14:08:28 +00:00
Benjamin Bentmann 8b21cd1567 [MNG-4450] [regression] Stub project for missing dependency POMs is not properly created
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881563 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:05:28 +00:00
Benjamin Bentmann 0f465258e5 [MNG-4440] error message should clearly indicate the module that failed, and how to continue
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 21:36:31 +00:00
Benjamin Bentmann 2ae3616c3f o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836256 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 20:15:49 +00:00
Benjamin Bentmann 8e826033a8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835944 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:02:13 +00:00
Benjamin Bentmann f54f1ec409 [maven-release-plugin] prepare release maven-3.0-alpha-4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835941 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:00:22 +00:00
Benjamin Bentmann 42ed0ede91 [MNG-4412] Make legacy entry points to repository system pick offline mode from session
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834919 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 15:46:56 +00:00
Benjamin Bentmann 1acffe2e2b o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834908 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 15:26:46 +00:00
Benjamin Bentmann c10f412029 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834123 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:00:39 +00:00
Benjamin Bentmann 98ab96d19b [maven-release-plugin] prepare release maven-3.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834118 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:55:07 +00:00
Benjamin Bentmann 1ef9a7692b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834106 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:26:12 +00:00
Benjamin Bentmann 7dd84efa0e [maven-release-plugin] prepare release maven-3.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834104 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:24:06 +00:00
Benjamin Bentmann 02cbed3d5a [MNG-4413] [regression] Repositories discovered in dependency POMs are not subject to mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@831282 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 12:24:40 +00:00
Benjamin Bentmann 8c43be9fef o Fixed backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830969 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 14:44:08 +00:00
Benjamin Bentmann 3487e9e506 [MNG-4412] Make legacy entry points to repository system pick offline mode from session
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830281 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 18:17:05 +00:00
Benjamin Bentmann ae7f205ae0 o Fixed legacy support
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830161 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 13:15:39 +00:00
Benjamin Bentmann 20f8323b0a [MNG-4221] Push all repository/artifact related code into a legacy module and create a backward compat layer for external consumers
o Refactored code to make maven-compat depend on maven-core, this got ugly regarding some tests which to a high degree depend on a full-blown repository system

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829934 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 20:16:00 +00:00
Benjamin Bentmann 6e7ef4a045 [MNG-4398] Provide an extension point to track artifact additions to the local repository
o Applied patch from Igor Fedorenko to actually associate events with the originating local repo

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829805 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:03:49 +00:00
Benjamin Bentmann 5160b63bc0 o Changed transfer listener to consequently use the event for data
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828870 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:09:45 +00:00
Benjamin Bentmann 3a89fb086a o Moved Settings out of maven-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828801 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:59:26 +00:00
Benjamin Bentmann 61f428a520 o Moved Artifact and its class closure to a dedicated module
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828793 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:34:20 +00:00
Benjamin Bentmann bb889e5895 o Revised transfer listener to retain resource identity
o Allowed to monitor transfer duration

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828109 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 17:07:39 +00:00
Benjamin Bentmann 658b110eee [MNG-4398] Provide an extension point to track artifact additions to the local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828031 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 14:19:17 +00:00
Benjamin Bentmann 4e3d791eef o Revised transfer listener to provide better feedback
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828026 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 14:17:38 +00:00
Benjamin Bentmann 504f5bca65 [MNG-4186] Provide an exact pointer to documentation specific to each known exception that can occur
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@827792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 21:08:08 +00:00
Benjamin Bentmann 1dac10a618 o Fixed event adapter to pass local file along
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@826867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 23:10:19 +00:00
Benjamin Bentmann 759928f4d0 o Added transfer listener for further downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825494 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 13:40:24 +00:00
Benjamin Bentmann 865134cd8e o Removed duplicate class
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825301 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:48:51 +00:00
Benjamin Bentmann 6821063783 o Added transfer listener for project dependency downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:22:35 +00:00
Benjamin Bentmann 3229076989 [MNG-4204] Remove support for legacy style repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825183 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:39:08 +00:00
Jason van Zyl b6c70ca1f9 o another pass at removing wagon from the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823064 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:32:35 +00:00
Benjamin Bentmann 72755b1ec1 o Fixed dependency scopes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820274 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 14:09:39 +00:00
Benjamin Bentmann 5063731cb6 o Made mirrorOfLayout default to Maven layouts to prevent accidental matches with repos using custom layouts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819742 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 21:30:10 +00:00
Olivier Lamy e2594ad022 add generics.
remove unused imports.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819726 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 20:43:23 +00:00
Herve Boutemy 51b6120810 generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819177 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 17:08:24 +00:00
Herve Boutemy 9ead685350 improved javadoc to explain actual version comparison rules
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819160 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 16:07:44 +00:00
Herve Boutemy 83626b8b03 added test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819001 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 20:35:01 +00:00
Benjamin Bentmann ed18f8b7c6 [MNG-2098] Artifact resolver incorrectly selects repository which doesn't contain the selected version
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@818829 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 12:14:31 +00:00
Benjamin Bentmann f4bd89f38d [MNG-4367] Consider layout for mirror selection
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@818442 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 10:55:59 +00:00
Benjamin Bentmann 4648efa59b o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@818412 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 09:06:46 +00:00
Benjamin Bentmann 340108611d o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816604 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 12:42:03 +00:00
Benjamin Bentmann 5097fd5116 [MNG-4343] maven always checks missing release artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816563 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 09:48:49 +00:00
Benjamin Bentmann ddf8257866 [MNG-4048] Allow to resolve dependencies using version range from reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816180 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:26:10 +00:00
Benjamin Bentmann eeeee17821 o Fixed inconsistent behavior of version getters
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816133 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 10:46:52 +00:00
Benjamin Bentmann 5d459b0c0e [MNG-4361] [regression] command line option "-update-snapshots" does not work
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816002 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 23:07:41 +00:00
Benjamin Bentmann 2dc6a5313c [MNG-4359] [regression] Locally reachable parent POMs outside of reactor are not found during dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815327 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 13:46:52 +00:00
Benjamin Bentmann 4d32ed118d o Generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814888 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 22:24:41 +00:00
Benjamin Bentmann 57b95421a6 o Extended logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814552 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:03:00 +00:00
Benjamin Bentmann 2ff0a41fa8 o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814379 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 19:45:23 +00:00
Benjamin Bentmann 044835055b o Added method to easily check for result of resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814027 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 21:02:34 +00:00
Benjamin Bentmann d8951da832 [MNG-4353] [regression] Plugin dependencies are not downloaded from repos given in the plugin's POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813869 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 15:06:06 +00:00
Benjamin Bentmann ee54ab90f8 o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813810 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 12:43:08 +00:00
Benjamin Bentmann 552a920fb0 o Fixed resolution of transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813805 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 12:31:00 +00:00
Herve Boutemy 388fcd100e fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813604 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:49:53 +00:00
Herve Boutemy 4d3e5b3bdd coding style fix
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813453 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 14:14:16 +00:00
Benjamin Bentmann 07f5ea260a o Exposed getMirror() logic to public clients
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810613 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 17:02:06 +00:00
Benjamin Bentmann 102f4ab603 [MNG-4334] maven core caches settings.xml
o Last pass: proxies moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 10:16:19 +00:00
Olivier Lamy 7ed1358995 restore backward compat (for project-info-reports:dependencies)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810402 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 08:01:25 +00:00
Olivier Lamy 5fecbde92a restore backward compat (for project-info-reports:dependencies)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810397 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 07:51:15 +00:00
Benjamin Bentmann 3c34aa8c14 [MNG-4334] maven core caches settings.xml
o First pass: auth & mirror moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810296 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:49:05 +00:00
Benjamin Bentmann 7ef7751684 o Clarified API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810053 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 13:49:27 +00:00
Benjamin Bentmann 3f6ba89be7 o Simplified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809532 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 10:41:55 +00:00
Benjamin Bentmann 6d604c17c7 [MNG-4331] Add new mojo annotation @requiresDependencyCollection to grab dependency tree without files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809431 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:28:16 +00:00
Benjamin Bentmann 6a41005dd2 o Synced ProjectDependenciesResolver with MSHARED-126
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809365 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 16:09:32 +00:00
Benjamin Bentmann 0234dc7e0e o Simplfied code (no need to check derived and immutable fields)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809322 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 12:13:52 +00:00
Benjamin Bentmann c1a23b8891 o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809054 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 23:01:53 +00:00
Daniel Fabulich 7e24255ab4 [MARTIFACT-19] DefaultArtifactInstaller should only overwrite files if timestamp has changed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808537 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:09:42 +00:00
Benjamin Bentmann 35101ed744 o Restored legacy methods for backward-compat with existing plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807742 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:15:20 +00:00
Benjamin Bentmann 29b30a3249 o Introduced component for metadata parsing to abstract from XPP3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807145 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:47:53 +00:00
Benjamin Bentmann 4f49a5c76e o Improved logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 16:53:53 +00:00
Benjamin Bentmann 1b57686445 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806585 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:04:07 +00:00
Benjamin Bentmann c81959a706 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806538 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:07:32 +00:00
Benjamin Bentmann 68ca923fb5 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805960 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:19:07 +00:00
Benjamin Bentmann 1bf8d76de8 o Restored methods for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805378 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 11:59:58 +00:00
Benjamin Bentmann 6499386f49 o Fixed NPEs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805163 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 21:49:37 +00:00
Benjamin Bentmann 5eaec2f448 o Restored methods for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805122 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 20:17:36 +00:00
Benjamin Bentmann fe9f7fde6d o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805068 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:43:53 +00:00
Benjamin Bentmann b725e30dea [MNG-4305] [regression] ${localRepository.basedir} is not a proper path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805061 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:30:33 +00:00
Benjamin Bentmann 0e1d2e829d [MNG-4293] Extend Mojo API to allow resolution of both compile and runtime dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803422 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 09:33:39 +00:00
Benjamin Bentmann c0f98e60b2 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:52:38 +00:00
Benjamin Bentmann 217c82d26d o Re-added support for offline mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 12:48:14 +00:00
Benjamin Bentmann 24bd8d772f o Introduced RepositoryRequest to hold the bare minimum of items required for repo accesses
o Added cache for metadata.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803059 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:29:38 +00:00
Benjamin Bentmann 483a0d1f90 o Fixed bad protocol & basedir after mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803057 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:24:33 +00:00
Benjamin Bentmann 497a490d0f o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802780 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:12:36 +00:00
Benjamin Bentmann db4d07ea3a o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802778 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:09:40 +00:00
Benjamin Bentmann 09d93a0b6a o Fixed critical performance regression introduced in r801648. The relocation is now grabbed alongside the direct dependencies when we get the resolution group, these bits are stored in the same file and so we can as well process them in one go.
Issue id: o


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 22:17:19 +00:00
Benjamin Bentmann ae33045c96 [MNG-4275] [regression] Direct relocations no longer log at WARNING level : MNG-3380 conflicts with MNG-1689
o Merged from r801437

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801785 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 19:29:18 +00:00
Benjamin Bentmann 95632cef43 [MNG-3769] [regression] Excluding relocated transitive dependencies does not work
o Merged from r736543

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801760 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 18:30:33 +00:00
Benjamin Bentmann 4397321a10 o Extended metadata resolution group to also hold managed version map. This can save us another trip through the project builder when transitively resolving say plugin dependencies. We already need to build the project to grab the direct dependencies so we can as well grab the managed ones while we're there
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801738 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 17:35:15 +00:00
Benjamin Bentmann 026328be02 [MNG-4197] relocation doesn't work in trunk (rev 784345)
Submitted by: Olivier Lamy

o Applied with minor updates to account for recent refactoring

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801648 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 13:48:03 +00:00
Benjamin Bentmann 480dd49f8d [MNG-4281] remote snapshots are prefered over locally installed snapshots in maven3 svn rev 800808
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800922 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 19:05:43 +00:00
Benjamin Bentmann 64f0e9f57b o Fixed exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:57:21 +00:00
Benjamin Bentmann f4fa9e3838 o Refactored model validator to use problem collector
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800451 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:20:06 +00:00
Benjamin Bentmann db0e7f7407 o Fixed URL logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:50:29 +00:00
Benjamin Bentmann a907343a61 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800110 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:21:57 +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 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 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 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 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
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
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
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
Benjamin Bentmann a6f68f3ce5 o Tweaked exception message to be more presice with respect to remote repos
- First, don't eliminate repos with duplicate ids. Duplicate repos should have been merged up-front, if they weren't this is a bug and should be apparent in the diagnostic output
  - Second, be explicit about the case where no repos are defined to distinguish that from the case where the exception creator did not know the repos (==null)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796641 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:31:58 +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 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
Jason van Zyl 1267ef7633 o note about dropping support for legacy repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796329 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 14:55:23 +00:00
Jason van Zyl 4363bdecef MNG-4245: can't access protected mirrors with latest 3.0-SNAPSHOT (rev 795227)
Submitted by: Igor Fedorenko


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795913 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:08 +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 6f6884233d o Fixed injection of repository layouts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795086 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 13:55:31 +00:00
Jason van Zyl 2aa1e07e0b o missing bits
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794821 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 20:05:57 +00:00
Jason van Zyl 3bcaf7ac83 o just making sure the auth bits passed into find their way to be an Authentication object associated with the repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794773 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 18:38:16 +00:00
Jason van Zyl 1ceae0f25e o restoring auth
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794767 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 17:50:29 +00:00
Benjamin Bentmann 433d4bf3b8 [MNG-4239] NoSuchMethodError org.apache.maven.project.inheritance.ModelInheritanceAssembler.assembleModelInheritance(Lorg/apache/maven/model/Model;Lorg/apache/maven/model/Model;)V
o Restored legacy API

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793910 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 14:38:57 +00:00
Benjamin Bentmann 553fce0f1a [MNG-4227] DefaultArtifactVersion equals implementation does not handle null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790712 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:08:35 +00:00
Jason van Zyl f74539ec7f o restored the WagonManager, the archetype system and the nexus indexer both use this directly. doesn't matter we can now support them forever.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790408 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 22:16:29 +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 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 f5f6d6fc47 o Removed duplicate impl that caused non-deterministic component lookups
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790286 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 17:34:37 +00:00
Benjamin Bentmann c117fb1421 o Dump class path order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 17:14:11 +00:00
Benjamin Bentmann 53a2e019ed o Dumped test name to check execution order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790249 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:21:59 +00:00
Benjamin Bentmann aa549e89b0 o Printed the error for better test failure analysis
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:58:08 +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
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
Jason van Zyl ee5dd78bd1 MNG-4221: hide the artifact transformation classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789088 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 11:16:34 +00:00
Jason van Zyl ba289ad502 MNG-4221: First phase of changing the direction of the dependencies so that maven-compat only points toward the core. The core cannot depend on anything in maven-compat.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789077 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:39:49 +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 e3463be3d1 [MNG-2363] <profile><activation><file><exists/> does not work in a multi-project build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788334 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 12:03:55 +00:00
Benjamin Bentmann 1819ca8723 [MNG-4217] trunk create a directory with %20 in name (trunk rev 787409)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787800 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 19:32:05 +00:00
Jason van Zyl c646df62b4 o moving blacklisting up and out of the repository itself
o remove magic policy creation in the artifact implementation, it's already done in the request populator


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787010 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 13:24:04 +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 863135a347 o Include the enabled policy in the log output (just saying "can't resolve X from Y when Y actually contains X is rather confusing...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786909 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:20:46 +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 30ab54bd7b o Restored method for compat with maven-dependency-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786213 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:20:50 +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 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
Olivier Lamy a1d5dfe7af remove unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784307 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 23:01:53 +00:00
Benjamin Bentmann cdf805d662 o Added toString() to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784207 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:28:22 +00:00
Benjamin Bentmann c8a3981a68 o Marked classes as deprecated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782078 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 17:48:30 +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 5787b70567 o adding RuntimeInformation component to the compat package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781203 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:54:18 +00:00
Benjamin Bentmann 057f1e8324 o Gave each model diddling component access to the building request to easy future extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781147 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:17:54 +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 9501ad8835 o Resurrected the path translator component (on this occasion, splitting it to separate the single path translation from the model translation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780698 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:55:41 +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
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 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 90db120ca1 o restoring resolveAlways for Archetype
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779287 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:56:53 +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 49698c0819 [MNG-4172] Project POM artifact returned as dependency if project has no dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778240 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 21:24:57 +00:00
Benjamin Bentmann 8b22b2dffa o Restored original behavior of legacy resolution methods (every client and not just Surefire that calls the old methods expects the root artifact to not be resolved as in 2.x now)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778161 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:35:25 +00:00
Benjamin Bentmann 22b4d0ee5f o Fixed artifact resolver to deliver root artifact first to retain class path order (intermediate update to test, the legacy method being called shouldn't contain the root artifact at all IIRC so needs some investigation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778146 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:35:29 +00:00
Benjamin Bentmann fa03325f35 o Fixed artifact resolver to deliver root artifact first to retain class path order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:16:45 +00:00
Benjamin Bentmann a28bb83b54 o Moved profile manager to compat module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777998 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 19:44:18 +00:00
Jason van Zyl 9efd21d0c9 o restoring several backward compat fixes all the way back to 2.0 ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776895 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 23:28:39 +00:00
Jason van Zyl 5fe9c2748e o this completely sucks but older version of the remote resources plugin binds to a reporting error and all the ITs use an older version of the RR plugin so there's not much i can do but put this back for now until the RR plugin goes through some releases.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776785 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 17:47:22 +00:00
Jason van Zyl 9dfca575c7 o clean lifecycle is handled by defaults populator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776540 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 04:25:59 +00:00
Jason van Zyl 9be598d351 o injecting the metadata sources results in having to do some trickery to break the circular dependency between the components, this
is visible now in the metadata source which shows we need to do some work there as circular deps are pretty sure sign of poor design
o the ProjectClasspathTest has little stub components so I'm not even sure if it's a decent test but it requires a bunch of custom
  implementations as i tried to get rid of the hand written descriptor and have only annotated tests implementations but somewhere
  an incorrect implementations is being injected.

I'll work on breaking the circular dependency and we need a nicer way to inject test implementations, the way the Module works in
Guice is the way to go. We'll bridge the gap until we can switch over to Guice.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776529 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 03:26:51 +00:00
Jason van Zyl 03aef5b15b o we can use the test metadata source that will be injected.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776500 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:39:45 +00:00
Jason van Zyl 3ec487cdbf o creating a test metadata source for the legacy system, getting rid of anonymous instances in tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:39:21 +00:00
Jason van Zyl e0298b7c97 o first pass at setting up error handling for each possible error condition
- this resulted in cleaning up some exceptions in plexus so that they might message could be surfaced in Maven
o move the plugin prefix searching to the lifecycle executor and get it out of the plugin manager
o add capability to the RepositorySystem to get plain resources from a repository. I'm going simple with the repository group
  metadata and I will just get the file directly as the only implementation is the plugin group metadata. the system is 
  not easily or generally extensible so i'll just take what I need



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776412 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:53:07 +00:00
Jason van Zyl 3aac2d6d44 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775299 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:38:50 +00:00
Jason van Zyl 060c6d9784 o all core tests pass again, on to ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774620 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 02:47:02 +00:00
Jason van Zyl de46f2a5fa o bunch more patches from Igor to keep the heap down. junit is just not letting go.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:27:13 +00:00
Jason van Zyl a2ac490107 o another pass the the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774487 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:42:56 +00:00
Jason van Zyl 861244fe51 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774348 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:22:39 +00:00
Jason van Zyl 57ea53e5f5 o only provide one way to construct the request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774334 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:18:37 +00:00
Jason van Zyl b4251c3e16 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774079 13f79535-47bb-0310-9956-ffa450edef68 2009-05-12 20:50:52 +00:00
Jason van Zyl dd1725b131 o adding components to test wagons
o add method to view supported protocols
o add a note to the test to show the lifecycle plan is getting some repeated elements


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773926 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:08:53 +00:00
Jason van Zyl 55ecfa65d6 o implement the find(Artifact) method in the default local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773769 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 02:43:26 +00:00
Jason van Zyl b8c6c01864 o pushing up the dependency downloading logic into the lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773662 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 19:38:34 +00:00
Jason van Zyl 3398024a0f o delegating local repository implementation that chains the reactor and user local repository
o removal of more state from the WagonManager and pushing it into the request in an attempt to bridge the way for Mercury



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 04:08:29 +00:00
Benjamin Bentmann e8a45c2ce3 o Fixed scope handling during transitive dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773258 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 18:33:08 +00:00
Jason van Zyl a73c5abc9c o in the middle of a ReactorArtifactRepository but ben and igor need access so checking in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772832 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 03:24:55 +00:00
Jason van Zyl c6a8b20cba o get rid of the reactor manager to make way for a real reactor that can be a local repository implementation which will prevent the pollution in the metadata source for dealing with projects that are in the current build
o clean up the project sorter
o push the information that was in the reactor manager into the session


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772039 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:09:22 +00:00
Benjamin Bentmann 3659cbd249 o Fixed propagation of POM-level plugin dependencies to the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771481 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 22:41:22 +00:00
Jason van Zyl 36e43b2951 o cleaning up project builder, removed signatures that i've corrected in the RR plugin, moved properties injection up to the main Maven component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 18:49:42 +00:00
Jason van Zyl d993c66b23 o resolving dependencies of a root artifact is now the job of ... the artifact resolver!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769969 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:22:57 +00:00
Jason van Zyl 49c287754d o pushing my changes back in with shane's
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769580 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:04:24 +00:00
Britton Isbell d2bbf510f9 Param check in artifact utils.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769557 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:46:43 +00:00
Britton Isbell d8e77e29b8 Removed references to MavenProject.injectPlugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769467 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:09:36 +00:00
Jason van Zyl 54d0418185 o push in changes to sync up with shane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 15:43:01 +00:00
Jason van Zyl a14dd02e93 o more meshing of trunk and my branch, two tests that are out of sync
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768832 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 23:51:09 +00:00
Jason van Zyl 04760f2e69 o remove debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768725 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:43:35 +00:00
Jason van Zyl 3d0338e0ea o remove debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768724 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:41:46 +00:00
Jason van Zyl d94c0e791a o get rid of debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768722 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:39:27 +00:00
Jason van Zyl 755afec417 o the component discovery is not exposed outside the plexus core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768721 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:34:19 +00:00
Jason van Zyl 5d7758b358 o pull from trunky dunk dunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl 0f70fd4a0f o working creating a clean path of plugin resolution logic, and separting report processing from plugin processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:18:36 +00:00
Jason van Zyl 0bf25e64d8 o adjusting the internals to deal with root-based resolution
o gross hack to work around someone hardcoding a dummy:dummy root artifact in the surefire plugin



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:28:59 +00:00
Jason van Zyl ecb1bfe2fd o found another untested path way which i'll make another test for tomorrow. executing one mojos work, but when stringing
them together the optimization I'm trying to make for incremental support fails.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753142 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 07:12:21 +00:00
Jason van Zyl 5678f17198 o nuke another big chunk of the old code, looking for available versions is used internally and once all the methods are shed we'll supply a pure metadata resolution for clients, like IDEs, that need to nicely show versions. we'll also provide a graph too so people aren't going to have to do all the extra crap to get decent information.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751036 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:57:41 +00:00
Benjamin Bentmann fc0d7461dd o Fixed log message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750938 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 15:12:07 +00:00
Benjamin Bentmann 7f16ba74d7 o Fixed NPE in plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750917 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 14:30:01 +00:00
Benjamin Bentmann ba677b1fb9 o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750906 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 14:03:38 +00:00
Jason van Zyl f4ec59594c o remove more methods to the repository system, starting to get close to the final set of methods and then we can move on to the classes of the binding to the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 01:25:43 +00:00
Jason van Zyl b9f9244f5f o fixed mirror code
o more plugin manager wrangling


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750568 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 19:59:06 +00:00
Benjamin Bentmann 013f3adab5 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750471 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 15:06:27 +00:00
Benjamin Bentmann 4e402106f2 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:58:32 +00:00
Benjamin Bentmann afa3b93e09 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750468 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:47:35 +00:00
Benjamin Bentmann a27e6457b4 o Added debug logging for mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:03:21 +00:00
Benjamin Bentmann 8ea9a241b6 o Fixed missing propagation of authentication info to the wagon manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750444 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:46:41 +00:00
Benjamin Bentmann 81b95fde8a o Removed debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750434 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:09:21 +00:00
Benjamin Bentmann 205d7a6f48 o Added temporary debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 11:58:18 +00:00