Commit Graph

2475 Commits

Author SHA1 Message Date
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
John Dennis Casey f8abb9e729 Fixed logic problem with multiple plugin repositories and exception handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219211 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 16:11:34 +00:00
Vincent Siveton 8d0d2759a3 Removed \U000C character in .apt files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219190 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 12:42:28 +00:00
Vincent Siveton 28cee4f515 Beautified Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219151 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:56:03 +00:00
Vincent Siveton cd2f81534e Updated Test case for MNG-584 and MNG-585 issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219149 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:46:41 +00:00
John Dennis Casey 3f47c60752 Cleaned up plugin-version resolution.
o Added four command-line options:

  --check-plugin-updates is a synonym for --update-plugins
  
  --no-plugin-registry turns off usage of plugin-registry.xml for plugin version resolution for the current build.
  
  --check-plugin-latest turns on usage of LATEST metadata for plugin version resolution for the current build.

  --no-plugin-latest turns off usage of LATEST metadata for plugin version resolution for the current build.

o Added settings.xml configuration <usePluginRegistry>true|false</usePluginRegistry> to en/disable the use of plugin-registry.xml for plugin version resolution. The default value is true, to use the plugin-registry.xml.

o Added plugin-registry.xml configuration <checkLatest>true|false</checkLatest> to en/disable the use of LATEST metadata when resolving plugin versions. The default value is false, or do not use LATEST.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219089 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 20:35:23 +00:00
Emmanuel Venisse 06597924cf Fix svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219087 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 20:12:21 +00:00
John Dennis Casey 5de8088b0b STILL trying to get the damn repository stuff right...thanks for the pointer, Kenney.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219045 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 14:51:41 +00:00
Vincent Siveton 4001df5247 MNG-584 and MNG-585: updated the Velocity template and added test case
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218985 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:28:06 +00:00
Vincent Siveton 045b43f08e Added test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218984 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:17:00 +00:00
Vincent Siveton 64a704b7b7 MNG-582: generate an index.html
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218981 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:07:08 +00:00