Commit Graph

107 Commits

Author SHA1 Message Date
Vincent Siveton c0a503396e MNG-1216, MNG-1239: Add a default bundle (safety) for assembly-plugin, pmd-plugin, clover-plugin, site-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326881 13f79535-47bb-0310-9956-ffa450edef68
2005-10-20 10:44:25 +00:00
John Dennis Casey 32d5f59762 Putting beanshell back in the dependencies list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326646 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 18:46:47 +00:00
John Dennis Casey 1dca6e1b69 Restoring 2.0.1-SNAPSHOT maven dependency versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326374 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 04:17:20 +00:00
John Dennis Casey 0fd68fb754 Ant support is working. I want to revisit the testing before I let it go, though.
o Added maven-script-ant to wrapper Ant-based Plexus components in a Mojo-compliant shell

o Added maven-plugin-tools-ant to extract plugin descriptor metadata from Ant-based plugin sources

o Revised the maven-plugin-tools-model, which can be used as a generic companion metadata file for things like Ant-based mojos. It now includes an analogy to @parameter default-value=""

o Added javadoc format for DefaultWagonManager, correcting the name of an exception thrown by the configureWagon() method.

o Changed the required version of maven-plugin-tools-api in the plugin-plugin to 2.0.1-SNAPSHOT, to accommodate changes in the script-based mojo descriptor extractor API. This allows companion metadata files for mojo scripts, as in the case of Ant.

o Removed maven-plugin-tools-beanshell from the plugin-plugin's dependencies. It can be included as a plugin-dependency in the plugin projects that need it, in similar fashion to Ant's extractors.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326372 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 04:14:13 +00:00
Brett Leslie Porter 9428fb20d3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321369 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 16:34:42 +00:00
Brett Leslie Porter f43c6887b8 [maven-release-plugin] prepare release maven-plugin-plugin-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321367 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 16:34:15 +00:00
Brett Leslie Porter 65bd735849 not necessary, reverting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321130 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 14:17:39 +00:00
Brett Leslie Porter 1f81c64a42 it seems the plugin parent needs to be the same one as in the reactor to build itself.
This is a very isolated case to the plugin plugin - a minor issue will be filed in JIRA


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321109 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 13:22:24 +00:00
Brett Leslie Porter d095c64b00 update versions in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321048 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 08:08:16 +00:00
Brett Leslie Porter 24682f85e8 remove duplicate tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307353 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 03:31:27 +00:00
Brett Leslie Porter 510de4fe54 upgrade plexus utils to 1.0.4-SNAPSHOT.
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +00:00
Brett Leslie Porter 6e0a157eb3 add artifact not found diagnoser
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307039 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 07:19:32 +00:00
Brett Leslie Porter 36b0bfffaf PR: MNG-1034
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
switch plugins to use the outputDirectory field of <reporting>

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306506 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 03:09:20 +00:00
John Dennis Casey a96c8a7692 Fixing it0013 and it0020, and adding next installment of describe mojo implementation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294957 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 00:33:03 +00:00
Brett Leslie Porter 06e8eac574 put back omitted tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294813 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 16:27:57 +00:00
Brett Leslie Porter 9287eb1c90 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294812 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 16:21:49 +00:00
Brett Leslie Porter 2f62adc731 [maven-release-plugin] prepare release maven-plugin-plugin-2.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294810 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 16:21:33 +00:00
Brett Leslie Porter c4b203dd62 use released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293592 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 12:29:10 +00:00
Brett Leslie Porter 3bcde49fca add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293566 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 08:25:33 +00:00
John Dennis Casey e6dcc36ed5 Resolving: MNG-449, MNG-832
o If the metadata version is still in the plugin artifact after it's resolved, then simply return null and allow the plugin version resolution process to fail.

