Commit Graph

60 Commits

Author SHA1 Message Date
John Dennis Casey a58632b9dd Renamed Plugin.java, AbstractPlugin.java, PluginExecutionRe(quest|sponse) PluginExecutionException to Mojo*
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165238 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:12:09 +00:00
John Dennis Casey ed14ff454d Modifying the mojo generators to handle alias, and other missing elements where appropriate. Changed the resources mojos to be as trim as I can, and added @required to the field-level annotations (this might be a good thing to do for all plexus components, dunno if it's there already)...finally, trimmed up the annotation handling in the JavaMojoDescriptorExtractor to push as many annotation fields as possible into the endangered area, and started pulling as much info from the field, other companion annotations on the field, etc. as I can...I think the annotations are there, now. They need to be cleaned up after converting all the core plugins to use field-level annotations, then we're set.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164990 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 15:11:28 +00:00
John Dennis Casey 075812942b Cleaned up field-level annotations. This will be the flagship example for the new annotation style.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164944 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 04:32:32 +00:00
John Dennis Casey d8d2e34dca Resolving MNG-221, simplify qdox with field-level mojo parameter annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164872 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 20:30:21 +00:00
Brett Leslie Porter 874a8c1245 add more use of ${} expressions, fix problem when } was not at end
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164195 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 08:33:34 +00:00
Brett Leslie Porter a75e7d2577 improved error handling and other clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163979 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:41:36 +00:00
Brett Leslie Porter 05ae5c03e3 split the plugin API and the plugin descriptor code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163927 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 05:11:49 +00:00
Brett Leslie Porter 9340e1add7 release alpha-1 plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163870 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:05:06 +00:00
Brett Leslie Porter 935cda15da clean up dependencies.
Still need to clean up ~/maven2/lib and some large dependencies from marmalade that
shouldn't be needed in general - but down to about a 3Mb repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163775 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 04:11:03 +00:00
John Dennis Casey fcb7a1c14b o Simplified the ResourcesMojo to eliminate the need for a ResourceEntry class, which is easily replaced by usage of a TreeMap (avoid the NoClassDefFoundError from before SEE MNG-243)
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org

    This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a
    vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same
    time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:32:53 +00:00
Brett Leslie Porter 14bb2c805a change the maven group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
Brett Leslie Porter b84d4bc35e revert <includes> and <excludes> in MDO to old format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163666 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 14:26:28 +00:00
Brett Leslie Porter 8a720065d5 fix license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163662 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:34:29 +00:00
Brett Leslie Porter d0de5773b3 convert resources mojo to new execute().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163661 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:33:29 +00:00
Brett Leslie Porter 5c1f5b1e57 PR: MNG-52
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +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
Brett Leslie Porter 46edb7818f depedency update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163462 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 07:23:31 +00:00
Trygve Laugstol 4977f19845 o Setting some additional ignores.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163289 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 06:41:15 +00:00
Emmanuel Venisse 8a83719263 Close some streams.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163245 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 10:47:39 +00:00
John Dennis Casey dac27a045a Added test for binary resource with non-standard encoding...I'm trying to get a multi-byte character encoding so it might throw off a String-based copy...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163228 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 05:16:28 +00:00
John Dennis Casey 2ce99517fa o Changed fileCopy process to use byte arrays and ByteArrayOutputStream rather than String/StringBuffer to accommodate binary [test] resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163227 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 03:43:31 +00:00
John Dennis Casey 24ce8263d9 o Changed to depend on plexus-0.17 instead of -0.16
o Changed the embedder/container used to be the new artifact-aware container (plexus-artifact-container-1.0-alpha-1)
o Added new dependency to maven-core for artifact-container.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 01:18:19 +00:00
Brett Leslie Porter 72d71b215f disable test again - fails under mboot because there are no transitive deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162979 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 06:11:07 +00:00
Brett Leslie Porter 3f60d949ba this test now works
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162974 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:27:04 +00:00
Jason van Zyl 8ea2d0af7b o use plexus 0.16
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162929 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 19:33:45 +00:00
Jason van Zyl d83868e9cd *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162928 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 19:10:11 +00:00
Emmanuel Venisse c38444d863 Remove default test includes value.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162890 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:24:42 +00:00
Emmanuel Venisse b0c0d6c5fc test classes are in *Test name format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162888 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:17:30 +00:00
Emmanuel Venisse 7664e801de Fix test classname to exclude
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162887 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:16:33 +00:00
Trygve Laugstol cb0c6ad6c4 o Adding <modelVersion> to the poms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162855 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 20:12:50 +00:00
Jason van Zyl 91d9c5a82d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162849 13f79535-47bb-0310-9956-ffa450edef68
2004-07-02 02:40:18 +00:00
Michal Maczka d00330c7c2 plugins' poms are using type = plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162844 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 17:10:32 +00:00
Emmanuel Venisse 09a8cc1e03 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162819 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 14:03:44 +00:00
Emmanuel Venisse bf095942fc Use default excludes resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162818 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 14:01:58 +00:00
Jason van Zyl 4948f63c70 o Ok, this set of changes has been tested against the integration tests in
maven-core-it and it is now a requirement that the integration tests be
  done before checking in any changes. They are not super rigourous but
  they do test the minimal functionality of compiling, processing resources
  and testing.

  I'm going to make another release this week and things should now be
  in a stable enough form to actually use m2 for the basics.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162763 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 02:51:37 +00:00
Jason van Zyl b5ce0c41c3 o update plugins to take advantage of the new default values in the super
model provided by maven-core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162757 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:22:47 +00:00
Jason van Zyl 117940de08 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162755 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 22:16:05 +00:00
Jason van Zyl d91d6ee274 no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162752 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 19:39:51 +00:00
Jason van Zyl f67181582b no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162751 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 19:35:49 +00:00
Jason van Zyl ddd1be33f5 o removing maven-project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162750 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 17:57:53 +00:00
Jason van Zyl 26f67a6c73 o correcting @tags from feedback
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162747 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 15:13:12 +00:00
Jason van Zyl a9850685f4 o updating format of the @tags
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162745 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 12:36:47 +00:00
Emmanuel Venisse b36d964715 Move Resources plugin to o.a.m.plugin.resources package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162744 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 07:41:08 +00:00
Jason van Zyl 072609e0b3 o cleaning up the @tags which are now a lot more simple
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162742 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 16:14:40 +00:00
Jason van Zyl 60af082ea2 o doing the pom.xml thing
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162739 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 03:10:50 +00:00
Brett Leslie Porter 74c31684be add failing plugin test for something that should be in the default excludes
for resources. Test omitted from project.xml at present.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162723 13f79535-47bb-0310-9956-ffa450edef68
2004-05-28 16:52:04 +00:00
Emmanuel Venisse 9492d7c3d4 Fix plugins name.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162721 13f79535-47bb-0310-9956-ffa450edef68
2004-05-28 12:07:43 +00:00
Jason van Zyl 18b1fd115f o get rid of plugin.xml as they are generated now from @tags in the
sources.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162719 13f79535-47bb-0310-9956-ffa450edef68
2004-05-27 02:53:02 +00:00
Emmanuel Venisse 680c8d9774 Fix artifactId of parent plugin pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162716 13f79535-47bb-0310-9956-ffa450edef68
2004-05-25 20:08:28 +00:00
Jason van Zyl 0d54b2204f turn into a maven plugin and add @tags for descriptor generation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162708 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 17:06:34 +00:00