Commit Graph

509 Commits

Author SHA1 Message Date
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
Emmanuel Venisse 8be3d2473b Fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163762 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 12:41:44 +00:00
Brett Leslie Porter 30c4e8e5da fix plexus version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163759 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:32:44 +00:00
Brett Leslie Porter 73494eb08e fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163757 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:04:29 +00:00
Brett Leslie Porter 15dc3811c8 surefire issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:41:57 +00:00
Brett Leslie Porter a6bc152aca missed from commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163752 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 04:09:55 +00:00
Brett Leslie Porter baca1f7841 make surefire and rest of m2 independent of repo layout
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163751 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:48:01 +00:00
Brett Leslie Porter 11d160b52d use surefire pom for surefire dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163749 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:57:27 +00:00
Brett Leslie Porter 49593155d0 update poms for releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00
Brett Leslie Porter 441108375c remove non-essential plugins from mboot. Still in the bootstrap, as some are required for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163739 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 04:44:33 +00:00
Brett Leslie Porter 017ddd0044 mboot required dep
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163731 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 13:38:15 +00:00
Brett Leslie Porter f1d1446a50 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163726 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 11:26:59 +00:00
Brett Leslie Porter 7d9fca23bb standard assemly - src
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163722 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 15:58:52 +00:00
Brett Leslie Porter 0f861327fd standard assemly - bin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163721 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 15:41:23 +00:00
Brett Leslie Porter 9209aaf3b6 make sure compile time dependencies (the default) are bundled too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163719 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:22:24 +00:00
Brett Leslie Porter 0ee892dfdc change archiving plugins to use a shred archive configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163716 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:14:52 +00:00
Brett Leslie Porter d8f4e7e6c9 fix stale source scanner
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163715 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 05:52:07 +00:00
Trygve Laugstol c8e40de1e4 o Adding <modules>.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163709 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 21:36:47 +00:00
Brett Leslie Porter e3c15069c5 allow empty JARs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163702 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 06:02:57 +00:00
Brett Leslie Porter b512b2e7a2 fix bad message, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163701 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:55:10 +00:00
John Dennis Casey 67830a13fb o Adding source-scanner support, for selectively including source files to be compiled, or processed in some way. This is going to be a core-plugin facility, so it's in maven-plugin.
o Added support to maven-compiler-plugin for a source scanner to determine the files that actually need recompiling...currently based on lastModification date.
o All of this stuff needs a good integration test, but it shouldn't mess any existing functionality up for now. Unit tests for the scanner stuff are included.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163698 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:28:08 +00:00
Brett Leslie Porter 5db2c4cf56 rewrite POM with new version on deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:22:05 +00:00
Brett Leslie Porter b9de151229 fix deploy/install os standalone POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 11:57:47 +00:00
Brett Leslie Porter e697f5bd8c deploy/install POMs as a type of metadata so they are done atomically
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163687 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 10:30:58 +00:00
Brett Leslie Porter 3f0f786e67 transform deployment of SNAPSHOT.
Currently, the POM and artifact are deployed separately, causing an inconsistent version to be written out.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163684 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:45:37 +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 b022c6038f remove pom plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163665 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:52:24 +00:00
Brett Leslie Porter 1e121e8d1a convert plugin plugin to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163664 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:44:17 +00:00
Brett Leslie Porter c5d7cd804c convert surefire plugin to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163663 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:40:14 +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 964aa52888 convert install mojo to new execute().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163660 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:30:48 +00:00
Brett Leslie Porter 092c2f75cf convert archive mojos to new execute(). More work is required to reuse the common fields.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163659 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:25:58 +00:00
Brett Leslie Porter f385f562f0 convert deploy mojo to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163658 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:36:36 +00:00
Brett Leslie Porter d8bed9bc6c convert compiler mojo to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163657 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:29:30 +00:00
John Dennis Casey 590e952f02 CHANGES
------------------------

o Factored the layout for a repository into a separate set of components in o.a.m.a.repository.layout

o Added new DefaultRepositoryLayout that uses the repo layout in http://docs.codehaus.org/pages/viewpage.action?pageId=22230 (it is not used by default until we get the repo1 conversion done)

o Added command-line switches to force legacy local-repo or new format (-a/-A, I know, but try to find something that makes more sense!)

o Added path formatting to the repository itself, which is now constructed with a ArtifactRepositoryLayout instance (since layout should be tied to the repository)

