Commit Graph

344 Commits

Author SHA1 Message Date
Kristian Rosenvold 80e01fea5b Reverted 1a1fe6d508 to make things workproperly on java5/windows 2013-02-27 07:27:43 +01:00
Hervé Boutemy 3849bbd46a fixed errors reported by Checkstyle 2012-12-16 21:49:18 +01:00
Hervé Boutemy b63904c9db fixed errors reported by Checkstyle (once again...) 2012-12-03 02:21:58 +01:00
Hervé Boutemy 543870467f fixed errors reported by Checkstyle 2012-12-02 20:22:52 +01:00
Kristian Rosenvold 1a1fe6d508 o Made lower bound of executor threads 0 for artifact resolver
Ideally I think we should just get rid of the whole executor and use new Thread() instead,
which would mean we'd need some way of constraining thread counts.

Freeing the threads mean they also release the classloader
2012-12-01 10:56:53 +01:00
Kristian Rosenvold e8df4ca993 o Restored old context classloader so the threads dont go running around with classloaders that should unload 2012-11-30 07:33:28 +01:00
Herve Boutemy 994a27d004 removed code duplication: maven-core can use base MavenRepositorySystemSession provided by maven-aether-provider as a basis before adding environment configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407851 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 17:14:21 +00: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
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
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
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