Commit Graph

41 Commits

Author SHA1 Message Date
Emmanuel Venisse a029d766ce Update all versions to beta-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
John Dennis Casey 61db258aa9 Adding --no-plugin-updates to release:perform mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193105 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 08:08:10 +00:00
John Dennis Casey fcbc5e7d6f 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@193082 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 06:03:10 +00:00
Emmanuel Venisse c0131f4de4 Use basedir as working directory for tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@192996 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 21:06:32 +00:00
Emmanuel Venisse 25d5870150 Don't use tag for commit. Commit pom change in the current branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191777 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 07:07:17 +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
Emmanuel Venisse f3346df4b8 Rewrite scm connections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178416 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 09:36:20 +00:00
Emmanuel Venisse 82a6d51998 Rewrite scm tag part in project file in prepare release phase.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178323 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 23:35:00 +00:00
Emmanuel Venisse 8eb97c2ac9 Fix tag creation. We need to store in release.properties the tag choose by user
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178310 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 22:52:55 +00:00
Emmanuel Venisse cfb577b305 Use user.name system property as default scm user name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178017 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 20:51:54 +00:00
Emmanuel Venisse af40a5c6aa Use constant
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177979 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:28:22 +00:00
Emmanuel Venisse 1fc2ebc7f4 Ignore pom.xml.backup and release.properties files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177975 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:21:08 +00:00
Brett Leslie Porter a0c25d06fb simple tweaks and formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177936 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:03:01 +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 eeb42ca316 update input handler version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171378 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 22:33:48 +00:00
Jason van Zyl 934763d0ad o removing debug and adding a note
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171368 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 20:26:32 +00:00
Emmanuel Venisse e52be1da9a Check if pom is in the correct format.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171311 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 13:15:15 +00:00
Jason van Zyl f226508aeb o note on the version transformer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171309 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:51:59 +00:00
Jason van Zyl 230d50014a o adding some more debug info to try and find the problem with a POM
transformation


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171307 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:42:01 +00:00
Jason van Zyl ee7973d53a o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171305 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:36:37 +00:00
Jason van Zyl e8f0384f2f o removing some debug info
o provide a message when tagging


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171304 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 11:27:48 +00:00
Jason van Zyl aed93fb8b4 o still a work in progress but i can release using the plugin, have released
several components now and have worked out most of the kinks. there some
  debugging info but by the time i go through the continuum release i'll
  know what's what.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171270 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 00:33:55 +00:00
Jason van Zyl 41717d1744 o updating address
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171254 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:40:02 +00:00
Jason van Zyl a2464c83af o not using a maven writer ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171253 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:38:10 +00:00
Jason van Zyl 098ae44be0 o renaming a couple methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171252 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:36:27 +00:00
Jason van Zyl 34530a8258 o i can now do a deploy with a couple of glitches, will work through the
problems as i release more components.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171249 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:29:27 +00:00
Jason van Zyl 4a5c667a6e o adding a bit of javadoc and some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171241 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 19:23:04 +00:00
Jason van Zyl eb4631e6f2 o the getScm() call creates a new instance of the scm bean so I corrected some
spots where it was being used because it was assuming the target/checkout
  directory for the prepare phase. this needs a touch of work but i left
  it pretty much as is to get it working. i have successfully prepared
  for the release and now i'm going to try and perform the release.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171239 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 19:08:10 +00:00
Jason van Zyl e801e4af69 o making the maven.username parameter required.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171238 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 18:49:19 +00:00
Jason van Zyl 4ab9ef149d o use the parent of the current project not the project we
started with :-)
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 17:50:01 +00:00
Emmanuel Venisse bc7e6e0c98 Clean imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170986 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 20:07:49 +00:00
Emmanuel Venisse c4db798207 Use plexus-input-handler instead of System.in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170717 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 07:53:16 +00:00
Emmanuel Venisse 3fb3205646 Allow user input for project version and tag name.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170653 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 20:28:55 +00:00
Emmanuel Venisse 7ba418cc31 Add release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170649 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 20:03:56 +00:00
Emmanuel Venisse de0ec195e1 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170647 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 19:54:22 +00:00
Emmanuel Venisse b57dc49ad9 Run goals at the end of perform release. The default goals are "deploy site:site site:deploy".
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170614 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 16:07:47 +00:00
Emmanuel Venisse 21c7962649 Add pom rewriting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170605 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 14:58:14 +00:00
Emmanuel Venisse f71776c9ff Add checkIn feature
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170527 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 07:08:01 +00:00
Emmanuel Venisse c85f4fd8c8 Split ReleaseMojo to PrepareReleaseMojo and PerformReleaseMojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170521 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 06:53:39 +00:00
Emmanuel Venisse bfad4bb462 o Activate some methods
o Remove unused dependencies


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170442 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 20:12:09 +00:00
Emmanuel Venisse 8b6052bbc6 Start of release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170406 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 16:27:51 +00:00