o Removed path formatting altogether from the DefaultArtifactHandlerManager.

o Changed the AbstractArtifactBasedComponent (or whatever it's called) to use the repository formatting in the path() and localPath() methods.

o Moved the plugin repo construction (still intact as a hard-coded singleton list) into the DefaultMavenProjectBuilder, where it will eventually build from POM info.

o Added a new method to build an artifact repository for a <distributionManagement/> section, if possible. This reduced the strain on mojos to construct an ArtifactRepository on demand.

o Refactored all *DeployMojo to use #project.distributionManagementArtifactRepository instead of the #settings, #component..ArtifactRepositoryFactory, ... that it used to require. This is a big simplifying step.

o Removed remote artifact repository construction from DefaultMaven, and changed the MavenSession to delegate to MavenProject for remoteArtifactRepositories, just as it does for pluginRepositories.

o Added remoteArtifactRepositories, pluginArtifactRepositories, distributionManagementArtifactRepository to MavenProject as a cache for the higher-level repos used throughout the system. This is project info, so it belongs here.

o Fixed all the tests in maven-core and maven-artifact which I broke. :)

o Dropped what is probably a big format-bomb, since the Eclipse formatter doesn't really handle 'throws Exception' wrapping the right way.

o Added MavenProject to the MavenSession constructor, since there should always be a MavenProject associated with a build, even if it's just the super-pom.

TODO:
--------------------------

- Write an integration/unit test to ensure that the new repo format works with $classifier (was: $extra) and $groupId[0]/../$groupId[n]. This is a simple adaptation of the old layout, but still needs testing.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163638 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:18:34 +00:00
Brett Leslie Porter e1f51a9ad4 make the assembly mojo work, and use field type
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163637 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:59:28 +00:00
Brett Leslie Porter 1f757e62d9 fix for assembly MDO
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163636 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:23:48 +00:00
Brett Leslie Porter 28e193d14c AbstractLogEnabled is needed for archiver (not transitive in mboot)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163634 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 06:07:35 +00:00
Brett Leslie Porter f5bd920140 make the detection cleaner to make it easier to clean up later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163628 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:00:46 +00:00
Brett Leslie Porter dab33490a5 most basic of field based plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +00:00
Brett Leslie Porter 8e9ec9c892 move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Carlos Sanchez Gonzalez 6e21de0ed2 Moved to sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163620 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 17:03:53 +00:00
Brett Leslie Porter 82d693b967 add zip, jar, and some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163613 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 12:36:49 +00:00
Brett Leslie Porter df6e78a104 work around issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163606 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 01:14:11 +00:00
Brett Leslie Porter 99b5fe6d9f flesh out assemble mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163603 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 23:59:07 +00:00
Carlos Sanchez Gonzalez 75951aa79d Mojo to manage repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163599 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 15:02:46 +00:00
John Dennis Casey e9a9323812 o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:

<settings>
  <profiles>
    <profile>
      <active>true</active> <!-- not needed if this is the only profile -->
      <localRepository>/path/to/repo</localRepository>
    </profile>
    .
    .
    .
  </profiles>
  <servers>
    <server>
      <id>myserver</id>
      <username>me</username>
      <password>mypass</password>
      <privateKey>/path/to/key</privateKey>
      <passphrase>key-passphrase</passphrase>
    </server>
    .
    .
    .
  </servers>
  <proxies>
    <proxy>
      <active>true</active> <!-- not needed if this is the only proxy -->
      .
      .
      .
    </proxy>
    .
    .
    .
  </proxies>
</settings>

o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
Brett Leslie Porter 2f89f1e94d handle POMs correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163568 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:27:37 +00:00
Brett Leslie Porter 39e571068d handle POM properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163567 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:26:32 +00:00
Brett Leslie Porter 0f42ee716d updated to match deploy plugin, until it can be removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163566 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:19:19 +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
John Dennis Casey 4d1ca8da33 o Removed AuthenticationInfoProvider stuff
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
  -> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
Brett Leslie Porter ba06a10501 some clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163552 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 02:50:58 +00:00
Brett Leslie Porter 9fb34fca1b remove test inclusion
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163551 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 23:32:56 +00:00
Brett Leslie Porter c1d51c88c1 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163540 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 01:37:58 +00:00
Brett Leslie Porter c6978405cf add source and target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163535 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 06:10:37 +00:00
Emmanuel Venisse f83e267925 Roll back debug changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163521 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:16:23 +00:00