Apache Maven core
Go to file
John Dennis Casey a3cf96219f Resolving issue: MNG-379
o Added support for update-all and update-none when prompting the user.

o Added --update-plugins/-F option to force an update of the plugins used in the project.

o Added autoUpdate setting for the plugin registry. This is used when in non-interactive mode, to determine whether to register plugin updates

o Added updateInterval to determine when/how often to check for updates to registered plugins. Supports three syntaxes:

  - 'never'
  - 'always'
  - 'interval:XXX' (where XXX can be a combination of weeks, days, hours, and minutes in the syntax: 1w1d1h1m)
         > this renders the interval syntax similar to 'interval:1w' to check every week.

  NOTE: update intervals are calculated from the time a particular plugin was last checked.

o Added lastChecked attribute for registered plugins, to use as a basis for calculating update-check interval

o Added RuntimeInfo classes for maven-settings and maven-plugin-registry, to help in tracking the file each instance comes from, in addition to merging info which is useful when extracting the user-level instance from the merged instance (for persisting changes to the user instance, f.e.).

o Changed verifyPlugin(..) to take an instance of Settings, to allow persistent decisions across the session (like update-all, update-none in the plugin version manager)

This should take care of outstanding issues with this new feature. I'm closing the JIRA issue now, and we'll deal with any bugs/shortcomings as separate issues.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191021 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 22:38:57 +00:00
benchmark remove old cvs ignore files 2005-06-07 05:24:51 +00:00
examples/maven-hello-plugin update mojo 2005-06-03 00:47:00 +00:00
maven-1.x-integration remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-archetype update default values 2005-06-12 05:21:38 +00:00
maven-archiver remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-artifact PR: MNG-415 2005-06-16 15:02:07 +00:00
maven-artifact-ant fix possible NPE 2005-06-16 18:09:17 +00:00
maven-artifact-test update for profiles 2005-06-06 06:36:57 +00:00
maven-core Resolving issue: MNG-379 2005-06-16 22:38:57 +00:00
maven-core-it PR: MNG-415 2005-06-16 15:02:07 +00:00
maven-core-it-plugin o Adding ${plugin.*} expression support for mojos. Specifically, added support for ${plugin.artifacts} to retrieve the plugin's classpath artifacts. NOTE: There may be artifacts which are FILTERED by the resolution process, since they are provided in the maven distro. NOT SURE HOW BEST TO RESOLVE THAT...but it'll cause problems with people forking certain mojos, undoubtedly. 2005-06-13 14:49:49 +00:00
maven-core-it-support remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-core-it-verifier PR: MNG-415 2005-06-16 15:02:07 +00:00
maven-mboot2 PR: MNG-415 2005-06-16 15:02:07 +00:00
maven-meeper remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-model Add TODO for address taf in notifiers 2005-06-16 13:12:38 +00:00
maven-monitor remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-plugin-api implement some inspection settings 2005-05-23 03:57:28 +00:00
maven-plugin-descriptor o Adding ${plugin.*} expression support for mojos. Specifically, added support for ${plugin.artifacts} to retrieve the plugin's classpath artifacts. NOTE: There may be artifacts which are FILTERED by the resolution process, since they are provided in the maven distro. NOT SURE HOW BEST TO RESOLVE THAT...but it'll cause problems with people forking certain mojos, undoubtedly. 2005-06-13 14:49:49 +00:00
maven-plugin-registry Resolving issue: MNG-379 2005-06-16 22:38:57 +00:00
maven-plugin-tools PR: MNG-451 2005-06-09 23:22:34 +00:00
maven-plugins Resolving issue: MNG-379 2005-06-16 22:38:57 +00:00
maven-profile o Added <properties/> for profiles configured in the pom.xml 2005-06-13 04:21:27 +00:00
maven-project PR: MNG-415 2005-06-16 15:02:07 +00:00
maven-reporting o Internationalize site plugin generation. 2005-06-05 23:10:11 +00:00
maven-reports o Internationalize site plugin generation. 2005-06-05 23:10:11 +00:00
maven-repository-tools remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-script remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-settings Resolving issue: MNG-379 2005-06-16 22:38:57 +00:00
maven-site o adding apt reference to the site 2005-06-16 22:37:03 +00:00
sandbox Fixing reporting problem due to inlining the old per-artifact reports into the repository report. Turned a couple of ERROR's to WARNING's. 2005-06-09 18:47:37 +00:00
README.txt clean up instructions 2005-05-12 10:21:57 +00:00
ci.sh change message when it is skipped due to already running 2005-06-07 05:18:41 +00:00
m2-bootstrap-all.bat Working on issue: MNG-379 2005-06-16 01:50:28 +00:00
m2-bootstrap-all.sh Working on issue: MNG-379 2005-06-16 01:50:28 +00:00
plugin-inheritance-and-profiles-notes-jdcasey-20050526.txt adding my notes for implementing plugin inheritance and build profiles. delete if not needed. 2005-05-27 03:29:54 +00:00
pom.xml Add more modules 2005-05-19 17:05:48 +00:00
upgrading-dependencies.apt some notes on changing dependencies 2004-10-23 13:28:06 +00:00

README.txt

-------------------------------------------------------------------------------
Bootstrapping Maven
-------------------------------------------------------------------------------

Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed.

NOTE: presently, the directory {M2_HOME}/bin must be in your path:
set PATH=%PATH%;%M2_HOME%\bin
or
export PATH=$PATH:$M2_HOME/bin

You can set the parameters passed to the Java VM when running Maven2 bootstrap,
setting the environment variable MAVEN_OPTS, e.g.
e.g. to run in offline mode, set MAVEN_OPTS=-o

Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix)

NOTE: You must run these instructions from this directory!