Commit Graph

36 Commits

Author SHA1 Message Date
Brett Leslie Porter 37f2a94bf2 PR: MNG-1088
if plugin is not built yet, go to the repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306547 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 07:10:49 +00:00
Brett Leslie Porter 8cc62ff1e5 stop using deprecated syntax
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292939 13f79535-47bb-0310-9956-ffa450edef68
2005-10-01 07:39:56 +00:00
John Dennis Casey 0b4d79d101 Resolving: MNG-1032, MNG-1033
o Improved the error diagnostics related to artifact resolution errors.

o Added xml-based documentation of supported plugin parameter expressions, including info about how to affect them ('-o' for example), how to specify them (<distributionManagement><repository/> for example in ${project.distributionManagementArtifactRepository}), and what the expressions are actually used for. This can also serve as a basis for creating documentation for plugin parameter expressions on the website.

o Improved the error diagnostics for plugin configuration errors.

o Added a couple of ITs in the 1000 series to test these two error conditions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292750 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 14:33:10 +00:00
Brett Leslie Porter 114786cbca use inherited version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292346 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 23:27:30 +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
John Dennis Casey 30d2a16b5a Resolving: MNG-823...added context-awareness to AbstractMojo, using ContextEnabled interface to avoid breaking Mojo API for direct implementors. Added two mojos in the core-it plugin to use the plugin context map, and an IT - it0073 - to test the whole thing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292023 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 19:49:37 +00:00
Brett Leslie Porter ed63f814da fix deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289631 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 18:52:06 +00:00
Brett Leslie Porter ef0b3326db test that property's work with default setter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280076 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 05:05:03 +00:00
Jason van Zyl 6b442c75a9 o adding a couple more checked to make sure the setters are executed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280000 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 12:58:03 +00:00
Jason van Zyl 169aacd4c4 o adding a mojo that uses setters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279993 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 11:55:30 +00:00
John Dennis Casey 3c53a1305d Resolving: MNG-674
o Added it0049 to prevent further regressions. ;)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231393 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 04:38:46 +00:00
John Dennis Casey b69490b828 Resolving: MNG-95
o Added --fail-fast --fail-at-end --fail-never CLI options, with appropriate summary and exclusion of dependent projects from the build when --fail-at-end is specified. Also, implemented it0046 and it1011 to test it.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227490 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 21:14:51 +00:00
John Dennis Casey 71cb5dc399 Resolving: MNG-282
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227259 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 20:43:58 +00:00
Brett Leslie Porter fc1cbaeb1e fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225474 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 07:27:08 +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
John Dennis Casey 73e549b231 o Fixing resolution of LATEST in plugin-versions, when <useLatest/> is enabled in plugin-registry.xml, or when --check-plugin-latest is specified on the command line.
o Fixing core-library resolution for expression: ${plugin.artifacts} and ${plugin.artifactMap} (latter is keyed by g:a)

o Modified maven-core-it-plugin to accept something like "-DartifactToFile=org.apache.maven:maven-artifact"...it'll lookup that artifact in ${plugin.artifactMap}, and touch a file that's a mutation of the abs. path for that artifact.

o Added pomArtifact to ResolutionGroup, since the MavenMetadataSource ALWAYS creates a new Artifact for a pom...this allows us to retrieve the resolved Artifact for that pom.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:54:24 +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
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
Brett Leslie Porter 51c53b8ddd correct parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193193 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 18:25:34 +00:00
John Dennis Casey b4ece5dbe8 Fixing versions in ITs to -alpha-3 deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193108 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 08:14:08 +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
John Dennis Casey a55fd04696 o Adding ${plugin.*} expression support for mojos. Specifically, added support for ${plugin.artifacts} to retrieve the plugin's classpath artifacts. NOTE: There may be artifacts which are FILTERED by the resolution process, since they are provided in the maven distro. NOT SURE HOW BEST TO RESOLVE THAT...but it'll cause problems with people forking certain mojos, undoubtedly.
May resolve: MNG-455



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190413 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 14:49:49 +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
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
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 91467d5de3 properly test basedir alignment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163950 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:29:44 +00:00
Brett Leslie Porter f8ca1e2c6d fix group id of parent pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163790 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:44:29 +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 4b75d55af2 workaround what will be an ongoing problem with the plugin expressions at this point
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163648 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 07:31:29 +00:00
Brett Leslie Porter 7b1f2de259 can't be half and half! move to new plugin model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163644 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 06:43:31 +00:00
Brett Leslie Porter 68f8dee678 add more functionality for testing configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163642 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 06:38:50 +00:00
Jason van Zyl 03b746ab46 o added mojo parameter which states that its type is "java.io.File" to test
the basedir alignment of mojo parameters.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163544 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 21:06:06 +00:00
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
Brett Leslie Porter 8fc9a29003 integration test updates relating to phases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163434 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 23:37:19 +00:00
Trygve Laugstol 4977f19845 o Setting some additional ignores.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163289 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 06:41:15 +00:00
Jason van Zyl fab3a26fd7 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163142 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:42:23 +00:00