Commit Graph

2318 Commits

Author SHA1 Message Date
Jason van Zyl d210bf33df o applying http://jira.codehaus.org/browse/MNG-571
Thanks to Tim.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@215942 13f79535-47bb-0310-9956-ffa450edef68
2005-07-12 12:06:17 +00:00
John Dennis Casey cb257db78e Resolving:
MNG-511
MNG-513

Working on:

MNG-449

o Added code to stop the version manager from prompting the user for unregistered plugins; it will simply register them with the resolved version.

o Added failover fourth plugin-version resolution option, which is a plugin-specific artifact metadata called LATEST.version.txt, and will be published with each install/deployment

o Added MavenProject.get/setArtifact(..) to handle a single artifact instance for a project (allows injection of artifact metadata without having to handle it all within the install/deploy mojos).

o Changed plugin-version resolution to only use MavenMetadataSource rather than resolving the whole plugin artifact.

o Changed the install and deploy mojos to only use ${project.artifact} rather than constructing their own, so they can take advantage of metadata added elsewhere in the build.

o Factored the "RELEASE".equals(..) check in the DefaultRepositoryLayout to use new metadata method storedInArtifactDirectory() instead, since RELEASE and LATEST both share this characteristic.


NOTE: I'm not going to resolve MNG-449 yet, because I'm not sure what else Brett had in mind related to the plugin-development-without-release use case...



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@215919 13f79535-47bb-0310-9956-ffa450edef68
2005-07-12 04:13:40 +00:00
John Dennis Casey 4b53aba3bb Fixing issues related to MNG-377, where the plugins.xml metadata was being mishandled. Separated updating of this metadata into a separate mojo, bound to the 'package' phase, and put in a validator for the POM (POM has to have distributionRepository now for maven-plugin's) which is bound to the 'validate' phase. Put together an integration test that uses modello:java as a case where the pluginGroups must be consulted. Also had to change the Verifier to check a verifier.properties for failOnErrorOutput, which will suppress IT failures based on [ERROR] log output (modello outputs one of these, and kills the IT unnecessarily).
MNG-377 should be resolved at this point.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@215890 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 22:08:58 +00:00
John Dennis Casey b90c2d1e24 rolling back this change until I get the plugin-mapping stuff figured out, to keep the bootstrap working...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210200 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 20:04:16 +00:00
John Dennis Casey 03a50c1462 [MNG-377] Resolving.
Added new mojos to the plugin-plugin that will update the plugins.xml mapping metadata in the plugin's group on the distribution repository.




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210153 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 16:13:33 +00:00
Emmanuel Venisse 81afd82296 [MNG-564]. Add exception handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210144 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 15:04:13 +00:00
Emmanuel Venisse 4a0a96f918 [MNG-565]. Add missing requireDependency tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210141 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 14:28:54 +00:00
Emmanuel Venisse 9985c8f364 [MNG-561]. Adding more options for the javadoc plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210140 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 14:23:53 +00:00
Jason van Zyl 1df1ea3d1a o this release guide is really just a place holder and contains the couple
of commands i need for releasing :-)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@210060 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 03:06:36 +00:00
Emmanuel Venisse e056ac9baa git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209846 13f79535-47bb-0310-9956-ffa450edef68 2005-07-08 17:29:26 +00:00
Emmanuel Venisse a895954c38 Add our own svn config file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209815 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:21:58 +00:00
Emmanuel Venisse 9168f28699 Add our own svn config file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209814 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:19:28 +00:00
Emmanuel Venisse 6f62ddc456 [MNG-562] Add ignore failures
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209803 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 14:53:06 +00:00
Emmanuel Venisse 2a1a7c3808 set svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209772 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 13:42:56 +00:00
Emmanuel Venisse abfac2bd33 Add subversion config in developer guide.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209770 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 13:36:35 +00:00
Vincent Massol c10680bdab Fixed svn properties (eol and keywords) that were not set for non-java files in my config.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209763 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 13:17:26 +00:00
Vincent Massol 07d8d8a972 added ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209758 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 13:10:21 +00:00
Emmanuel Venisse 267dcf5d02 [MNG-562] Implement -Dmaven.test.skip=true
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209755 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 13:01:15 +00:00
Vincent Massol d6f5f354e3 added ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209753 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:57:46 +00:00
Vincent Massol 7aba39ee4d - Initial commit of the Clover plugin
- The CloverCheckMojo still doesn't seem to work and report a coverage error when used in the simple sample. Not sure why yet
- The CloverReportMojo doesn't work as mixed plugins do not seem to be supported yet.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209751 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:52:48 +00:00
John Dennis Casey 91dfd62176 Working on: MNG-377
o Normalized all references to plugins to use either o.a.m.model.Plugin or o.a.m.plugin.PluginDescriptor instances

o Changed DefaultLifecycleExecutor, PluginManager, DefaultPluginManager, MavenPluginCollector, and DoxiaMojo to reflect the above

o Added mapped-plugin resolution of goal prefixes to the DefaultLifecycleExecutor

o Added caching of PluginMappingManager instance inside of MavenSession

o Modified SettingsUtils to be more resistant to null String-Lists for pluginGroups and activeProfiles during merge.

o Added checks to MavenProject.addPlugin(..) to only add if the plugin doesn't already exist in the model.

