Commit Graph

7361 Commits

Author SHA1 Message Date
Oleg Gusakov d09a7f307b some javadocs for the new metadata-only call in the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761488 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 00:17:31 +00:00
Benjamin Bentmann 7a19b6bd5a [MNG-3714] Allow specification of the toolchains.xml location on the command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761401 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:43:55 +00:00
Benjamin Bentmann d148da84da o Fixed path normalization/alignment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761356 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 17:48:00 +00:00
Britton Isbell 38e8586852 Collapsed methods, moved logic for active profiles from ProjectBuilder to ProfileContext.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761121 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 00:30:00 +00:00
Britton Isbell 421732b443 Further cleanup of maven project APIs.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761112 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 00:04:51 +00:00
Britton Isbell bd45240fe2 Don't need model in signature for active profiles.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761108 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 23:21:57 +00:00
Britton Isbell 553c6822f6 Added file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761106 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 23:10:00 +00:00
Britton Isbell e2b3bace10 [MNG-4107] ser settings can't override properties used for POM interpolation. Cleaned up the interpolation code and the MavenProjectBuilder impl. Building and interpolation is now more clearly separated.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761104 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 23:05:27 +00:00
Oleg Gusakov 0ee06712ba Mercury repo system impl - nicer UT code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@761096 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 22:39:55 +00:00
Oleg Gusakov c1dccef19a Mercury repo system impl - enhanced UT for resolved tree
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760983 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:51:07 +00:00
Oleg Gusakov 86dbe01590 Mercury repo system impl - enhanced UT for resolved tree
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760982 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:50:50 +00:00
Oleg Gusakov 089f86d804 Mercury repo system impl does return a resolved tree as a graph. UT works
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760981 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:45:55 +00:00
Oleg Gusakov 6ab1ab8389 started adding tree resolution to Mercury repo system impl
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760790 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:19:10 +00:00
Oleg Gusakov 860c7e04c0 added tree-based resolution result to request/response
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760781 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 04:49:10 +00:00
Oleg Gusakov 790ecaa7bf added tree-based resolution result to request/response
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760703 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 22:42:28 +00:00
Britton Isbell 8e004afe5f Fixed settings profile activation for maven plugins. Cleaned up project builder. Unit Tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 21:07:56 +00:00
Oleg Gusakov 30053a1000 generalized tree into graph
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:33:24 +00:00
Oleg Gusakov bb33172f47 added tree-based resolution objects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760594 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:30:29 +00:00
Oleg Gusakov 0781fa0026 added tree-based resolution result to request/response
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760575 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 19:44:33 +00:00
Oleg Gusakov f36831147b added tree-based resolution result to request/response
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760573 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 19:36:53 +00:00
Britton Isbell 5233029d4e Test for setting profile properties.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760229 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 23:07:33 +00:00
Britton Isbell 8a31c1a381 Setup test classes for testing of pom construction with settings. Tried to use test-jar type to reuse classes but the causes some lost dependencies in eclipse. Just duping classes for now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@760207 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 22:33:11 +00:00
Benjamin Bentmann 136bac419e [MNG-4116] [regression] Effective POM contains invalid URLs upon usage of percent-encoded characters
o Fixed by reverting r759364 (the issue meant to be fixed was a Wagon issue, not a POM issue)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759729 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 17:18:39 +00:00
Benjamin Bentmann bd263f7da7 o Updated to wagon:1.0-beta-5 for parity with Maven 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759573 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 20:12:10 +00:00
Benjamin Bentmann aded054d76 [MNG-2387] <active> on <proxy> in settings is misleading
o Merged from r747683

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759552 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:02:38 +00:00
Benjamin Bentmann ccdd99b5c6 o Fixed propagation of proxy settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759550 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:57:11 +00:00
Britton Isbell 28d05ee6d4 Descriptions inherited. Modified API to add listeners to processors. Still need to modify the listener API as weell.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759482 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 15:16:40 +00:00
Britton Isbell 3cfbbb52c6 Fixed empty scm tag being add to pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759417 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 02:01:18 +00:00
Britton Isbell e81caca85f [MNG-0479] unable to override the default central repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759383 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 23:03:38 +00:00
Britton Isbell 334c95d85e [MNG-4087] decoding project urls.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759364 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 21:52:08 +00:00
Britton Isbell bdf651f694 [MNG-2006] - Module SCM URL resolution -relative path. Brought scm path behavior inline with Maven 2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759354 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 21:13:45 +00:00
Britton Isbell 60c1b6f7b6 [MNG-3621] -site url inheritance broken for UNC paths
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759192 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:15:25 +00:00
Britton Isbell 5d0b74b0a4 Fixed pom profile activation issues. Added support for hooking up latest builder into Mercury.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@759145 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 14:17:08 +00:00
Oleg Gusakov 5a5185c04a removed unnecessary fields
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758829 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 20:11:07 +00:00
Oleg Gusakov 64d686236f added tree representation for resolution APIs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758827 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 20:09:08 +00:00
Britton Isbell a5dfd7f338 [MNG-3680] - POM validation fails on projects in repo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:23:53 +00:00
Britton Isbell 49508f67ad [MNG-3899] - Inheritance does not merge extensions with same gid and aid
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758487 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 00:50:45 +00:00
Britton Isbell 0a68cca3ef Removed unneeded test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758477 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 00:20:13 +00:00
Britton Isbell a71841e776 Fixed profile activation for profiles in pom. Profile injection was causing double injection of some elements from plugin mng. Partial fix.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 00:06:09 +00:00
Benjamin Bentmann ff898bffd3 [MNG-2591] Plugins are merged incorrectly
o Extended UT to exhibit negative side-effects of profile injection

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758436 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 21:06:56 +00:00
Britton Isbell 9ce8c65d58 Unit test for reporting plugin config.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758358 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:28:34 +00:00
Britton Isbell d2c1d1e42e [MNG-3811] - Report plugins don't inherit configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758357 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:26:55 +00:00
Britton Isbell 72c4417369 [MNG-3938] - Plugin executions with default id are not always merged. Had previously changed the id to default-execution-id to make default clearer. Some tests had changed this value, others had not. Brought back inline with Maven 2.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758338 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 16:40:21 +00:00
Britton Isbell 2ca25b29fa t07 and t10 unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758127 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 02:16:16 +00:00
Britton Isbell f5167ad05a Unit test was incorrect. Fixed it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 01:41:14 +00:00
Britton Isbell fc83f1f70b [MNG-2591 - Plugin config inheritance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758121 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 01:39:38 +00:00
Benjamin Bentmann 98ed6538fa o Used the same code path for testing as a real build would use to reduce discrepancies between ITs and UTs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757983 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 19:47:02 +00:00
Benjamin Bentmann 8b690bebfa o Made the models valid
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 19:45:06 +00:00
Benjamin Bentmann acdc5f96c5 o Used the same code path for testing as a real build would use
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757967 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 19:21:44 +00:00
Britton Isbell 1a294dff09 Fixed some problems with inheritance of resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757965 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 19:14:42 +00:00