Commit Graph

1713 Commits

Author SHA1 Message Date
John Dennis Casey eb0807bb45 Missed one on the mojo api cleanup and dupe checking commit...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168485 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:38:10 +00:00
John Dennis Casey 6e8cde754c Updating README.txt with it1005
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:37:27 +00:00
John Dennis Casey 6de708da59 IT for testing failure when duplicate goal names are specified in multiple mojos...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168483 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:36:00 +00:00
John Dennis Casey 5877385df1 Final pass on cleaning up the mojo api...collapsed MavenPluginDescriptor and PluginDescriptor in the same way as MavenMojoDescriptor/MojoDescriptor had been; eliminated the need for plugin.descriptor.Dependency and MavenPluginDependency (using ComponentDependencies instead); adjusted the MojoExtractors (name?) to return Lists instead of Sets; added duplicate checking to a new addMojo(MojoDescriptor) method on PluginDescriptor, so we catch it on all sides; changed the Generators to use execute(outputDirectory, pluginDescriptor) rather than the myriad pluginDescriptor-derived values; added an IT for checking that the build for a plugin will fail if multiple mojos are detected with the same goal; and, added a special case to PluginDescriptor.getGoalPrefixFromArtifactId() to handle maven-plugin-plugin. That should be about it. I'm not sure that I've gotten the IT for that failure test added to svn yet, so that may follow.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168481 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:32:08 +00:00
Emmanuel Venisse 404a07b391 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168477 13f79535-47bb-0310-9956-ffa450edef68 2005-05-06 00:25:43 +00:00
Emmanuel Venisse aca1a272b8 Rename getFiles method to getFilesToProcess
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168475 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:16:12 +00:00
Emmanuel Venisse e194597243 Remove unused file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168473 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:51:46 +00:00
Emmanuel Venisse 3edc333fa3 ignores target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168472 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:50:46 +00:00
Emmanuel Venisse 079c0d7f50 Initial PMD plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168471 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:49:06 +00:00
Brett Leslie Porter a790b9d0c5 add roadmap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168350 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 16:27:37 +00:00
Brett Leslie Porter b93c73bea1 add roadmap and other site fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168349 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 16:17:52 +00:00
Brett Leslie Porter 840d963c03 always read settings.xml, even if maven.repo.local is given
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168297 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:45:42 +00:00
Brett Leslie Porter c9d01daf19 remove erroneous TODO item
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168295 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:23:13 +00:00
Brett Leslie Porter 5f6a95faf1 note when it was introduced
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168294 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:19:50 +00:00
Brett Leslie Porter 7363dbc843 PR: MNG-145
Implement and document repository download mirrors

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168292 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:16:07 +00:00
Brett Leslie Porter 678919ad40 PR: MNG-145
add mirror notation to settings, introduce to bootstrap

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168282 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 06:24:07 +00:00
Brett Leslie Porter 6dca9007eb a couple of notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168278 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 05:44:44 +00:00
John Dennis Casey e095874576 Cleaned up plugin descriptor generation/reading to be more consistent, and to include some things that were being left out. Removed more deprecated behavior from annotations support and expression support. Wrote up the first pass on the mojo api and annotations spec. Fixed the mmld-mojo suppport to accommodate the new expression syntax and collisions with the default expression evaluator for mmld. Added an exception to plugin configuration in DefaultPluginManager to not look for a Field when the configurator == map-oriented.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 01:33:42 +00:00
Emmanuel Venisse 892ce50601 Add some info traces.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168224 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 01:04:33 +00:00
Emmanuel Venisse bd9a7f4f7b Add some debug trace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168221 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 00:40:46 +00:00
Brett Leslie Porter e94fd427f3 improve error message if there is no expression
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168220 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 00:35:55 +00:00
Emmanuel Venisse 21592f058c o Add Mailing List Report
o Add a simple report generator mojo for dependencies and mailing list

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168217 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 00:17:49 +00:00
Emmanuel Venisse 94a31ffa02 Create directory structure for generated report files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168216 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 00:14:31 +00:00
Brett Leslie Porter d4af503a5c align error handling with that of m1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168214 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:43:47 +00:00
John Dennis Casey 9e8bf3d291 Improved the error message coming from a bad plugin configuration. Not sure what else needs to be done for this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168186 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 20:41:07 +00:00
Emmanuel Venisse 705f269567 Fix APT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168185 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 20:40:04 +00:00
Brett Leslie Porter acfba80edc consolidate defaults injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168152 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 17:34:52 +00:00
Brett Leslie Porter 5a40c40754 only write local metadata if an update was found, avoids assuming a SNAPSHOT file that might not exist and getting stuck with it
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168142 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 16:37:43 +00:00
Brett Leslie Porter 7f7a1049e6 improve the artifact ID parsing - any maven or plugin is removed to get the default prefix. If you want something different, use the configuration for plugin:descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168141 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 16:23:42 +00:00
Brett Leslie Porter 427d466bcb remove reporting manager - now in the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168136 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:58:23 +00:00
Brett Leslie Porter 671b0828ec remove unused function
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168135 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:55:57 +00:00
Brett Leslie Porter 9ba38545ea update to latest modello plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168134 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:41:33 +00:00
Brett Leslie Porter a5d3dad778 fixes for it0013, it0015 and reinclude 15
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168131 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:16:48 +00:00
Brett Leslie Porter 4cc4b13a97 exclude reporting manager for now - should probably be removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168130 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:06:56 +00:00
Brett Leslie Porter d3c02d1760 use the correct resolved version for a dependency even if it was previously downloaded.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168129 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:03:03 +00:00
Brett Leslie Porter 49eb3eb8f0 destinationFile was not necessarily the resultant file in the parent method. Check the return status instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168123 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 13:42:51 +00:00
Brett Leslie Porter 24c6328ad3 declare the desired "prefix" inside the plugin descriptor instead of pulling apart the artifact ID (though that is how the default is created).
Currently, the reverse is not handled in anyway, so a non-default prefix may not work, but this makes the code easier to isolate.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168099 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 08:17:39 +00:00
Brett Leslie Porter 118a53927d remove old style req, resp mojo support
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168082 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:52:55 +00:00
Brett Leslie Porter 97550341d8 ignore my env script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168081 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:51:28 +00:00
Brett Leslie Porter 1c66f2d06f make snapshot download behave more like maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168078 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:46:13 +00:00
John Dennis Casey 5345ee5fc6 Removed backward compat for plugin class-level parameter annotations and '#' expressions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168070 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 04:20:36 +00:00
John Dennis Casey 690bc67fb9 Added marmalade support back in...it's currently still using the libraries-shovelled-into-core method, but it now uses the new mojo mechanism that uses plexus ComponentConfigurators...had to make the lookup for configurators dynamic for the DefaultPluginManager, too.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168064 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:28:41 +00:00
John Dennis Casey 1755900b98 Cleaned up the sysout stuff to make the logs quieter when things are basically alright.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168062 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:14:35 +00:00
Brett Leslie Porter e12a025c81 remove unused component dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168053 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 02:42:43 +00:00
Brett Leslie Porter 19d96b6163 reduce the code duplication of the injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168052 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 02:38:39 +00:00
Brett Leslie Porter e0b032ac0a improve the structure of the lifecycle execution code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168041 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:40:59 +00:00
Brett Leslie Porter b5670bdcaa start to clean up the plugin vs. goal name handling so the hardcoding can be reduced, and eventually removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168040 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:20:49 +00:00
Brett Leslie Porter 650f14e2bb war plugin is not required explicitly here - it is implied
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168039 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:19:42 +00:00
Brett Leslie Porter a4c7c96572 ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168038 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:18:40 +00:00
Brett Leslie Porter e4e862dd61 add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168037 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:18:19 +00:00