Commit Graph

537 Commits

Author SHA1 Message Date
Brett Leslie Porter 15a6120bde some tidying up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219868 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 09:33:38 +00:00
Brett Leslie Porter d56d3de13d utilise more sensible surefire directory battery
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219867 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 09:30:19 +00:00
Brett Leslie Porter cfb51d7036 don't throw a runtime exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219862 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 08:52:31 +00:00
Vincent Siveton 33b34579e1 Correct typo and code format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219835 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:57:54 +00:00
Brett Leslie Porter 3cb6be8740 set eol style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219827 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 01:27:41 +00:00
Brett Leslie Porter 685bfbcb12 apply some inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219826 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 01:24:35 +00:00
John Dennis Casey 11082da5f4 Fixing bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:27:24 +00:00
John Dennis Casey 76d971b4ba Removing leftover lifecycle binding for ValidatePomMojo in the maven-plugin-plugin (removed that last night).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219716 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 17:15:41 +00:00
Brett Leslie Porter c28872c779 add license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219614 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 04:07:33 +00:00
Brett Leslie Porter 853b70081b cleanup, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219588 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 01:11:17 +00:00
Brett Leslie Porter e53ecf1af2 remove old comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219471 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:51:18 +00:00
Emmanuel Venisse 561e012256 Allow to define test to run from cli
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219453 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 04:31:51 +00:00
Vincent Siveton 5f412ebb40 Upgraded to plexus-site-renderer-1.0-alpha-2 and corrected a NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219253 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 22:55:33 +00:00
Vincent Siveton 8d0d2759a3 Removed \U000C character in .apt files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219190 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 12:42:28 +00:00
Vincent Siveton 28cee4f515 Beautified Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219151 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:56:03 +00:00
Vincent Siveton cd2f81534e Updated Test case for MNG-584 and MNG-585 issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219149 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 01:46:41 +00:00
Emmanuel Venisse 06597924cf Fix svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219087 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 20:12:21 +00:00
John Dennis Casey 5de8088b0b STILL trying to get the damn repository stuff right...thanks for the pointer, Kenney.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219045 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 14:51:41 +00:00
Vincent Siveton 4001df5247 MNG-584 and MNG-585: updated the Velocity template and added test case
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218985 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:28:06 +00:00
Vincent Siveton 045b43f08e Added test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218984 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:17:00 +00:00
Vincent Siveton 64a704b7b7 MNG-582: generate an index.html
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@218981 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 04:07:08 +00:00
John Dennis Casey 99c8250b8f Applying partial patch for MNG-266. Thanks Andreas.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216282 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 22:58:28 +00:00
John Dennis Casey 133d3c9330 Applying patch(es) for: MNG-576
One change:

o Applied lifecycle mapping patch to a new file in src/main/resources of the ear plugin project, to create META-INF/plexus/components.xml with the custom lifecycle mapping.

This plugin needs an integration test.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216275 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 22:08:02 +00:00
John Dennis Casey 0cc696a407 Working on: MNG-576
o Implemented plan from my comments on MNG-576 for looking up lifecycle mappings within plugins.

o Fixed subtle bug in DefaultWagonManager for verifying checksums, where the destination file was being used to verify the checksum rather than the recently download temp destination.

o Fixed the DefaultRepositoryMetadataManager.resolve(..) method to allow the locally-installed metadata to be used if it is newer than the one resolved from the repository.

o Moved the lifecycle mappings for the EJB and WAR plugins out to META-INF/plexus/components.xml in the respective plugin's src/main/resources directory. it0016 and it0017 still pass.

o Changed the distributionManagement repository for maven-plugins/pom.xml to have id of 'central-plugins' and then added a normal artifact repository definition for central-plugins to that pom, to allow locally-installed repository metadata for the plugins to be put in the right place (and these builds should have access to the central plugin repo anyway).

o Changed the DefaultPluginMappingBuilder to only warn when plugins.xml for a particular plugin group is missing.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216273 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 21:57:57 +00:00
Vincent Siveton a108dd47a5 Take care about generatedSiteDirectory var
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216145 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 12:20:40 +00:00
John Dennis Casey 20047d63c9 Fixing problem with using distributionManagement repository definition for download of plugins.xml metadata.
Now, in order to build a maven plugin, you need two things:

1. a repository defined in distributionManagment
2. a repository defined in <repositories/> which has the same id as the one in distributionManagement.

