Commit Graph

467 Commits

Author SHA1 Message Date
Emmanuel Venisse 8eb97c2ac9 Fix tag creation. We need to store in release.properties the tag choose by user
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178310 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 22:52:55 +00:00
Emmanuel Venisse cfb577b305 Use user.name system property as default scm user name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178017 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 20:51:54 +00:00
Emmanuel Venisse af40a5c6aa Use constant
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177979 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:28:22 +00:00
Emmanuel Venisse 1fc2ebc7f4 Ignore pom.xml.backup and release.properties files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177975 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:21:08 +00:00
Emmanuel Venisse 4b1c539878 [MNG-424] - Resolve test dependencies.
Thanks to Rod Coffin.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177939 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:46:48 +00:00
Brett Leslie Porter a0c25d06fb simple tweaks and formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177936 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:03:01 +00:00
Brett Leslie Porter 48cf14a656 PR: MNG-378
Only deploy the release information at the point of release

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177934 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 06:43:12 +00:00
Brett Leslie Porter 6a630346a2 use primitive types
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177873 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 02:41:00 +00:00
Brett Leslie Porter eeb42ca316 update input handler version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171378 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 22:33:48 +00:00
Jason van Zyl 934763d0ad o removing debug and adding a note
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171368 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 20:26:32 +00:00
Emmanuel Venisse e52be1da9a Check if pom is in the correct format.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171311 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 13:15:15 +00:00
Jason van Zyl f226508aeb o note on the version transformer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171309 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:51:59 +00:00
Jason van Zyl 230d50014a o adding some more debug info to try and find the problem with a POM
transformation


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171307 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:42:01 +00:00
Jason van Zyl ee7973d53a o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171305 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:36:37 +00:00
Jason van Zyl e8f0384f2f o removing some debug info
o provide a message when tagging


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171304 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 11:27:48 +00:00
Jason van Zyl aed93fb8b4 o still a work in progress but i can release using the plugin, have released
several components now and have worked out most of the kinks. there some
  debugging info but by the time i go through the continuum release i'll
  know what's what.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171270 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 00:33:55 +00:00
Jason van Zyl 41717d1744 o updating address
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171254 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:40:02 +00:00
Jason van Zyl a2464c83af o not using a maven writer ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171253 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:38:10 +00:00
Jason van Zyl 098ae44be0 o renaming a couple methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171252 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:36:27 +00:00
Jason van Zyl 34530a8258 o i can now do a deploy with a couple of glitches, will work through the
problems as i release more components.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171249 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 20:29:27 +00:00
Jason van Zyl 4a5c667a6e o adding a bit of javadoc and some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171241 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 19:23:04 +00:00
Jason van Zyl eb4631e6f2 o the getScm() call creates a new instance of the scm bean so I corrected some
spots where it was being used because it was assuming the target/checkout
  directory for the prepare phase. this needs a touch of work but i left
  it pretty much as is to get it working. i have successfully prepared
  for the release and now i'm going to try and perform the release.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171239 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 19:08:10 +00:00
