Commit Graph

13 Commits

Author SHA1 Message Date
John Dennis Casey b813c3d430 Working on issue: MNG-379
Added specified stop-gap patch for issue: MNG-473 (affects settings-builder and registry-builder)

Today I've made the following progress on this so far:

- Added a new project, called maven-plugin-registry, to house the model for this new file.

- Developed/debugged/tested PluginVersionManager/DefaultPluginVersionManager to isolate the plugin-version checks/management code away from the PluginManager

- Added interactiveMode (<interactiveMode>true|false</interactiveMode> directly under the root element of settings.xml, or -B short CLI option or --batch-mode CLI option, where the CLI options turn OFF interactiveMode). This will allow things like the maven-plugins build to register new plugins (and, for now, new versions of plugins) automatically.

- Added user input handler for when interactiveMode = true, to get a yes/no on whether to use the discovered version over the installed version and/or no version at all. If there is no installed version, and the user selects 'n', then the discovered version is used FOR THAT SESSION ONLY, and won't be recorded in the registry.

- Added checks/recording rejected versions against the registry, before attempting to use the discovered version.

Pending:

- Still need to add update-policies, to determine two things:

  1. how often to check for updates
  2. what to do when updates are found (autoUpdate, etc.)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190854 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 01:50:28 +00:00
Brett Leslie Porter 9da4eec756 fix the bootstrap for windows sans cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189859 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 23:36:49 +00:00
Brett Leslie Porter e1bcc79d16 more parameter consistency. MAVEN_OPTS goes to java, $@ goes to the args.
This will mean implementing -D -> sys property handling in mboot and verifier to allow passing of sys props on the command line if that is needed again


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188655 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 01:32:11 +00:00
Brett Leslie Porter e7ad1e9433 don't update snapshots in normal bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@185100 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 00:07:19 +00:00
Emmanuel Venisse 9ccbd046a7 Little fix for run it tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163763 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 13:15:47 +00:00
Brett Leslie Porter 49593155d0 update poms for releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00
Brett Leslie Porter 441108375c remove non-essential plugins from mboot. Still in the bootstrap, as some are required for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163739 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 04:44:33 +00:00
Carlos Sanchez Gonzalez 763811d0fa Added debug option to compiler configuration.
Copied compiler classes from plexus compiler.
Allow bootstrapping with debug info.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163301 13f79535-47bb-0310-9956-ffa450edef68
2005-01-09 22:38:43 +00:00
Emmanuel Venisse c894f62970 MNG-86. Fix bootstrap failures when M2_HOME contains spaces.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163167 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 08:49:20 +00:00
Emmanuel Venisse d24fa87cb6 Add M2_HOME by default, it will be use if we don't define maven.home as command line argument.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163156 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:10:44 +00:00
Brett Leslie Porter 1a509138ef windows batch updates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163070 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 23:42:49 +00:00
Emmanuel Venisse ae48e02aa0 Make useable for all windows platforms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163037 13f79535-47bb-0310-9956-ffa450edef68
2004-09-07 14:45:18 +00:00
Emmanuel Venisse fbaa75cd21 The bootstrap script is now visible from root directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162900 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 17:37:07 +00:00