Commit Graph

497 Commits

Author SHA1 Message Date
Herve Boutemy f1aa5485a4 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@957006 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 20:10:57 +00:00
Herve Boutemy 38d44c6e57 formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949544 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:52:23 +00:00
Olivier Lamy 2e4a9ecf26 restore more backward comp.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944477 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:17:31 +00:00
Benjamin Bentmann b329fdb4e5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935667 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:55:28 +00:00
Benjamin Bentmann 958b6eced1 [maven-release-plugin] prepare release maven-3.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935664 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:54:05 +00:00
Benjamin Bentmann 238f8c02fb [MNG-2994] Snapshot repositories are not checked when using ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932128 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:29:56 +00:00
Herve Boutemy 70b0756d31 little code improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932035 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:01:20 +00:00
Benjamin Bentmann 5ffd89030c [MNG-3092] Version ranges with non-snapshot bounds can contain snapshot versions
Submitted by: Mark Hobson

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:37:42 +00:00
Benjamin Bentmann ed256dc2e8 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:35:42 +00:00
Benjamin Bentmann dfd067b3ed o Refactored code to be more general/clear
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927050 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:26:24 +00:00
Benjamin Bentmann bfaab01874 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921170 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:47 +00:00
Benjamin Bentmann 0c78c31304 [maven-release-plugin] prepare release maven-3.0-alpha-7
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921168 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:22 +00:00
Kristian Rosenvold a1438752da Fixed safe publication issue in DefaultArtifact, re-changed CopyOnWriteArraySet to unmodifiableSet
Verified the existence of unsafe publication regarding file and resolved attributes in DefaultArtifact.


