Commit Graph

30 Commits

Author SHA1 Message Date
Brett Leslie Porter d948fb0322 doesn't accept -D args
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225237 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 06:11:52 +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
Brett Leslie Porter 9e661cadb3 working again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219838 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 03:33:24 +00:00
Brett Leslie Porter b8f9148724 commented out until project reports changes match up with api changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219822 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:18:11 +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
Trygve Laugstol 66b1bd1a36 o M2_HOME has to be set.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@208783 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 19:26:56 +00:00
Brett Leslie Porter 8ccb310ca0 add reports and a comment on why this is all too much but nevertheless necessary for now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191751 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 02:07:42 +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 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