Commit Graph

327 Commits

Author SHA1 Message Date
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