Commit Graph

21 Commits

Author SHA1 Message Date
Emmanuel Venisse 47727cdc50 use mvn instead of m2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329850 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 16:37:09 +00:00
Brett Leslie Porter 355edf88bc PR: MNG-1183
Submitted by: Jerome Lacoste
Make core integration tests aware of user local directory thanks to settings file


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321323 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 12:31:19 +00:00
Brett Leslie Porter 971fdc43b0 fix in case of a non-existant local repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225322 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:11:21 +00:00
Brett Leslie Porter 1d028ff436 move reports into maven-plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219985 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 02:20:27 +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 a27239912d git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191779 13f79535-47bb-0310-9956-ffa450edef68 2005-06-22 07:41:02 +00:00
Emmanuel Venisse d65121a560 synchronize with m2-bootstrap-all.sh
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191778 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 07:25:56 +00:00
John Dennis Casey 4ce86c9b87 Resolving: MNG-495
o Pressing [ENTER] at a plugin update prompt should result in the plugin being registered, as indicated by the prompt.
o Use CLI switch '--no-plugin-updates' to suppress usage of the plugin registry
o Use CLI switch '--update-plugins' to force updated/resolved plugin versions to be registered
o Neither of these has a short CLI option, since we're starting to run out of sensible char options for these types of things.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191664 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 14:51:55 +00:00
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