Commit Graph

22 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 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
Brett Leslie Porter 48cf14a656 PR: MNG-378
Only deploy the release information at the point of release

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177934 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 06:43:12 +00:00
Brett Leslie Porter a3661b40fe set executable property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171213 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 14:41:31 +00:00
Brett Leslie Porter 3be583ee12 PR: MNG-372
not a series of paths

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169486 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:36:39 +00:00
Brett Leslie Porter 53d6c53cb6 more work on that quoting. seems to finally have come good, at least in bash...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169467 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 13:34:16 +00:00
Brett Leslie Porter 3718136fe5 can't quote $ARGS, doesn't work when there is >1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169443 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 08:50:09 +00:00
Brett Leslie Porter 12455bf6e3 always update snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169404 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 03:13:35 +00:00
Brett Leslie Porter 26622164f4 PR: MNG-372
more fixes for paths with spaces

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169293 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 11:38:38 +00:00
John Dennis Casey 31b340375b Added '-e' switch to the plugins build. Still trying to get visibility to errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169231 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 04:27:34 +00:00
Brett Leslie Porter 0a7842482f PR: MNG-372
Submitted by: Mark Hobson
Reviewed by:  Brett Porter
deal better with spaces in paths on windows
(applied with modifications)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169184 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:50:01 +00:00
John Dennis Casey ee7680ddce took -X back out...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169081 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 14:20:01 +00:00
John Dennis Casey 5974808b45 Added '-X' switch to the re-building of plugins step...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169044 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:48:00 +00:00
Brett Leslie Porter e647a5a378 cygwin stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163901 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 13:07:32 +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
Brett Leslie Porter 62584adb1a make integration tests run under java
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163065 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 11:13:12 +00:00
Brett Leslie Porter c13e8c7629 PR: MNG-74
remove maven.properties use everywhere except classworlds conf


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163024 13f79535-47bb-0310-9956-ffa450edef68
2004-09-02 12:34:19 +00:00
Brett Leslie Porter 5e7a365a6f have system properties override maven.properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162972 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 20:46:24 +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