Commit Graph

25 Commits

Author SHA1 Message Date
Brett Leslie Porter f5bd920140 make the detection cleaner to make it easier to clean up later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163628 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:00:46 +00:00
Brett Leslie Porter dab33490a5 most basic of field based plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +00:00
Brett Leslie Porter 51bb8c2193 switch to per-lookup as a first step
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163625 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:17:15 +00:00
Brett Leslie Porter b80f5242b2 setup a simple, backwards compatible mechanism to start implementing the new plugin instantiation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163624 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:02:36 +00:00
Brett Leslie Porter 5a296f03c8 clean up old tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163623 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:01:35 +00:00
Brett Leslie Porter 8e9ec9c892 move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Brett Leslie Porter a593e7df88 change the plugin execution response to be an exception instead since it only handled failures.
any returns from success will be conveyed by the request, soon to be converted into fields on the plugin. These will eventually be extracted using OGNL, but this is all post alpha-1 work


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163621 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 23:22:01 +00:00
John Dennis Casey 9363c35399 o Adding junit dependency to enable building with m2.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163583 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 17:40:02 +00:00
John Dennis Casey 4d1ca8da33 o Removed AuthenticationInfoProvider stuff
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
  -> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
John Dennis Casey dfbae27c44 o Added first-pass logging and event-monitoring impls. Converted all System.out calls in maven-component plugins to use logger.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163457 13f79535-47bb-0310-9956-ffa450edef68
2005-03-04 09:04:26 +00:00
Brett Leslie Porter 11e305e84f clean up exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163444 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 07:05:33 +00:00
Brett Leslie Porter 418aa443dd clean up exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163443 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:43:13 +00:00
John Dennis Casey 8e82989334 o Refactored the plugin extractors to accept a MavenProject only, and pull the information they need from it in order to extract the mojos they're responsible for.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163435 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 02:43:22 +00:00
Brett Leslie Porter d5d05a51c5 start to enhance the lifecycle. Need to pre-process plugins as currently goals are only executed if added to a phase after the current goal. Also need plugin configuration to activate these changes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163419 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 05:39:55 +00:00
Brett Leslie Porter 0e249ddc83 reintroduce execution failures
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163412 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 03:14:49 +00:00
John Dennis Casey 98002718c3 o Refactored mojo/plugin generation, extraction, etc. to accommodate multiple mojo languages.
o Tested with java mojos, mboot to verify nothing broken by refactor.
o TODO: Add marmalade support tests...currently only java-mojos are supported in mboot2, so this isn't going to interrupt things.
o TODO: Once marmalade support is tested, add to the list of artifacts built by mboot2.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163369 13f79535-47bb-0310-9956-ffa450edef68
2005-02-20 16:25:22 +00:00
Jason van Zyl 6ed59fe6b7 allow default values for parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163277 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:04:35 +00:00
Jason van Zyl b13aa49b80 o new plugin descriptor builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163217 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:20:37 +00:00
Jason van Zyl 4487d95d95 o removal of xstream and bits of cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163213 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:13:54 +00:00
Jason van Zyl 46e1c4632b o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163208 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:13:05 +00:00
Jason van Zyl 8c892891cc o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163207 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:06:06 +00:00
Jason van Zyl 50fb033c91 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163204 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:39:58 +00:00
John Dennis Casey 2e4cad175b o Added setMojos(List) and setDependencies(List), each of which make defensive copies of the lists, to support non-xstream component-set-descriptor generation (esp. for script-based mojos).
o This will support the marmalade-plugin loader.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162942 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 02:39:59 +00:00
Jason van Zyl 45da0a70c0 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162921 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 18:49:34 +00:00