Commit Graph

316 Commits

Author SHA1 Message Date
Brett Leslie Porter 2f950bb514 bump versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169997 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 08:39:42 +00:00
Brett Leslie Porter 3d1c04324d use released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169969 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 08:04:45 +00:00
Brett Leslie Porter 7ed8a746d3 update to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter d27f531dca add test scope junit dependency for all plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169848 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 17:01:17 +00:00
Brett Leslie Porter bcf66ca8a2 set consistent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169845 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 16:42:06 +00:00
Brett Leslie Porter f1ddecc967 import source plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169839 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 15:59:36 +00:00
Brett Leslie Porter e186806889 eclipse plugin imported
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169837 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 15:40:51 +00:00
Brett Leslie Porter 0c5ec0305c ant plugin imported
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169833 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 15:30:59 +00:00
Brett Leslie Porter 73ae6b4c81 move hello plugin to an "examples" directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169828 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 14:46:51 +00:00
Brett Leslie Porter 0808a58663 only run goals on plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169793 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 08:45:21 +00:00
Brett Leslie Porter 88b6dea031 if any URL (except downloadUrl) has a trailing / in the parent, then append the artifact ID to the child
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169787 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 07:22:40 +00:00
Brett Leslie Porter 0299978e27 set the site deployment to the live environment, and use the wagon manager to get the authentication credentials
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169781 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 06:51:55 +00:00
Brett Leslie Porter 0c6a30ab10 unifyf generated site directory, add default site descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169776 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 06:01:56 +00:00
Brett Leslie Porter 640ee60806 remove more deprecated stuff, improve plugin xdoc generation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169734 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 00:06:54 +00:00
Brett Leslie Porter 8fc3e7a305 PR: MNG-338
Helpful error message for non-redistributable JARs, eg jdbc

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169577 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 04:29:44 +00:00
Brett Leslie Porter f9360a13d9 test if properties were provided
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169498 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 17:00:09 +00:00
Brett Leslie Porter f0248e0084 PR: MNG-298
Submitted by: Vincent Massol
Reviewed by:  Brett Porter
set some system properties based on plugin configuration. At this point, they are not reverted afterwards...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169497 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 16:53:59 +00:00
Brett Leslie Porter 14b9e9f347 remove default plugin versions from super POM, rely on discovery of releases. Write out the current version during bootstrap to force its usage (unfortunately enforcing it on other installs, however...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:04:06 +00:00
Brett Leslie Porter 91b4c4e604 back to m2 repo for now as RELEASE files don't get converted
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169468 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 13:34:41 +00:00
Brett Leslie Porter 158a667d94 remove maven-monitor dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169433 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:50:47 +00:00
Brett Leslie Porter d47f6c7dd6 move the Log interface to o.a.m.plugin.logging in maven-plugin-api, breaking the dependency on maven-monitor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169431 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:39:33 +00:00
Brett Leslie Porter 2eb327853b we do not currently support concurrent versions of a plugin a build as there is no access to the resolved version outside of the artifact container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169398 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 02:57:10 +00:00
Emmanuel Venisse f3fa32eebe o Fix html generation
o Categorize reports in "Project Info" and "Project Reports"
o Generate overview page for "Project Info" and "Project Reports" pages

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169372 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 22:47:34 +00:00
Emmanuel Venisse 1eb084ce3e Report generate directly xhtml file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169076 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:00:47 +00:00
Emmanuel Venisse 040139d102 Generate reports links in menu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169073 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 12:03:10 +00:00
John Dennis Casey 76c4ceda28 o Added duplicate check for mojo descriptor Parameters
o changed the exception(s) throws during mojo descriptor extraction to be derivatives of InvalidPluginDescriptorException
o changed PluginConfigurationException in plugin.descriptor to InvalidPluginDescriptorException
o changed all "true".equals(something) to Boolean.valueOf(something).booleanValue()
o added validation of 'modelVersion' back to [Default]ModelValidator
o Fixed/added tests for new 'modelVersion' validation
o changed all requiresXXX in MojoDescriptor to XXXRequired, and getRequiresXXX():boolean to isXXXRequired():boolean to help maintain bean-ness for future use




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168630 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 17:41:03 +00:00
Brett Leslie Porter 57284e462c propogate exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168546 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:07:04 +00:00
Brett Leslie Porter d17b250fec - allow multiple versions of a plugin to operate concurrently.
- allow specification of a mojo as groupId:artifactId:version:goal
- general removal of more hard coding

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168543 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:03:14 +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 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
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 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
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
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
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 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
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 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 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 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 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
Brett Leslie Porter befb54cc12 set correct parent, update wagon dependencies so it doesnt break the deploy plugin when used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165081 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:19:44 +00:00
Brett Leslie Porter 0af9c626a9 put back site, it is working again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165077 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:03:16 +00:00