This is necessary, since in most cases SSH will be used in the distributionManagement definition for uploading the plugin...which means that the download of the existing plugins.xml file might not be available for users trying to run an install. SSH requires authentication information, and users (particularly those running the bootstrap) might not have this auth info.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216013 13f79535-47bb-0310-9956-ffa450edef68
2005-07-12 20:08:21 +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 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 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
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
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 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
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
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
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 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 504e281d0e Add a check on objects return by DefaultPluginManager.getReports for MNG-530
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202142 13f79535-47bb-0310-9956-ffa450edef68
2005-06-28 07:06:03 +00:00
Emmanuel Venisse a029d766ce Update all versions to beta-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
Emmanuel Venisse c3665ae359 [MNG-515]. Each language can have their own site descriptor (site.xml for default language, site_fr.xml for french menu)
Each i18n site must be under site directory:
src
  site
    apt <= default language
    xdoc
    fr
      apt <= french content
      xdoc

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201584 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 09:06:47 +00:00
Brett Leslie Porter 92fb6285eb put the site mojo back how it was. deployment was silently failing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201544 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 02:04:18 +00:00
John Dennis Casey 7826a7b3ca [maven-release-plugin] prepare for development 2.0-alpha-4-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201543 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 02:03:20 +00:00
John Dennis Casey d0e515cbb5 [maven-release-plugin] prepare release 2.0-alpha-3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201541 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 02:03:06 +00:00
John Dennis Casey 96bdd2c56b preparing for re-release to fix version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201532 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 01:34:55 +00:00
John Dennis Casey 5bb4e3565a preparing for re-release to fix version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201531 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 01:34:23 +00:00
Emmanuel Venisse 70a13f3f56 [MNG-510]. Fix classpath order.
Thanks to Kenney Westerhof

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193164 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 15:22:57 +00:00
John Dennis Casey ec3b76f58d Removed @readonly from finalName for this plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193134 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 11:02:55 +00:00
John Dennis Casey 61db258aa9 Adding --no-plugin-updates to release:perform mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193105 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 08:08:10 +00:00
John Dennis Casey fcbc5e7d6f Resolving: MNG-495
o Pressing [ENTER] at a plugin update prompt should result in the plugin being registered, as indicated by the prompt.
o Use CLI switch '--no-plugin-updates' to suppress usage of the plugin registry
o Use CLI switch '--update-plugins' to force updated/resolved plugin versions to be registered
o Neither of these has a short CLI option, since we're starting to run out of sensible char options for these types of things.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193082 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 06:03:10 +00:00
Brett Leslie Porter bcf34b9bb5 new distribution location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193080 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 05:54:36 +00:00
John Dennis Casey 6100b37321 Updating non-maven, non-modello deps to get rid of snapshots. Also removed marmalade stuff from mboot.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193052 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 02:31:28 +00:00
Emmanuel Venisse c0131f4de4 Use basedir as working directory for tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@192996 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 21:06:32 +00:00
Emmanuel Venisse 60a2d6e545 Rename for correct use with i18n.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@192993 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:19:13 +00:00
Emmanuel Venisse 25d5870150 Don't use tag for commit. Commit pom change in the current branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191777 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 07:07:17 +00:00
Brett Leslie Porter 2ebe7275bf PR: MNG-178
Submitted by: Kenney Westerhof
Reviewed by:  Brett Porter

