Commit Graph

1529 Commits

Author SHA1 Message Date
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
Emmanuel Venisse c20da875f3 Remove System.out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168033 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:50:34 +00:00
Emmanuel Venisse e9a7f3ce85 Initial version of site generation with repots.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168031 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:47:01 +00:00
Brett Leslie Porter 0b0b8f89f3 make it work on any platform
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@167833 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 00:10:51 +00:00
Brett Leslie Porter 6dd94566ab PR: MNG-348
Submitted by:	Vincent Massol
Reviewed by:	Brett Porter (applied with some changes)
Add a verifier plugin, for doing integration tests


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165612 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 09:17:30 +00:00
Brett Leslie Porter 6bb39db726 improve error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165604 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 08:19:01 +00:00
Brett Leslie Porter f214098416 fix expected class name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165600 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:27:56 +00:00
Brett Leslie Porter 4406b6b378 improve tests of war plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165599 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:23:37 +00:00
Brett Leslie Porter 95a1895b16 add integration test phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165598 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:22:47 +00:00
Brett Leslie Porter 8d4ca04b2d fix bad expression handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165597 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:22:18 +00:00
Brett Leslie Porter e7b911416f update tests to match new mojo API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165595 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:21:49 +00:00
Brett Leslie Porter df678d2a88 add more docs required
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165519 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 15:50:35 +00:00
John Dennis Casey 3966104e9c Removed the need for MavenMojoDescriptor (collapsed to just MojoDescriptor)...also partially setup the possibility for container-injected configurations, provided we enhance as described in getting-to-container-configured-mojos.apt.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165378 13f79535-47bb-0310-9956-ffa450edef68
2005-04-30 03:50:47 +00:00
John Dennis Casey e94c2611d3 Commenting out marmalade support until I get it converted to the new mojo api.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165364 13f79535-47bb-0310-9956-ffa450edef68
2005-04-30 00:05:36 +00:00
Trygve Laugstol fbfa68d0b1 o Making sure that non-existing source roots aren't scanned for sources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165295 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 11:30:03 +00:00
Brett Leslie Porter 07a1e529f8 need to construct the repository checkout first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165285 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 09:31:42 +00:00
Brett Leslie Porter 19d8a27354 playground for the SCM wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165269 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 06:49:53 +00:00
Brett Leslie Porter 36f970b652 don't fail if there is a default value and the parameter is set to required.
Reformat according to intelliJ settings.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165266 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 06:06:14 +00:00
Brett Leslie Porter a59b1e1d8c update for the times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165265 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 06:02:57 +00:00
John Dennis Casey ea5cd13285 Fixing IT's broken by Plugin->Mojo rename
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165246 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 01:06:58 +00:00
Emmanuel Venisse 935e3577e6 Add reporting api and manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165244 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:36:33 +00:00
Emmanuel Venisse d2f4a77b0c Add missing import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165243 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:31:36 +00:00
John Dennis Casey f5cd6adbe7 Cleaning up errors I introduced with search-and-replace, and with marmalade scripting support. I'm marking marmalade support out for now, until I can get that stuff dragged back into the present.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165242 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:29:04 +00:00
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
Emmanuel Venisse c61b86287e ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165234 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:46:24 +00:00
Emmanuel Venisse 0cae92051b Add Dependencies Report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165233 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:44:59 +00:00
Emmanuel Venisse 0f6db45c22 o check if plugin version is defined
o refactor the report execution, it use only the MavenReportConfiguration
o obtain reports list via reportManager.getReports

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165232 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:43:33 +00:00
John Dennis Casey 235fb09cb9 Cleaning up sysout from debugging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165228 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:14:23 +00:00
John Dennis Casey 165d4d440e Adding @readonly annotations to those parameters which should never be directly configured by users...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165227 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:13:28 +00:00
John Dennis Casey f95706b14c o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.

Annotation support should be just about ready to go...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165225 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:06:11 +00:00
John Dennis Casey ab91b7f4c2 o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.

Annotation support should be just about ready to go...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165224 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:05:01 +00:00
Brett Leslie Porter 742a8e7037 more helpful error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165173 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 18:41:07 +00:00
Brett Leslie Porter 23ec733870 don't create dummy configuration for components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165171 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 17:56:04 +00:00
John Dennis Casey dfb2dfcaa1 Corrected goal and plugin configuration injection (from managed info).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165096 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:21:11 +00:00
Brett Leslie Porter a5c141c146 fix compile error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165093 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:02:57 +00:00