o Added a new mojo to update the plugin registry (if it's enabled) with newly installed versions of plugins.

o Added comments to maven-settings and maven-plugin-parameter-documenter poms marking the packageWithVersion config as deprecated pending modello alpha-5

o Cleaned up it0013 and it0020 to work with the new resolution (point one above).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293520 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 04:19:40 +00:00
Jason van Zyl aa4344bae0 o adding the name to the deploy plugin metadata so that i can pull it down
and display it in an IDE


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292339 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 22:56:41 +00:00
Brett Leslie Porter 31a4d8ea41 PR: MNG-951
timestamp the metadata so that it can be merged correctly

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292139 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 08:08:45 +00:00
Brett Leslie Porter ddfcc65d55 PR: MNG-817
add goal="..." to @execute

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292125 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:09:14 +00:00
Vincent Siveton 1c5b9d4057 For MNG-706 comments: upgraded org.apache.maven.reporting:maven-reporting-impl to 2.0-beta-3-SNAPSHOT (required for new features in AbstractMavenReportRenderer class, see revision 291668); Updated renderBody() to handle correctly relative path and javadoc plugin as HTML; Added documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291895 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 10:41:19 +00:00
Brett Leslie Porter e84044cf94 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291852 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 07:56:07 +00:00
Brett Leslie Porter f82dcafaad [maven-release-plugin] prepare release maven-plugin-plugin-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291850 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 07:55:52 +00:00
Brett Leslie Porter 78e74cd7fe lining up versions. still use beta-1 where appropriate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291803 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 00:56:40 +00:00
Stephane Nicoll 0c2913667d updated reporting-impl dependencies to beta-2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291315 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 15:32:57 +00:00
Stephane Nicoll b3d8dcb9a7 MNG-706: Implemented plugin:xdoc as a report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291309 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 15:22:36 +00:00
Brett Leslie Porter 8858d8f85c PR: MNG-629
preparing for executing the lifecycle by passing reports into the site plugin, rather than extracting them from the plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 06:45:50 +00:00
Brett Leslie Porter b9530ad337 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289431 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:39:57 +00:00
Brett Leslie Porter fc9951d22c [maven-release-plugin] prepare release maven-plugin-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289429 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:39:24 +00:00
Brett Leslie Porter c44890b92c update dependency and parent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289378 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 04:30:44 +00:00
Brett Leslie Porter 40738a5a86 PR: MNG-613
clean up

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280241 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 03:13:50 +00:00
Jason van Zyl bb35ab5dfc o removing yet more references to the old cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279899 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 22:39:43 +00:00
Brett Leslie Porter 8f3c207194 PR: MNG-613
changes versioning to use repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278881 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 23:12:55 +00:00
Brett Leslie Porter abd4ae6018 PR: MNG-613
make repository metadata behave more like snapshots with daily updates.
next step is to move the version checking to use that instead and fallback to the old files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266298 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 07:16:16 +00:00
Brett Leslie Porter 9b6a7939db rename group metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265618 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 01:56:04 +00:00
Brett Leslie Porter 6731a0485b updated API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264971 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:21:35 +00:00
Brett Leslie Porter c991b41571 refactoring towards similar pattern of artifact metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264967 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:11:47 +00:00
Brett Leslie Porter e0457b0204 PR: MNG-613
reorganise in preparation for generalised repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264091 13f79535-47bb-0310-9956-ffa450edef68
2005-08-29 06:37:33 +00:00
John Dennis Casey 1e1efffcba Resolving: MNG-592 (again)
o Modified the PluginMappingDeployMojo in maven-plugin-plugin to always deploy the plugins.xml regardless. This may be a bit heavy, but it avoids the snag with the plugins.xml being detected in the local repository after the install phase runs...plugin mappings weren't making it to the repository during deploy.

o Added a new series of IT: it2xxx which will be tests that require more than a single maven invocation, and will be run via shell script, at least for now. This one builds and deploys a plugin, then attempts to use the plugin by referencing the prefix mapping in the (non-central) remote repository.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231058 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 16:11:40 +00:00
Brett Leslie Porter e78bef0429 PR: MNG-598
implement ability to retrieve packaging handlers (lifecycle mappings) from extension plugins. Remove plugin mapping
metadata for the same
integration tests are in place for type handlers but commented out until implemented (41)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225263 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 09:04:32 +00:00
Brett Leslie Porter 086463b5b4 PR: MNG-456
allow separate snapshot and release repositories
deprecate existing snapshotPolicy and checksumPolicy in favour of updatePolicy and checksumPolicy within the <releases> and <snapshots> elements in the <repository> element.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224707 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 09:51:12 +00:00
Brett Leslie Porter 511af3d3e2 PR: MNG-596
add XSD definition to m2 poms and archetypes



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220079 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:58:42 +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
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
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