Revised earlier change to strengthen intended focus on immutability of HashSet 

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@908650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 19:52:07 +00:00
Herve Boutemy 81f9a09a34 [MNG-2281] 1.0-beta-3 should be < 1.0-SNAPSHOT: forgot some unit tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 18:22:11 +00:00
Herve Boutemy f0fcef7e67 [MNG-2281] 1.0-beta-3 should be < 1.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900164 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 17:31:30 +00:00
Herve Boutemy 76178a550f moved some unit-tests to follow tested classes move done in r828793
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900162 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 17:17:02 +00:00
Benjamin Bentmann 574641d86c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896381 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:49:23 +00:00
Benjamin Bentmann 9e8a9af6ad [maven-release-plugin] prepare release maven-3.0-alpha-6
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896377 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:46:24 +00:00
Igor Fedorenko 837eb821f1 [MNG-4494] allow custom ArtifactRepository configuration and implementation
Issue id: MNG-4494


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@891083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:34:19 +00:00
Benjamin Bentmann 9adfaf82b5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883378 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:46:44 +00:00
Benjamin Bentmann c23ce88074 [maven-release-plugin] prepare release maven-3.0-alpha-5
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:45:11 +00:00
Benjamin Bentmann 8e826033a8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835944 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:02:13 +00:00
Benjamin Bentmann f54f1ec409 [maven-release-plugin] prepare release maven-3.0-alpha-4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835941 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:00:22 +00:00
Benjamin Bentmann c10f412029 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834123 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:00:39 +00:00
Benjamin Bentmann 98ab96d19b [maven-release-plugin] prepare release maven-3.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834118 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:55:07 +00:00
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 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 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
Jason van Zyl ddb8bb1f49 o maven-artifact deployed to the snapshot repository and this code is no more
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566870 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:55:10 +00:00
John Dennis Casey 8a889ceadf Changing internal setBaseVersion(..) calls to setBaseVersionInternal(..) to prevent side effects with extending implementations that disallow setting versions directly (as in maven-project).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566205 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:51:59 +00:00
Carlos Sanchez Gonzalez d632bc8a07 Add a check for null files in system dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566135 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 12:55:09 +00:00
Carlos Sanchez Gonzalez 8df4a9dab7 Add resolved artifacts to MutipleArtifactsNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566134 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 12:54:19 +00:00
John Dennis Casey 06979601c0 [MNG-2961] WOO HOO! Finally fixed this horrible behavior of having to call isSnapshot().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565901 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 20:44:16 +00:00
Carlos Sanchez Gonzalez 600961ed03 Add javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565838 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 17:10:10 +00:00
John Dennis Casey beb9d73169 [MNG-3047] Applying broader fix for comparisons and hashCode generation to ArtifactVersion.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565824 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 16:25:41 +00:00
John Dennis Casey 219afd51b1 [MNG-3046] Applying patch to fix compareTo when buildNumber == 0.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565809 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 15:21:41 +00:00
Kenney Westerhof 77567c1123 Cleanup unit tests to make them more readable; add more tests for snapshots; failures are commented out (see table at http://docs.codehaus.org/display/MAVEN/Versioning)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@559053 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 13:59:54 +00:00
Kenney Westerhof b8bdaaaae8 Check that a snapshot is included in a range
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@559052 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 13:59:04 +00:00
Mark Hobson 407dd26f32 Fixing r553253 merge.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@554098 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 00:38:10 +00:00
Vincent Siveton 947d587899 o merged from 554043 (beautified the renderer with a line separator)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@554044 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 20:35:02 +00:00
Mark Hobson 8f292315e4 Merged r553210 from 2.0.x:
Refactored createArtifact methods to createArtifactSpec to make way for some real createArtifact methods.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@553253 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 16:19:29 +00:00
Patrick Schneider 5da9d28906 [MNG-2919] Add fix for depMan scope overwriting to the trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@552182 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 17:31:45 +00:00
Mark Hobson 87f98299ac Merged r549509 from 2.0.x:
Update OMIT_FOR_NEARER event to correctly reflect which node was actually omitted.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@549510 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:21:49 +00:00
Mark Hobson de13a61f46 Merged r549437 from 2.0.x:
Only log omit-for-nearer debug message if versions differ - required after removing restriction from DefaultArtifactCollector in r548797.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@549438 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 09:23:20 +00:00
Mark Hobson db111e752a Merging r548797 from 2.0.x:
Make DefaultArtifactCollector fire OMIT_FOR_NEARER events to listeners even if the artifact versions do not differ.  This allows interested listeners to be able to track omitted duplicate artifacts.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548799 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 16:54:44 +00:00
Kenney Westerhof 811de4eb41 Added some tests; also add test for MNG-3001 where it's claimed that [1.0,) includes 1.0-SNAPSHOT, which it doesn't.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@547874 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 07:20:35 +00:00
Jason van Zyl b4ce07fec5 Add Zip artifact handler.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545398 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 04:09:39 +00:00
Brett Leslie Porter d20f6c96fe [MNG-2988] Ranges with inclusive upper bounds are not validated against metadata
Submitted by: Mark Hobson
Merged from: maven-2.0.x branch r545150


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545156 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 12:39:05 +00:00
Jason van Zyl 02d3305b8e Add better message when artifacts are missing so that people know how to deploy to their own repositories. Suggested by Patrick Lightbody.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@544634 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 21:09:39 +00:00
Jason van Zyl 617eebbee3 MNG-2884 Get a list of the missing artifacts from the exception.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543769 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 18:01:19 +00:00
Jason van Zyl eb9054adfd MNG-2923/2929: Correct a version range restriction problem caused by work on MNG-1577
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543765 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 17:31:13 +00:00
Kenney Westerhof 93801e2888 Remove duplicate component declaration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@542315 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 20:27:24 +00:00
Carlos Sanchez Gonzalez c8f8fef6a6 [MNG-2985] DefaultWagonManager does not safely remove TransferListeners from the wagon
Submitted By: Abel Muiño

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@538041 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 02:14:25 +00:00
Kenney Westerhof eb8b61cc38 Add some useful debug info, like what went wrong
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@532023 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 17:37:33 +00:00
Jason van Zyl a1105a6af7 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531703 13f79535-47bb-0310-9956-ffa450edef68 2007-04-24 02:57:23 +00:00
Kenney Westerhof f2e7d68316 Remove duplicate plugin tag and make xml well-formed again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531439 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 11:27:43 +00:00
Jason van Zyl f40e0bf52c o unifying anythign to do with artifact resolution into one module
o maven-artifact-test not used                                                                                                                   
o maven-artifact-manager is not consumed separate anywhere as the ant tasks are now an uber jar                                                  
o i'm fine with having a proper maven-artifact-api jar but it's leaking all over the place and the api is out of control                      


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531291 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 22:19:23 +00:00
Jason van Zyl ff02698e3a o missed a commit when fixing stuff on the branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531241 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:00:06 +00:00
Carlos Sanchez Gonzalez 2013f8967a Add some javadocs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@527391 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 05:26:50 +00:00
Brian E Fox 67c7ec50e6 MNG-2880 added classifier to install-file instructions when an artifact can't be found that needs a classifier
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526583 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 17:40:33 +00:00
Carlos Sanchez Gonzalez d74222128d [MNG-2931] DefaultArtifactCollector changes the version of the originatingArtifact if it's in the dependencyManagement with another version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526004 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 23:54:49 +00:00
Jason van Zyl e14eb2fc75 o dupe license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@524443 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 16:22:33 +00:00
Jason van Zyl 05162de0d0 o bits for mng-1577
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521543 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 00:11:31 +00:00
Jason van Zyl 17a7a726c5 MNG-2868 The behavior in MNG-1577 is now available on the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520923 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 16:00:17 +00:00
Jason van Zyl badcd2287f o roll back to wagon beta-2 to fix the rash of problems with m2eclipse plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516654 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 05:38:50 +00:00
Andrew Williams a0c01c0223 A sprinkling of default
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514503 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 00:16:06 +00:00
Jason van Zyl 0bb2457086 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513022 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:46:48 +00:00
Jason van Zyl fb03e03672 o optimizing imports, trying to clean up settings use so i can track them down and purge them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512775 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:47:51 +00:00
John Dennis Casey f4b3eedc8a Fixing some lingering dependency ordering problems from artifact resolution, and adding settings-builder advice to the CLI.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:47:30 +00:00
Carlos Sanchez Gonzalez 268563a07b Add javadocs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@426599 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 16:21:35 +00:00
Carlos Sanchez Gonzalez df2b72bb6c Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@420152 13f79535-47bb-0310-9956-ffa450edef68
2006-07-08 15:49:37 +00:00
Carlos Sanchez Gonzalez f7a33ca068 POM cleanup, remove inherited fields, added license and xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@419880 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 12:23:28 +00:00
Carlos Sanchez Gonzalez 066f4abf3f Renamed MockArtifactHandler to follow naming conventions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415837 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 23:08:31 +00:00
Kenney Westerhof 7ba2f9fe2e Add some more unit tests for version comparisons:
x.y.z-alphanumeric < x.y.z < x.y.z-numeric

and x.y.z-A  < x.y.z-B where A is before B in the alphabeth.

This was triggered by a user question on the dev list, and took unit
tests to answer the question - committing as 'documentation'.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@414014 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 01:05:43 +00:00
Brett Leslie Porter 806eaeb017 [MNG-1895] merge changes from branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379650 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:21:10 +00:00
John Dennis Casey bd540e30b7 [MNG-2083] Adding support for output of installation instructions with a generic download message if downloadUrl is missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379548 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 18:04:22 +00:00
John Dennis Casey b07d835b9c [MNG-2083] Correcting problem where cached projects result in missing downloadUrl for unresolvable artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379516 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 16:33:52 +00:00
John Dennis Casey 1710fdcfa3 [MNG-2083] Added new exception, MultipleArtifactsNotFoundException, to account for cases where multiple artifacts are missing during transitive resolution. This will handle formatting, including downloadUrl and install instructions, for each missing artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379369 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 06:23:57 +00:00
Brett Leslie Porter 51b55e42ff merge r377583 from branch 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@377591 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 02:55:13 +00:00
Carlos Sanchez Gonzalez 016c8e31b5 Don't print null values in DefaultArtifact.toString
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373073 13f79535-47bb-0310-9956-ffa450edef68
2006-01-28 02:39:17 +00:00
Carlos Sanchez Gonzalez e46a983a42 Refactor to use StringBuffer in DefaultArtifact getDependencyConflictId and toString
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373072 13f79535-47bb-0310-9956-ffa450edef68
2006-01-28 02:37:33 +00:00
Carlos Sanchez Gonzalez b6d0cf174f Add tests for DefaultArtifact getDependencyConflictId and toString
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373071 13f79535-47bb-0310-9956-ffa450edef68
2006-01-28 02:33:47 +00:00
Carlos Sanchez Gonzalez 24db0eb9c0 Dependencies in two paths are not added to resolution when scope needs to be updated in the nearest due to any of nearest parents
PR: MNG-1895

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@372053 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 23:26:59 +00:00
Carlos Sanchez Gonzalez 6354dad32e Refactor
PR: MNG-1895

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@372027 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:47:10 +00:00
Carlos Sanchez Gonzalez a472469e9d Make test case more high level to catch MNG-1895 bug
PR: MNG-1895

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@372026 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:46:52 +00:00
Carlos Sanchez Gonzalez 4869826ba5 Rolled back 358955, seems that the error was in other place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371857 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 07:45:08 +00:00
Carlos Sanchez Gonzalez 8e3a3cf63d Improve toString methods with scope info and depth
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371856 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 07:41:04 +00:00
Carlos Sanchez Gonzalez 5569bed9b8 Added docs and unit tests for DefaultArtifactCollector.checkScopeUpdate()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371769 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 01:51:02 +00:00
Jason van Zyl 69aadf79da o make a very simple utility for creating our artifact filter so that it can be shared by the
plugin manager and the extension manger. now used in the extension manager to block out
  deps that are already present in the maven classloading system. so that something like
  the external provider can be listed in an extension and will be dealt with: this was
  causing a loader constraint violation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368218 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 02:00:16 +00:00
Brett Leslie Porter af1a99198f merge from branch maven-2.0.x, up to rev 365776
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@365790 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 01:14:17 +00:00
Brett Leslie Porter 9ae0914694 flip trunk to 2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356316 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 18:22:06 +00:00
John Dennis Casey 8a5fa61b17 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356099 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:41:09 +00:00
John Dennis Casey 9cf94e34f2 [maven-release-plugin] prepare release maven-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356093 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:34:03 +00:00
John Dennis Casey 5b427cf076 PR: MNG-1630
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patches, with minor changes.

These patches will ensure that the optional flag is passed on and inherited correctly when dealing with managed dependencies.

I changed the patches, in that I added a new createDependencyArtifact(..) method on ArtifactFactory, which will eliminate the need to call an older variant of the method by passing in a null value for the inheritedScope parameter.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354544 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 20:50:41 +00:00
Brett Leslie Porter b392f199fb prevent NPE in equals()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349699 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 10:36:47 +00:00
Brett Leslie Porter 1bd7f792fc fix classifier for java sources and javadoc dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349652 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 05:14:20 +00:00
John Dennis Casey 57e7d0acdb Adding more detailed comment for optional artifact inclusion.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348584 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 22:27:41 +00:00
John Dennis Casey ffb7f270ab PR: MNG-1417
Submitted By: John Casey

Prevent the artifact collector from firing an inclusion event when the node is disabled. In this case, the node will not be included in any subsequent classpath, so firing an inclusion/selection event is incorrect.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348473 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 16:11:42 +00:00
Brett Leslie Porter ab24e2805c PR: MNG-1620
Submitted by: Bruno Aranda
add .par and .ejb3 to the classpath.
also set the language to java


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345645 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 10:15:21 +00:00