Commit Graph

76 Commits

Author SHA1 Message Date
Benjamin Bentmann 012a6447c8 o Reused the error handling component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750043 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 15:13:07 +00:00
Benjamin Bentmann 96c06c4f1b o Added back some code to actually throw exceptions and abort the normal control flow in case artifact resolution fails
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750029 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 14:51:24 +00:00
Benjamin Bentmann 1971bae2f0 o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 13:37:24 +00:00
Benjamin Bentmann 9b6716c552 o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 12:38:00 +00:00
Benjamin Bentmann 5ad4dc1cc6 o Restored compat with 2.x where the root is not resolved for ArtifactResolver.resolveTransitively()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749968 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 11:35:58 +00:00
Jason van Zyl beedf0cf7b o restore profile manager location so that the site plugin works ...
o teach the resolution to understand when the root is local with a file present versus retrieving the root as well          


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 06:58:09 +00:00
Benjamin Bentmann b3d226a90b o Pushed online network state down into artifact resolver where it actually matters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749788 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:06:49 +00:00
Jason van Zyl a5fc1cfb14 o fix the mirroring code
o restore ArtifactResolver.resolve( artifact, remotes, local ) for the rr plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:56:42 +00:00
Benjamin Bentmann c9514a39f5 o Fixed ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749595 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 12:25:22 +00:00
Jason van Zyl 3b31023865 o if there was no metadata resolved then don't try to resolve artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749535 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 05:35:38 +00:00
Jason van Zyl 8fede74822 o adding backward compat for Surefire
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749494 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:33:58 +00:00
Jason van Zyl 781d7091cb o further culling fields from the resolution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749484 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:14:44 +00:00
Jason van Zyl cfbb4c4f54 o clean up unused methods in the resolution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749480 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 23:58:51 +00:00
Jason van Zyl 47971a16a1 o fixing failing project building tests as a result of consolidating the artifact resolution code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 22:40:17 +00:00
Jason van Zyl 92a962c9e1 o fixes for failing tests, there is much confusion between metadata and artifacts, requests made and real values returned.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:01:37 +00:00
Jason van Zyl 613253dda7 o trying to use the request/result pattern everywhere
o remove another use of ResolutionGroup in the core
o remove all the deprecated methods in the resolver, we'll see what breaks and we'll restore in maven-compat


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749407 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 18:42:31 +00:00
Benjamin Bentmann 929016ddf9 [MNG-4059] Remove support for non-unique SNAPSHOT deployments
o Made uniqueVersion default to true

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 15:23:11 +00:00
Benjamin Bentmann 5f3b5c9b02 o Added note about WagonManager compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749314 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 14:29:46 +00:00
Jason van Zyl d0caac9402 o adding default constructor and one for the single artifact resolution request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749086 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:35:02 +00:00
Benjamin Bentmann 54da0f4c95 o Mentioned dropped support for profiles.xml as per r748226
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749069 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 18:17:39 +00:00
Benjamin Bentmann 727cedca81 o Mentioned dropped support for uniqueVersion=false as per r747652
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 18:08:55 +00:00
Herve Boutemy c5571a0c78 used http://maven.apache.org/xsd/* for schema location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 08:55:40 +00:00
Jason van Zyl 4aea96aeb2 o use the artifact resolution request/result method to remove another couple methods from the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747658 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:55:59 +00:00
Jason van Zyl 2862516673 o trim out buildArtifactRepositories( Model )
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747639 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 01:27:15 +00:00
Benjamin Bentmann 87b687615b [MNG-3193] The skin does not exist: Unable to determine the release version
o Merged from r747468

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747536 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 20:25:31 +00:00
Jason van Zyl 41001b509d o removed all but one component reference of the legacy artifact code in the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746430 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 02:46:14 +00:00
Jason van Zyl a8cd789425 o first push of a plug point for repository/transport in maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746285 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:27:27 +00:00
Herve Boutemy 3d52a23b10 o upgraded Modello version to 1.0
o improved models to use Modello new features (merged from 2.1.x branch r745216)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:46:38 +00:00
Jason van Zyl dd564ae3bd o use annotations for the remainder of the maven-artifact code
o update to latest release of plexus which fixes super/subclass annotation processing



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743174 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 00:05:47 +00:00
Benjamin Bentmann 7397cc69d6 [MNG-3951] Hide drive-relative paths from plugins
o Merged from r739385

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739735 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:44:19 +00:00
Jason van Zyl ed4f594ac4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739478 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:48 +00:00
Jason van Zyl 13fa00ea3f [maven-release-plugin] prepare release maven-3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739476 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:37 +00:00
Jason van Zyl 557f0a5373 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738777 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:13:04 +00:00
Jason van Zyl 7f54cfff61 [maven-release-plugin] prepare release 3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738775 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:12:48 +00:00
Brian E Fox 9c7e082906 MNG-3974 - stop on first mirror pattern match (fix to handle repeated entires)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733071 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 15:50:31 +00:00
Brian E Fox 6034e26622 MNG-3974 - stop on first mirror pattern match
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@733063 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 15:34:41 +00:00
Jason van Zyl cfbcba22a8 MNG-3586: system scope is working again, the IT does not appear to work on OS/X. Both 2.0.9 and this snapshot fail the first test of the IT. Brian helped me verify and on Windows with 2.0.9 and this snapshot both tests pass.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732929 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 05:34:14 +00:00
Jason van Zyl 481cde5756 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731333 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:28 +00:00
Jason van Zyl 6991c79e34 [maven-release-plugin] prepare release maven-3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731331 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:05 +00:00
Jason van Zyl 96ad021c1d o notes about the RuntimeInfo class and the Settings object used in the release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731276 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:41:15 +00:00
Jason van Zyl bfe3cbf4e9 o the release plugin manages to somehow get its own instance of a Settings so the SettingsAdapter which I use everywhere else gets used except in the release plugin so I have to jack back in the hardcoded RuntimeInfo until I figure out why. not a big deal, i'll list it in the compatibility notes. on another note if you start the release process using release:prepare and it fails, you make code changes, it will happily let you continue and not check the status again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731273 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:32:19 +00:00
Jason van Zyl cc38a455f7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731271 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:29:07 +00:00
Jason van Zyl bab3480d4b [maven-release-plugin] prepare release 3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731269 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:28:42 +00:00
Jason van Zyl ac091b558c o adding some capatibility for plugins and components that use settings directly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731172 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 04:42:36 +00:00
Jason van Zyl ab9347bc76 o there is a subtle realm problem with plexus and under certain conditions (release deploys) the wagon manager used to populate auth info is not the same as used by the wagon manager. this is fixed in subsequent releases of plexus but i'm not testing everything again so i'm using a static map as a work around. when alpha-1 is released i'll bump the version of plexus and test again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@730868 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 23:35:29 +00:00
Benjamin Bentmann 6a3afa1c46 [MNG-1349] openssl checksums are not accepted by maven
o Merged from r730631

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@730635 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 23:14:07 +00:00
Benjamin Bentmann 970065b4bd [MNG-3424] Respect ordering of elements as given in POM
o Merged from r708871

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@730079 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 09:33:02 +00:00
Britton Isbell 807bb6ddc7 Fix: Unable to resolve parent pom that is a snapshot. Added policies from config during build. Also fixed bug in ArtifactPolicySnapshots, allowed override of default policies with a null value.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728090 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 18:21:37 +00:00
Jason van Zyl ff09f5beb7 o remove MissingRepositoryElementException from the core and just leave in compat
o make the project builder's read from path use a file instead of a input stream


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726942 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:10:14 +00:00
Jason van Zyl 805b15fea2 o we need the exception used by ProjectUtils as well ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726937 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 03:52:21 +00:00