Commit Graph

57 Commits

Author SHA1 Message Date
Benjamin Bentmann 40fb1880ae [MNG-4840] Prerequisites is not working on m3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055174 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 20:32:41 +00:00
Benjamin Bentmann c40029459a [MNG-4941] PluginDescriptorBuilder doesn't populate expression/default-value fields for mojo parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1050531 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 23:44:13 +00:00
Brett Leslie Porter 1036f38593 [MNG-4858] correct NullPointerException if goal name is malformed
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1005860 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:31:05 +00:00
Herve Boutemy 23f2095652 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@958295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 23:16:18 +00:00
Herve Boutemy 79d62ed13c code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@956708 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:42:55 +00:00
Benjamin Bentmann 630c059142 o Extended tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940066 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:04:39 +00:00
Benjamin Bentmann dc09df4b99 o Simplfied code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938491 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 15:00:34 +00:00
Kristian Rosenvold 6c35e2d3cf [MNG-4642] Added missing attribute in PDB
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938480 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 14:46:46 +00:00
Kristian Rosenvold 1a7361596b [MNG-4642] Extended MojoDescriptor with threadSafe attribute
Added support for detecting @threadSafe annotation and a nice noisy, warning message.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938443 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:07:17 +00:00
Benjamin Bentmann c18b8872de [MNG-4536] Long build time - enforcer running too many times
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@904188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 17:57:08 +00:00
Benjamin Bentmann b244bda0fd o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@826015 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:45:41 +00:00
Benjamin Bentmann 6f2797b973 o Added missing error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814682 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 15:09:29 +00:00
Herve Boutemy 0553695bcb added XML schema location for site.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813781 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 11:34:15 +00:00
Herve Boutemy d64e8c5d70 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813628 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 22:50:38 +00:00
Benjamin Bentmann 6d604c17c7 [MNG-4331] Add new mojo annotation @requiresDependencyCollection to grab dependency tree without files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809431 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:28:16 +00:00
Benjamin Bentmann 5ab104e063 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:55:02 +00:00
Benjamin Bentmann 9d87933ca3 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806542 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:20:50 +00:00
Benjamin Bentmann c8bff4412a o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:11:15 +00:00
Benjamin Bentmann 0fa8f7dc93 [MNG-4313] Plugin descriptor builder ignores deprecation message for mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:06:58 +00:00
Benjamin Bentmann 374d818a0c o Simplified cloning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805825 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:47:38 +00:00
Benjamin Bentmann 1267d975bd o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803107 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 13:13:48 +00:00
Benjamin Bentmann 898653d5fc [MNG-4277] Remove core artifacts from ${plugin.artifacts}
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 19:39:21 +00:00
Benjamin Bentmann 147c7a6955 o Tweaked error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799395 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 18:13:02 +00:00
Benjamin Bentmann 8f5a6bfe6f o Restored lifecycle forking
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799310 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:06:59 +00:00
Jason van Zyl 09f970f178 MNG-4041: maven core returns stale project state during extended use. this is a patch which provides intelligent caching and yields a very substantial performance improvement.
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782014 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 13:49:25 +00:00
Jason van Zyl e0298b7c97 o first pass at setting up error handling for each possible error condition
- this resulted in cleaning up some exceptions in plexus so that they might message could be surfaced in Maven
o move the plugin prefix searching to the lifecycle executor and get it out of the plugin manager
o add capability to the RepositorySystem to get plain resources from a repository. I'm going simple with the repository group
  metadata and I will just get the file directly as the only implementation is the plugin group metadata. the system is 
  not easily or generally extensible so i'll just take what I need



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776412 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:53:07 +00:00
Jason van Zyl 36e43b2951 o cleaning up project builder, removed signatures that i've corrected in the RR plugin, moved properties injection up to the main Maven component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 18:49:42 +00:00
Jason van Zyl 5d7758b358 o pull from trunky dunk dunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl d22c870e02 o coming close to something i can easily test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:11:02 +00:00
Jason van Zyl 9e65d584b4 o move the DefaultLog into the plugin module with the rest of the plugin API, package is the same and it's only used from inside the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759539 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:18:02 +00:00
Jason van Zyl e3212b468c o more organization in the plugin manager
o there seems to be an incompatible change between surefire 2.4.2 and 2.4.3 with the booter and the useManifestJar option



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757120 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:04:05 +00:00
Herve Boutemy 3d52a23b10 o upgraded Modello version to 1.0
o improved models to use Modello new features (merged from 2.1.x branch r745216)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:46:38 +00:00
Jason van Zyl 1ef89c5f7b o no ids, i'll get rid of them all but i want byte for byte sameness before i push my work back to trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742676 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 19:04:14 +00:00
Herve Boutemy 8e4b27571d fixed model descriptor for xsd generation (merged from 2.0.x branch r682055)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@682072 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 22:23:59 +00:00
Herve Boutemy 007fe63a03 added site descriptors to provide modules/parent links (merged from 2.0.x branch r649903)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649913 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:37:31 +00:00
Jason van Zyl 4411b1c425 Changing to name and not email.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632468 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:36:19 +00:00
Vincent Siveton df783cfaef o merged from r631837 (added more javadoc)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@631838 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 04:05:50 +00:00
Vincent Siveton 715b3007d0 o merged from r612012 (MNG-3273: Point out known pitfalls when developing plugins)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612013 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 04:19:02 +00:00
Vincent Siveton 4e41fbea47 o merged r609576 (MNG-2925: NullPointerException in PluginDescriptor.getMojo() if there's no mojo in pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609577 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 11:46:27 +00:00
Vincent Siveton c09f4395cf o merged r609000 (MNG-3279: Support Exception Chaining for MojoFailureException)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609001 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 20:55:16 +00:00
Jason van Zyl db64a6a1fd o adding plugin-descriptor to start creating a single artifact which represents a plugin runtime
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573123 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:44:55 +00:00
Kenney Westerhof 7ddabf5a2d Remove svn:executable from pom and java files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513701 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 10:55:05 +00:00
Jason van Zyl 8aae09de2f updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513032 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:51:13 +00:00
Vincent Siveton 64aef4d099 MNG-2461: Write JavaDoc documentation
o added Javadoc

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@466408 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 15:06:42 +00:00
Brett Leslie Porter a79d40793a can throw failure too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293229 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 04:04:07 +00:00
John Dennis Casey 86d1a481f5 Storing plugin contexts by plugin and project in the release manager, and furnishing access to them via the session. This will restrict shared information scopes to the plugin AND the project, in a reactored situation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292105 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 03:38:00 +00:00
John Dennis Casey 30d2a16b5a Resolving: MNG-823...added context-awareness to AbstractMojo, using ContextEnabled interface to avoid breaking Mojo API for direct implementors. Added two mojos in the core-it plugin to use the plugin context map, and an IT - it0073 - to test the whole thing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292023 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 19:49:37 +00:00
Brett Leslie Porter ed370a6382 allow both error and failure exceptions from mojos instead of just checking for a null cause
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291632 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:40:17 +00:00
Brett Leslie Porter 5b63961d02 have to have the old signature for plugins compiled against it
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220067 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:39:55 +00:00
Brett Leslie Porter 8750ec7f59 don't need exception version - covered by Throwable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219998 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 05:35:47 +00:00