Commit Graph

1052 Commits

Author SHA1 Message Date
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
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
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
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
Britton Isbell b954b833e5 [MNG-3906] - Project-level plugin dependencies order. Fixed a lot of problems with ordering of elements. We need to assume that the processors always get the parent model first, then the child, down the line.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757936 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 18:24:56 +00:00
Benjamin Bentmann 60f3a9b0cb o Added missing processors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757927 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 18:02:05 +00:00
Benjamin Bentmann f5c0ef6ecc o Marked potential performance problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757900 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 16:48:29 +00:00
Benjamin Bentmann 1f1ef561e5 [MNG-4106] [regression] Interpolation does not use properties from dominant settings profile if other profile defines same property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757584 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 23:04:15 +00:00
Britton Isbell 81048a856e [MNG-3846: Inherited URLs are not automatically extended with the child's artifactId]
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757543 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 21:06:00 +00:00
Benjamin Bentmann 1123131b32 o Fixed typos in expression
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757540 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:42:31 +00:00
Benjamin Bentmann f4d71c3b48 [MNG-4102] [regression] Properties used for interpolation of inherited properties can't be customized by child
o Extended UT to check interaction with profile injection as well which is apparently key to reproduce the issue
o Removed interpolation step after profile injection to fix issue

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757534 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:35:43 +00:00
Britton Isbell 9886cb18cd Fixed plugin dependency ordering.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757526 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:09:24 +00:00
Britton Isbell 1c35174120 [MNG-2309] - Profile activation order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757491 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 18:35:53 +00:00
Britton Isbell 0f8624c297 [MNG-4102] -Properties used for interpolation of inherited properties can't be customized by child. [BUG] - override property in profile.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757485 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 18:19:37 +00:00
Benjamin Bentmann 4b3dcfac94 [MNG-4102] [regression] Properties used for interpolation of inherited properties can't be customized by child
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757263 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 22:06:42 +00:00
Benjamin Bentmann 76f692cc5e o Added UT to exhibit properties inheritance issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757260 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 21:30:37 +00:00
Benjamin Bentmann 7d4a6c3ca7 [MNG-2309] Profile activation order is random
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757197 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 15:10:33 +00:00
Benjamin Bentmann ca9d6e96b9 [MNG-3846] [regression] Inherited URLs are not automatically extended with the child's artifactId
o Extended UT to test deeper inheritance hierarchy

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757168 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 10:37:56 +00:00
Benjamin Bentmann 2783afc4bf o Added another test to exhibit inheritance issue
o Removed task tags for resolved issues

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756992 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 19:12:42 +00:00
Benjamin Bentmann e8636ac8a7 o Extended test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756981 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 18:22:34 +00:00
Benjamin Bentmann e7eeaba62a o Added contributor/developer processors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756980 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 18:10:28 +00:00
Britton Isbell 609077e2b4 Various bug fixes to model building.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756975 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 17:36:34 +00:00
Benjamin Bentmann cdf874b056 o Made test more interesting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756972 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:54:26 +00:00
Benjamin Bentmann ae7807628f o Extended test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756971 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:51:54 +00:00
Benjamin Bentmann 75d79fc063 o Fixed dependency processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756964 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:23:09 +00:00
Benjamin Bentmann 16fa8c1dbd o Fixed prerequisite processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756962 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:07:44 +00:00
Benjamin Bentmann 1229d17047 o Fixed distribution management processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756961 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:05:43 +00:00
Benjamin Bentmann c6a9c40b9d o Fixed SCM processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756959 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 15:47:19 +00:00
Benjamin Bentmann 5ad39cbf47 o Fixed URL processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756956 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 15:34:11 +00:00
Benjamin Bentmann 7616e8e539 o Fixed site URL adjustment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756941 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 14:04:59 +00:00
Benjamin Bentmann 52d552f324 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 12:14:15 +00:00