add filtering support to the resources
(applied with modifications)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191749 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 01:21:07 +00:00
John Dennis Casey fd3e9fe9e2 Fixing artifact handling to only process the runtime artifacts, and select out the tld's from that. This is for the war mojo, BTW. :)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191688 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 17:13:24 +00:00
John Dennis Casey e90ba206d3 PR: MNG-500 Not sure if anything else is touched besides the war mojo. If so, we should factor the inclusion logic into some sort of component for maintenance purposes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191674 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 16:08:40 +00:00
Brett Leslie Porter 6cd2e31078 refactoring of the resolveTransitiveDependencies call.
simplified by removing a bunch of duplicated code in addArtifacts - no need to merge, you have the full list. 
separated the original artifacts (dependency artifacts) from the resolved artifacts (getArtifacts)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191667 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 15:32:02 +00:00
Brett Leslie Porter 26d36d8959 PR: MNG-140
split artifact impl from api so that dep resolution can be used independently of wagon
only the first step in making maven-artifact more useful as a public api - more changes to be made


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191634 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 06:49:49 +00:00
Brett Leslie Porter b61ca41b76 update api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191619 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 03:02:13 +00:00
Brett Leslie Porter 6dd6a7f146 let's try that again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191581 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 22:38:04 +00:00
Brett Leslie Porter 046dc5d63c make mojos backwards compat with alpha-2, and run with the eclipse test unmodified
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191579 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 22:35:26 +00:00
John Dennis Casey 9b5c187e43 Commenting maven-eclipse-plugin and it0027...eclipse plugin is missing from injected parameters, and it0027 cannot find core-it:fork. NOTE: this is based on a mirror setup directly to ibiblio.org, since codehaus was having web problems. When codehaus is again reliable, I'll take the mirror back out and try it0027 again...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191533 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 18:47:58 +00:00
Brett Leslie Porter 8dec28247b PR: MNG-471
implemented cloned lifecycle, project and tests. update mojos accordingly


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191476 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 14:42:56 +00:00
Brett Leslie Porter 60f4482686 change <model> to <project> in root tag.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 07:18:24 +00:00
Brett Leslie Porter 81fe76fd27 PR: MNG-471, MNG-489
- refactor project out of MavenSession so that it can be cloned
- refactor lifecycle construction out so we can clone the existing one and pass it into a new execution
- only resolve plugins that are executed (MNG-489)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191413 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 07:17:32 +00:00
Brett Leslie Porter 7299bd7058 PR: MNG-469
remove MavenConfiguration class



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191301 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 16:52:44 +00:00
Brett Leslie Porter 1a63032af4 PR: MNG-469
configure reports according to spec:
- <reporting> section affects reports run through site and standalone
- <build> section affects reports run standalone and overrides anything already in <reporting>
- command line parameters rule all



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191298 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 16:21:49 +00:00
Brett Leslie Porter 7f0f194fca add deprecation message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191286 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 13:10:15 +00:00
John Dennis Casey fdfb9d5a2d Changing <reporter/> to <plugin/> in the reporting section.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191266 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 04:23:20 +00:00
Brett Leslie Porter 29439c710c PR: MNG-476
guarantee comands are executed in order

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191256 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 02:44:08 +00:00
John Dennis Casey 60750dede2 Working on issue: MNG-469
o Changed <reports/> in the Model to <reporting/>, to accommodate the <reports/> inside of <reportSet/>.

o Changed the report-plugin class <plugins/> inside of <report[ing]/> to <reporters/>, which means using a new class called Reporter (this is meant to be a Plugin-like model for reports, with reportSets rather than executions...)

o Changed the MavenProject to reflect these two model changes

o Added support to the inheritance assembler to perform deep inheritance of the reporting model (complete with calculations based on the <inherit/> attributes on Reporter and ReportSet).

o Updated DoxiaMojo, Pom, and DefaultPluginVersionManager to reflect the new model classes and MavenProject methods.

