Commit Graph

446 Commits

Author SHA1 Message Date
Benjamin Bentmann 3df76ee227 Fixed auth retrieval 2012-09-30 21:09:51 +02:00
Benjamin Bentmann 42536ce88f Accounted for refactoring of aether-api 2012-09-30 17:37:09 +02:00
Benjamin Bentmann 2838745156 o Accounted for refactoring of aether-api 2012-09-17 00:05:23 +02:00
Milos Kleint 4fcfcb8f73 MNG-5306 : introduce ModelProblemCollectorRequest and a new ModelProblem property - version which denotes on which validation level the error/warning applies. Additionally move the logic on failing the ModelBuilding from ModelProblemCollector to ModelBuilder's protected method to allow overriding. Default maven behaviour should stay the same.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1357589 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:11:15 +00:00
Benjamin Bentmann 02927ead50 o Accounted for refactoring of aether-api 2012-03-11 23:18:43 +01:00
Herve Boutemy a2b01be028 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1243037 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 11:55:03 +00:00
Herve Boutemy a7ef4d4da0 improved javadoc: added pointer to equivalent Maven 3 API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1243031 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 11:41:08 +00:00
Benjamin Bentmann 298403bed3 o Accounted for refactoring of aether-api 2012-01-15 18:36:21 +01:00
Benjamin Bentmann 2592e158ad o Accounted for API refactoring 2012-01-01 20:05:13 +01:00
Benjamin Bentmann 18b81002cd o Accounted for API refactoring 2011-12-30 22:16:02 +01:00
Benjamin Bentmann 82b345e009 o Migrated to Eclipse Aether 2011-12-30 21:43:28 +01:00
Olivier Lamy c15263a465 [MNG-5201] upgrade aether to 1.13 and sisu to 2.3.0 .
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1203182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:34:33 +00:00
Olivier Lamy 0cc2c9b227 [MNG-5201] upgrade aether to 1.13 and sisu to 2.3.0 .
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1203182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:34:33 +00:00
Benjamin Bentmann 0721322d4e [MNG-5149] DefaultArtifactRepositoryFactory.createArtifactRepository overload w/ layoutId passes wrong (repo) id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1154138 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 09:26:18 +00:00
Herve Boutemy 799d63bf87 [MNG-5119] added Javadocs and JXR links in left menu for every module to give easy access to code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1137154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 10:00:46 +00:00
Benjamin Bentmann e2ad36018b [MNG-5046] Remove $Id$ from sources
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1084807 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 23:30:11 +00:00
Benjamin Bentmann 089a9f8d5f o Restored runtime compatibility with plugins that implement custom ArtifactRepositoryLayouts (e.g. appassembler-maven-plugin). The method getId() was added in 3.0 and as such is not implemented by those custom impls. The refactoring done in r1073990 for MNG-4991 eventually made this discrepancy show up during plugin execution.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1075309 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 12:07:53 +00:00
Benjamin Bentmann 3c37fb7071 o Enabled request tracing for repository events to provide more context for event spies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1074195 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 16:06:26 +00:00
Benjamin Bentmann 150984b867 [MNG-4991] LegacyRepositorySystem#injectProxy(repositories, proxies) doesn't evaluate non-proxy hosts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073990 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 23:47:21 +00:00
Benjamin Bentmann ed12e0a541 [MNG-4990] RepositorySystem#resolve(request) uses two different local repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073928 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:25:29 +00:00
Benjamin Bentmann 18e7366753 [MNG-4963] [regression] Parent POM not downloaded when settings define global mirror and one snapshot repo but no other release repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073714 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:06:20 +00:00
Benjamin Bentmann 40b6533b01 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073703 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 11:47:12 +00:00
Igor Fedorenko e8f8fdbadc MNG-4988 API to calculate execution plan without full mojo execution configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1061589 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:52:20 +00:00
Benjamin Bentmann 7bc1814003 o Fixed svn props
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1061325 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:52:52 +00:00
Benjamin Bentmann f455bcef5c o Updated to aether:1.9
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055552 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 17:45:07 +00:00
Benjamin Bentmann 40fb1880ae [MNG-4840] Prerequisites is not working on m3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055174 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 20:32:41 +00:00
Benjamin Bentmann 469d0096fd [MNG-4933] With a resource directory as . maven raise an java.lang.StringIndexOutOfBoundsException:217
o Aligned code with r1050425 of https://svn.apache.org/repos/asf/maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
o Fixed special case of path=${basedir} to yield valid/non-empty path "."

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1054712 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 19:11:36 +00:00
Benjamin Bentmann 8cbfa31252 o Restored API backward compat with 2.x and polished some code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1054693 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 17:51:24 +00:00
Benjamin Bentmann 79f5492d46 [MNG-4923] [regression] java.lang.ClassNotFoundException: org.apache.maven.artifact.ArtifactStatus
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1041800 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 13:22:54 +00:00
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 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 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 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 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 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 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 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 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
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
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 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 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 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 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 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 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