Jason van Zyl e801e4af69 o making the maven.username parameter required.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171238 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 18:49:19 +00:00
Jason van Zyl 4ab9ef149d o use the parent of the current project not the project we
started with :-)
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 17:50:01 +00:00
Emmanuel Venisse 87fc42fd0a Flush and close always sink.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171135 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 16:31:21 +00:00
Emmanuel Venisse 85818247bb Upgrade doxia version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171121 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 14:37:52 +00:00
Emmanuel Venisse 9cd0c0f824 Add missing executePhase for obtain generated sources directories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171074 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 07:54:32 +00:00
Emmanuel Venisse bc7e6e0c98 Clean imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170986 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 20:07:49 +00:00
Emmanuel Venisse 61cff48ad1 Use new reporting-api dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170984 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 19:57:09 +00:00
Emmanuel Venisse 6ffcf006fb o clean import
o Use MavenProject instead of Model for obtain more informations

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170954 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 16:27:00 +00:00
Emmanuel Venisse 5a2501839c Fix M2_REPO var support.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170738 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 12:16:43 +00:00
Emmanuel Venisse 3ab55f3c5c Fix license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170728 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 09:17:53 +00:00
Emmanuel Venisse 32303a7958 MNG-406. Remove hardcoded repository location in generated .classpath. Use M2_REPO as eclipse variable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170723 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 08:23:27 +00:00
Emmanuel Venisse c4db798207 Use plexus-input-handler instead of System.in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170717 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 07:53:16 +00:00
Brett Leslie Porter 47031c85e1 ignore generated files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170713 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 05:47:53 +00:00
Brett Leslie Porter 21825ece2f ignore generated files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170712 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 05:47:25 +00:00
Emmanuel Venisse 3fb3205646 Allow user input for project version and tag name.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170653 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 20:28:55 +00:00
Emmanuel Venisse 7ba418cc31 Add release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170649 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 20:03:56 +00:00
Emmanuel Venisse de0ec195e1 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170647 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 19:54:22 +00:00
Emmanuel Venisse b57dc49ad9 Run goals at the end of perform release. The default goals are "deploy site:site site:deploy".
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170614 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 16:07:47 +00:00
Brett Leslie Porter 0253ccc305 PR: MNG-164
Add Beanshell mojo support

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170608 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 15:11:41 +00:00
Emmanuel Venisse 21c7962649 Add pom rewriting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170605 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 14:58:14 +00:00
Brett Leslie Porter a7655b4bb4 war requires dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170540 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 08:07:03 +00:00
Emmanuel Venisse f71776c9ff Add checkIn feature
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170527 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 07:08:01 +00:00
Emmanuel Venisse c85f4fd8c8 Split ReleaseMojo to PrepareReleaseMojo and PerformReleaseMojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170521 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 06:53:39 +00:00
Emmanuel Venisse bfad4bb462 o Activate some methods
o Remove unused dependencies


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170442 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 20:12:09 +00:00
Emmanuel Venisse 8b6052bbc6 Start of release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170406 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 16:27:51 +00:00
Brett Leslie Porter d5e88e8c9e fix the base url
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170347 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 09:33:30 +00:00
Jason van Zyl e4f5495d5a o using the new version of maven-archiver which provides the feature
of improved ease of use of the project metadata.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170293 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 01:10:52 +00:00
Jason van Zyl d6567987c5 o provide a message when there is no POM, which the eclipse plugin requires
to work correctly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170135 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 12:18:59 +00:00
Jason van Zyl 85d7de996d o let people know when the project name and url aren't set
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170090 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 21:13:04 +00:00
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
Emmanuel Venisse 3502cae978 Initial version of reporting integration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165071 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:03:26 +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
Brett Leslie Porter 3760f873a1 PR: MNG-167
Add the ability for a mojo to "fork" a phase execution, in a separate iteration of the lifecycle.
Add @executePhase generate-sources to idea:idea


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164930 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:16:06 +00:00
Brett Leslie Porter b3033fb746 fix more references to the old package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164924 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 00:28:05 +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 687d9de104 temporarily disable assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164782 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 12:48:41 +00:00
Brett Leslie Porter 3f5d831fc6 make debug compiling the default
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 04:31:47 +00:00
Brett Leslie Porter 09764d0531 directories don't always come first - make them if they don't exist
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164394 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:21:31 +00:00
Brett Leslie Porter ade9741a79 forgot one dependency update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164325 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 03:24:58 +00:00
Brett Leslie Porter 23b8cd0e46 remove unnecessary maven-core dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164322 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 03:12:07 +00:00
Brett Leslie Porter 5c55a20974 update dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164300 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 23:39:23 +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 c98b557ac8 move artifact factory to maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164178 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 06:16:25 +00:00
Brett Leslie Porter c289cf4f7f change expressions to use ${} instead of #
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164171 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 04:32:35 +00:00
Brett Leslie Porter 061614ffb3 update SCM settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164155 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 00:57:08 +00:00
Brett Leslie Porter 75499d7155 remove these, build works now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164150 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 23:52:57 +00:00
Brett Leslie Porter efebad61dc deprecate warName in favour of finalName, and add default excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163985 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:03 +00:00
Brett Leslie Porter d23c299e0f correct problem where anything with a modified finalName was not installed/deployed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163980 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:44:36 +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 4fe1c64276 clean up exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163978 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 04:16:11 +00:00
Brett Leslie Porter b6b3dafd00 add ability to build a JAR with its dependencies unpacked inside.
Currently ignores META-INF in dependencies, though should probably merge things like components.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163966 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 07:07:58 +00:00
Emmanuel Venisse 81ac2805a4 Add my name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163961 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 12:35:15 +00:00
Brett Leslie Porter b2e4433615 utilise the container for populating all mojo configuration, including expressions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163947 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 04:52:31 +00:00
Brett Leslie Porter e282435cb9 revert version of plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163946 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 00:54:42 +00:00
Brett Leslie Porter fe377f236f remove unused classes, identical to others in configurator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:28:12 +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 55d33da355 move artifact filters to maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163923 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 04:29:25 +00:00
Emmanuel Venisse 4493e3cbeb Add site module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163915 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 21:41:25 +00:00
Jason van Zyl 45541c5564 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163909 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 05:58:10 +00:00
Jason van Zyl 4361a69db0 o when dealing with a single project, make a module for that project.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163906 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 23:43:12 +00:00
Brett Leslie Porter 6b29b08cc7 starting alpha-2 - use updated compiler
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163900 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 13:03:50 +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 5bf62bb606 update POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163864 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 08:11:00 +00:00
John Dennis Casey e84b933fb1 Adding hello world marmalade-mojo plugin, and doco on how to write a marmalade mojo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163858 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 05:34:41 +00:00
Brett Leslie Porter 664a916c17 PR: MNG-258
make everything executable so that m2 shell script is (plexus-archiver doesn't presently have any greater control)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163823 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 02:43:56 +00:00
Brett Leslie Porter e69136dd01 short comment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163811 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:06:20 +00:00
Brett Leslie Porter 6d30c273a0 repairs on scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163809 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:54:30 +00:00
Brett Leslie Porter e4030a9545 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163808 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:52:04 +00:00
Brett Leslie Porter c613181f13 rename assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163806 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:23:44 +00:00
Brett Leslie Porter d23b13eb35 rename the assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163805 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:21:16 +00:00
Brett Leslie Porter fbbe91ab1b Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163802 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:20:06 +00:00
Brett Leslie Porter a7e2faccfa add dependency handling, and make bugfixes to the assemble plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163798 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:11:00 +00:00
Brett Leslie Porter d4e8050c83 fix deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163796 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 03:51:57 +00:00
Brett Leslie Porter 2cf5c6c0a5 fix build issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163793 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 01:49:06 +00:00
Emmanuel Venisse a9a41aaad4 Fix type for MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163781 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:20:28 +00:00
Brett Leslie Porter 9d6fad725a change @requiresDependencyResolution to take a scope (default is "runtime" if no scope specified, none if tag not specified at all).
This still means ALL tests get the test dependencies of their compile time dependencies. Check if there is really a valid use case for that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163780 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:17:28 +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