Commit Graph

672 Commits

Author SHA1 Message Date
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
Jason van Zyl 7d00c7923c o adding ProjectUtils to the list of things required in the wild
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726936 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 03:32:44 +00:00
Jason van Zyl 2f6a2dc066 o ProjectUtils is also used in the remote-resources-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726935 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 03:32:22 +00:00
Jason van Zyl 15da8b59b0 o move the path translator to the maven-compat package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726744 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 17:48:53 +00:00
Jason van Zyl ed32ed5ff0 o making a note about the PathTranslator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726743 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 17:45:10 +00:00
Herve Boutemy 48d853ad6e [MNG-3898] use models attribute of modello-maven-plugin instead of model (merged from 2.0.x branch r726548)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:07:08 +00:00
Jason van Zyl 6d5eab14f6 o remove aspectj
o update compat log with CLI changes
o update everything to release versions, we have no snapshots anymore


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726521 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:51:59 +00:00
Jason van Zyl d589ac5072 o generating annotations from the javadoc in maven-compat, no point in converting to annotations, we'll take what's
there and leave it at that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721950 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 02:49:21 +00:00
Jason van Zyl 5d81258b34 o generating the descriptor from the javadoc sources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721949 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 02:47:46 +00:00
Benjamin Bentmann be548d862f o Tweaked source to compensate for bug in QDox's parser
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721900 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 21:28:43 +00:00
Britton Isbell 6310c2e473 Putting this back in. Should work.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721898 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 21:20:29 +00:00
Britton Isbell 784f6d10e7 Removed comment that was causing compile error.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721897 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 21:12:35 +00:00
Jason van Zyl 2b66d03796 o deprecate this component, the model properties-based system will replace this
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721885 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 20:06:57 +00:00
Jason van Zyl 8ed1aa0e20 o deprecate ModelUtils, all of this will be taken care of by the model properties-based system.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721884 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 20:06:16 +00:00
Jason van Zyl 853940402d o notes on maven artifact's removal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721882 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 19:57:15 +00:00
Jason van Zyl 8dd21f8db6 o transfer notes about compatibility to a confluence document, we'll eventually use idiom to generate the new site. no more
site plugin for me.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721877 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 19:38:09 +00:00
Jason van Zyl 8532f36055 o set the header to 3.0-alpha-1, we'll wire this in with mercury in alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721770 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 06:40:43 +00:00
Benjamin Bentmann 1927fa4ddf o Stabilized tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721713 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 20:38:27 +00:00
Britton Isbell 7b974639d5 Throw illegal argument, not NPE.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721640 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:27:02 +00:00
Jason van Zyl 8b655a1456 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721616 13f79535-47bb-0310-9956-ffa450edef68 2008-11-29 02:40:55 +00:00
Jason van Zyl 18bd5395e1 o redeployment will be taken care of in mercury and most repomans take care of this already.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721352 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 06:15:34 +00:00
Jason van Zyl aba2b12837 MNG-3876: Add in the maven-artifact code so we can start creating facades and back it with mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 22:32:16 +00:00
Jason van Zyl c418d12814 o primarily refactoring in part for the preparation making room for mercury and processing events from maven-shared-model
o add plexus component descriptor generation to the bootstrap so we can start removing the hand-written descriptors and start
  using annotations everywhere



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 07:11:35 +00:00
Britton Isbell 3fb0c8514f Fixed pom to correct snaphost dependency version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718303 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 18:00:22 +00:00
Jason van Zyl 56986ca004 o use the class lookup method which will now automatically partition lookups based on the class
submitted by: Dain Sundstrom



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717964 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 02:38:13 +00:00
Jason van Zyl 7f70506c55 o prepare the compat module for dynamic component generation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700761 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 13:13:51 +00:00
Jason van Zyl b6c2132bc7 o merging from my branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699806 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 12:16:53 +00:00