Next step is to modify installation and deployment process for plugins to publish plugins.xml repository metadata.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209677 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 23:50:25 +00:00
John Dennis Casey 73184be8e3 Removed site-sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209626 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 17:53:39 +00:00
John Dennis Casey 19861bb4b7 this has been converted to plugin-overview.apt and developers/plugin-development-guide.apt in maven-site/src/site/apt
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209623 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 17:45:16 +00:00
John Dennis Casey b39c286733 merging in changes from the xdoc version, before I delete the xdoc version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209620 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 17:40:03 +00:00
John Dennis Casey e2468df6f4 pulling this stuff back out of site-sandbox...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209618 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 17:26:13 +00:00
Emmanuel Venisse e91013f6e5 we need extensions for figure filename. It's a difference with the original APT format, but we can't know where images are stored for check the existence of files when we generate the output.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209597 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 12:58:23 +00:00
Emmanuel Venisse 82afba636b [MNG-546]. copy resources in the correct order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209594 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 12:05:38 +00:00
Emmanuel Venisse 7ad6e2a386 Use the new doxia snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209589 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 11:21:56 +00:00
John Dennis Casey 63aab278c2 Working on: MNG-377
o Added component descriptor for the MavenPluginMappingBuilder

o Added a new ComponentDiscoveryListener implementation to factor the DefaultPluginManager out of the plexus.xml for maven-core...the DefaultPluginManager now delegates to this component for plugin registration/lookup/etc. and has proper component requirements.

o Moved the DefaultPluginManager component declaration into components.xml, and added a component definition for MavenPluginCollector to plexus.xml in maven-core

Next step is to get rid of the old pluginKey junk, and start using o.a.m.Plugin instances to hold g🅰️v info for all plugins in the system...this will make the interface cleaner and remove the need to concat/parse the plugin identity. Then, I'll add the mapped-plugin lookup functionality to the lifecycle executor.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209563 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 03:18:53 +00:00
John Dennis Casey ca59227be1 Working on: MNG-377
o Added maven-plugin-mapping project to handle repository metadata that contains prefix-to-artifactId mappings for groups of plugins

o Added builder classes for plugin mappings

o Modified maven-artifact and maven-artifact-manager to handle the concept of repository metadata in addition to artifact metadata.

o Added pluginGroups section to settings.xml, new code to merge these lists of plugin groups, and a unit test to ensure that this merge is taking place properly.

o Added maven-plugin-mapping to dependencies of maven-core, along with the list of builds to be performed by mboot.

Should be ready to incorporate plugin mapping consultation into the lifecycle executor and the deploy mojo...



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209550 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 00:17:37 +00:00
John Dennis Casey 2a403e4df3 Adding IT to cover a regression on dependencyManagement injection from parent-poms of a dependency's pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209538 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 23:12:44 +00:00
Trygve Laugstol e2d7c7622a o Adding missing file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209427 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 08:01:51 +00:00
Jason van Zyl f04f9ed2a6 o http://jira.codehaus.org/browse/MNG-516
Thanks to Andreas Hoheneder



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209401 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 03:09:21 +00:00
Jason van Zyl 2e796ceb04 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209385 13f79535-47bb-0310-9956-ffa450edef68 2005-07-06 02:10:23 +00:00
Jason van Zyl 6bc88f3a63 o correction parent specs
o fixing typo in @goal


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209382 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:43:19 +00:00
Jason van Zyl ce0655ab1c adding the antlr plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209381 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:39:35 +00:00
Jason van Zyl f53e84ae38 o http://jira.codehaus.org/browse/MNG-544
Thanks to Tim O'Brien
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209364 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 00:29:46 +00:00
Jason van Zyl ac8e816f12 o applying patch provided with: http://jira.codehaus.org/browse/MNG-499
Thanks to Matthew Pocock
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209363 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 00:24:22 +00:00
Emmanuel Venisse d4af37ae66 Fix path to remote zip file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209258 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 11:46:05 +00:00
Emmanuel Venisse 6cc912fd77 Add ear plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209083 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 14:12:10 +00:00
Emmanuel Venisse 1d7750baa2 Move maven-ear-plugin to maven-plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209082 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 14:09:46 +00:00
Emmanuel Venisse 1b69341a19 Fix version check.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209076 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 13:49:35 +00:00
Emmanuel Venisse 2af9312363 [MNG-551]. Allow adding classpath prefix to manifest Classpath.
Thanks to Kenney Westerhof.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209060 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 11:59:42 +00:00
Emmanuel Venisse 70055892fc Move plexus-utils to 1.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209031 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 07:43:12 +00:00
Emmanuel Venisse 668ea536d2 Use the new snapshot version of surefire
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209028 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 07:32:51 +00:00
Emmanuel Venisse 22c7243746 Create parent directories before write exportedpom.xml file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209027 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 07:31:59 +00:00
Emmanuel Venisse e57cac7fc9 Adding supports for encoding doctype/xschema declaration and the new provided scope.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209016 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 06:04:27 +00:00
Jason van Zyl a6eff8b8ce adding jdcasey and updating tz
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@208864 13f79535-47bb-0310-9956-ffa450edef68
2005-07-02 19:01:40 +00:00
Trygve Laugstol 66b1bd1a36 o M2_HOME has to be set.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@208783 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 19:26:56 +00:00
Trygve Laugstol 55518cbd57 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@208743 13f79535-47bb-0310-9956-ffa450edef68 2005-07-01 10:37:49 +00:00