Commit Graph

2435 Commits

Author SHA1 Message Date
Brett Leslie Porter 43c132f0fd PR: MNG-505
prepare for version ranges in the artifact collector

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219834 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:30:52 +00:00
Brett Leslie Porter d5e54a5744 PR: MNG-505
prepare for version ranges in the artifact collector

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219833 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:27:18 +00:00
Brett Leslie Porter 1e8e1d21ff correct behaviour
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219832 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:18:19 +00:00
Brett Leslie Porter f48d2c367c avoid potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219831 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:08:53 +00:00
Brett Leslie Porter e40e709513 add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219830 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:00:13 +00:00
Brett Leslie Porter 3cb6be8740 set eol style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219827 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 01:27:41 +00:00
Brett Leslie Porter 685bfbcb12 apply some inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219826 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 01:24:35 +00:00
Brett Leslie Porter ee31f9650f apply some inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219824 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 01:03:25 +00:00
Brett Leslie Porter 64836b2555 make versions with 4 or more parts be treated as string comparisons
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219823 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:52:26 +00:00
Brett Leslie Porter b8f9148724 commented out until project reports changes match up with api changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219822 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:18:11 +00:00
Brett Leslie Porter b9ad85fb37 set eol style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219821 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:11:36 +00:00
Brett Leslie Porter 694bcf59ab Submitted by: Vincent Siveton
Reviewed by:  Brett Porter
reporting fixes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219820 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:08:27 +00:00
Brett Leslie Porter 19696518b3 add copyrights
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219819 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:00:08 +00:00
John Dennis Casey 18fa2476bc Forgot this one
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219817 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:53:21 +00:00
Brett Leslie Porter 5685fb9041 PR: MNG-505
empty restrictions means that nothing is valid, otherwise there will be one restriction EVERYTHING

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219815 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:45:44 +00:00
Brett Leslie Porter 407c29c3e0 PR: MNG-505
test multiple ranges on each side

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219808 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:27:41 +00:00
John Dennis Casey 11082da5f4 Fixing bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:27:24 +00:00
Brett Leslie Porter 8bf61afbd3 PR: MNG-505
get the intersection of ranges

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219803 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:14:02 +00:00
Brett Leslie Porter 50eb5f8fdc PR: MNG-505
if a version doesn't match the format, revert to string comparison

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219777 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 21:19:26 +00:00
John Dennis Casey 76d971b4ba Removing leftover lifecycle binding for ValidatePomMojo in the maven-plugin-plugin (removed that last night).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219716 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 17:15:41 +00:00
Brett Leslie Porter 4e9bd7a8e9 PR: MNG-505
range and soft requirement intersections

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219633 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 09:30:03 +00:00
Brett Leslie Porter d7d6c11a4b PR: MNG-505
test for correct ordering and overlap

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219631 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 08:41:28 +00:00
Brett Leslie Porter 27cdfc3cd1 PR: MNG-505
use comparable versions in ranges

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219630 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 08:23:01 +00:00
Brett Leslie Porter 4fcc1e1074 PR: MNG-505
parse ranges

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219625 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 06:43:09 +00:00
Brett Leslie Porter 810d4a3276 PR: MNG-505
artifact refactoring to facilitate version ranges



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219616 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 05:04:39 +00:00
John Dennis Casey 6f81043b7b Centralized repository handling in AbstractVersionTransformation, for consistency (should fix MNG-527).
Changed download strategy for plugins.xml metadata to download only when non-existent locally or when plugin prefix cannot be located within local metadata. NOTE: This could lead to local-only installs of plugins having their prefix mappings overwritten.

Next step is to change the maven-plugin-plugin.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219615 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 04:15:26 +00:00
Brett Leslie Porter c28872c779 add license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219614 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 04:07:33 +00:00
Brett Leslie Porter 77fee9a4fd add unique short options so that all are recognised
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219605 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 02:42:44 +00:00
Brett Leslie Porter fdbe080093 ignore iml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219603 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 02:38:54 +00:00
Brett Leslie Porter 7e6d16fb26 ignore stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219600 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 02:37:17 +00:00
Brett Leslie Porter 853b70081b cleanup, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219588 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 01:11:17 +00:00
Brett Leslie Porter 84a58b99ec cleanup, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219586 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 00:42:36 +00:00
John Dennis Casey 3519e21e97 Resolving: MNG-576...I'm committing Stephane's patch for an integration test. Thanks, Stephane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219571 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 21:43:11 +00:00
Brett Leslie Porter 148aac1ba9 additional rule about SNAPSHOTs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219475 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:59:56 +00:00
Brett Leslie Porter 640667a6a2 integration tests for the required maven version test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219474 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:59:46 +00:00
Brett Leslie Porter 4c45989dcb PR: MNG-404
add ability to have a minimum Maven version for a project build

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219473 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:57:29 +00:00
Brett Leslie Porter e53ecf1af2 remove old comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219471 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:51:18 +00:00
Brett Leslie Porter bcb912254b default artifact versioning according to spec
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219459 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 05:54:20 +00:00
Emmanuel Venisse 561e012256 Allow to define test to run from cli
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219453 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 04:31:51 +00:00
Brett Leslie Porter 4829ddc7e2 PR: MNG-550
Submitted by: Edwin Punzalan
Reviewed by:  Brett Porter
applied FAQ update with some modifications for out of date information since the issue was filed.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219436 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 01:07:23 +00:00
Brett Leslie Porter 3f9df843a9 ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219421 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 23:00:53 +00:00
Brett Leslie Porter 9ec3433ab1 TODO clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219420 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 22:56:08 +00:00
Brett Leslie Porter f080089e0e add Ant FAQ
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219409 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 22:30:13 +00:00
John Dennis Casey 7bc8cf9fb1 Modified to check for duplicate repository entries in the aggregated remote repository list as the lineage of projects is built.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219278 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 02:05:03 +00:00
John Dennis Casey c7d5e83520 Resolving: MNG-397
o Added ResolutionGroup class which contains a set of artifacts and a list of repositories to resolve them.
o Made the ResolutionNode a standalone class, and added the remote repositories to it
o Changed ArtifactMetadataSource.retrieve(..) to return ResolutionGroup rather than Set, in order to help keep track of the repositories which should be used to resolve the retrieved artifacts.

We need some tests for this...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219276 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 01:24:13 +00:00
Vincent Siveton c6ad9aa729 MNG-411: all transitive dependencies report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219261 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 23:31:53 +00:00
Vincent Siveton 5f412ebb40 Upgraded to plexus-site-renderer-1.0-alpha-2 and corrected a NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219253 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 22:55:33 +00:00
John Dennis Casey 21e050e5fa Attempting to fix problem with resolution of parent-poms for plugins, but continuing the use of the plugin repository when assembling the plugin-pom's lineage.
NOTE: I have not bootstrapped with this fix in place (I'm in the middle of something else right now), so BEWARE!



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219252 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 22:13:10 +00:00
John Dennis Casey 2c80da6ba4 Resolving: MNG-482
To use the new artifact map for either the project or the current plugin from your mojo, simply use one of the following expressions:

  ${plugin.artifactMap}
  ${project.artifactMap}

The artifacts in these maps are keyed using org.apache.maven.artifact.ArtifactUtils.versionlessKey( String groupId, String artifactId ) (found in the maven-artifact project).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 19:04:20 +00:00
Emmanuel Venisse 872214ca25 Move plexus lifecycle mapping to plexus plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219213 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 16:19:48 +00:00