This is only round one of the changes for this issue. The next step is to start binding report configuration to the plugin manager via the lifecycle executor (it will traverse the reporting section, and verifyPlugin() to enable direct calls to the report's mojo).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191239 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 00:43:00 +00:00
Brett Leslie Porter bb39d626aa set file to copy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191114 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 08:49:52 +00:00
Brett Leslie Porter 80fa5ad89e - fix issues with source mojo
- attach source artifact for install/deploy


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191113 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 08:44:39 +00:00
Brett Leslie Porter fb065d7858 PR: MNG-257
- hook up the source:jar goal to packaging, but only execute for non-SNAPSHOT builds
- allow comma-delimited list of goals in phase definitions
- only register necessary phases for the goals given


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191111 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 08:33:41 +00:00
Brett Leslie Porter 01e6c8daa6 PR: MNG-257
refactor artifact creation to all go through the factory, and assign the type handler from there.
Attach EJB client to the EJB artifact so that it is installed/deployed along with it.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191096 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 06:49:57 +00:00
John Dennis Casey a3cf96219f Resolving issue: MNG-379
o Added support for update-all and update-none when prompting the user.

o Added --update-plugins/-F option to force an update of the plugins used in the project.

o Added autoUpdate setting for the plugin registry. This is used when in non-interactive mode, to determine whether to register plugin updates

o Added updateInterval to determine when/how often to check for updates to registered plugins. Supports three syntaxes:

  - 'never'
  - 'always'
  - 'interval:XXX' (where XXX can be a combination of weeks, days, hours, and minutes in the syntax: 1w1d1h1m)
         > this renders the interval syntax similar to 'interval:1w' to check every week.

  NOTE: update intervals are calculated from the time a particular plugin was last checked.

o Added lastChecked attribute for registered plugins, to use as a basis for calculating update-check interval

o Added RuntimeInfo classes for maven-settings and maven-plugin-registry, to help in tracking the file each instance comes from, in addition to merging info which is useful when extracting the user-level instance from the merged instance (for persisting changes to the user instance, f.e.).

o Changed verifyPlugin(..) to take an instance of Settings, to allow persistent decisions across the session (like update-all, update-none in the plugin version manager)

This should take care of outstanding issues with this new feature. I'm closing the JIRA issue now, and we'll deal with any bugs/shortcomings as separate issues.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191021 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 22:38:57 +00:00
Brett Leslie Porter ac2d8a7e83 PR: MNG-415
implement provided scope


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190930 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 15:02:07 +00:00
John Dennis Casey b813c3d430 Working on issue: MNG-379
Added specified stop-gap patch for issue: MNG-473 (affects settings-builder and registry-builder)

Today I've made the following progress on this so far:

- Added a new project, called maven-plugin-registry, to house the model for this new file.

- Developed/debugged/tested PluginVersionManager/DefaultPluginVersionManager to isolate the plugin-version checks/management code away from the PluginManager

- Added interactiveMode (<interactiveMode>true|false</interactiveMode> directly under the root element of settings.xml, or -B short CLI option or --batch-mode CLI option, where the CLI options turn OFF interactiveMode). This will allow things like the maven-plugins build to register new plugins (and, for now, new versions of plugins) automatically.

- Added user input handler for when interactiveMode = true, to get a yes/no on whether to use the discovered version over the installed version and/or no version at all. If there is no installed version, and the user selects 'n', then the discovered version is used FOR THAT SESSION ONLY, and won't be recorded in the registry.

- Added checks/recording rejected versions against the registry, before attempting to use the discovered version.

Pending:

- Still need to add update-policies, to determine two things:

  1. how often to check for updates
  2. what to do when updates are found (autoUpdate, etc.)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190854 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 01:50:28 +00:00
John Dennis Casey 685ba3412b Added projecthelp:effective-settings mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190615 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 15:26:43 +00:00
John Dennis Casey d2e1f3c975 o Adding support for <executions/>, which means multiple runs of the same goal/set-of-goals with different configs.
o Adding @phase declarations for those mojos that seem to be part of the main build, just for completeness
o Added two ITs, to test that <executions/> doesn't mess up the normal operation, and to test multi-execution for a goal.

Should resolve: MNG-172.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190335 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 02:47:57 +00:00
Brett Leslie Porter 45d95aa6fb update parent references to get access to the ci settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189881 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 02:42:40 +00:00
Brett Leslie Porter a787f8dd0e add ci management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189878 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 02:33:05 +00:00
Brett Leslie Porter 2a8ed2f339 PR: MNG-154
Define the lifecycle according to packaging.
Some more work on the structure of this is required.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189871 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 00:57:19 +00:00
John Dennis Casey 921d4ced59 o Started maven-projecthelp-plugin to help with build analysis (this helped me to visualize profile stuff)
current goals:
     projecthelp:active-profiles
     projecthelp:effective-pom

o Added source attribute to the Profile model class in maven-model, along with code in the normalization utilities (converters from profiles.xml and settings.xml models to maven-model instances) to identify the source of a particular profile.

o Added a activeProfiles cache of the Profiles in effect for the current project, on the MavenProject class



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189612 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 17:54:11 +00:00
Emmanuel Venisse 12cf74a46a git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188733 13f79535-47bb-0310-9956-ffa450edef68 2005-06-07 08:39:24 +00:00
Emmanuel Venisse 92a347519c Don't run surefire for pom project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188732 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 08:36:15 +00:00
Emmanuel Venisse b33c9d140f Generate eclipse project only for projects with packaging != pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188731 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 08:35:04 +00:00
Brett Leslie Porter 420d9a5fca remove old cvs ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
Brett Leslie Porter 9d31796e99 PR: MNG-366
reverse the reference. DoxiaMojo depends on maven-core instead of maven-core depending on the reporting api + doxia

This is not a great solution, but it gets us closer. It is currently not possible, as before, to get the correct set of reports as they are all loaded into the one container and then everything found is returned.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188690 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 04:41:54 +00:00
Brett Leslie Porter 8e007306d2 use defaults
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188650 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 01:21:52 +00:00
Brett Leslie Porter 4d43a4d43c only copy directory if it exists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188644 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 01:12:02 +00:00
John Dennis Casey a96a03d0a0 o Removed dependency on plexus-container-artifact, using nested DefaultPlexusContainer instances instead for plugin isolation.
o Moved marmalade support dependencies out of maven-core, since they can be supported on demand now
o changed the ordering of the ant and assembly plugins, to show that the classloader (plugin param) bug is fixed.
o added a method in PluginDescriptor which is similar to o.a.m.model.Plugin.getId() (I think that's the method; it's the one that results in a key of 'g:a')
o moved wagon-ssh dependency into maven-core, since there is a new issue related to nested containers and wagons which are introduced as plugin dependencies. This should be solved using a mechanism similar to plugin-manager for wagon-manager impl in future anyway

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@187639 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 00:37:01 +00:00