/[Apache-SVN]
ViewVC logotype

Revision 190854


Jump to revision: Previous Next
Author: jdcasey
Date: Thu Jun 16 01:50:28 2005 UTC (19 years, 5 months ago)
Changed paths: 42
Log Message:
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.)



Changed paths

Path Details
Directorymaven/components/trunk/m2-bootstrap-all.bat modified , text changed
Directorymaven/components/trunk/m2-bootstrap-all.sh modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/handler/PluginHandler.java modified , text changed
Directorymaven/components/trunk/maven-core/pom.xml modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/version/ added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionManager.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionManager.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionResolutionException.java added
Directorymaven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-core-it/README.txt modified , text changed
Directorymaven/components/trunk/maven-core-it/integration-tests.txt modified , text changed
Directorymaven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java modified , text changed
Directorymaven/components/trunk/maven-mboot2/src/main/java/MBoot.java modified , text changed
Directorymaven/components/trunk/maven-plugin-registry/ added
Directorymaven/components/trunk/maven-plugin-registry/plugin-registry.mdo added
Directorymaven/components/trunk/maven-plugin-registry/pom.xml added
Directorymaven/components/trunk/maven-plugin-registry/src/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/plugin/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/DefaultPluginRegistryBuilder.java added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/MavenPluginRegistryBuilder.java added
Directorymaven/components/trunk/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/PluginRegistryUtils.java added
Directorymaven/components/trunk/maven-plugin-registry/src/main/resources/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/resources/META-INF/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/resources/META-INF/plexus/ added
Directorymaven/components/trunk/maven-plugin-registry/src/main/resources/META-INF/plexus/components.xml added
Directorymaven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java modified , text changed
Directorymaven/components/trunk/maven-settings/settings.mdo modified , text changed
Directorymaven/components/trunk/maven-settings/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java modified , text changed
Directorymaven/components/trunk/maven-settings/src/main/java/org/apache/maven/settings/SettingsUtils.java modified , text changed
Directorymaven/components/trunk/maven-settings/src/main/resources/META-INF/plexus/components.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26