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
3e43906df3
don't inherit whole objects, must clone them
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169801 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 10:25:35 +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
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
d64970af4d
propogate more ArtifactResolutionExceptions directly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169557 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 02:13:18 +00:00
Brett Leslie Porter
e0b2aea99e
PR: MNG-374
...
don't let the original plugin configuration get polluted during goal attainment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169485 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:35:26 +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
John Dennis Casey
7eda955b1d
o Cleaned up a couple of things in repoclean that broke with the last update.
...
o Added concept of ErrorDiagnoser to help interpret errors and provide user feedback
o Added PluginParameterException to provide richer information than simply PluginConfigurationException (it's derived from PluginConfigurationException)
o Added implementations of ErrorDiagnoser for artifact resolution and plugin configuration handling.
o Modified DefaultMaven's logFailure(..) method to use errorDiagnosers Map (injected via Plexus)
I approached the plugin parameter expression/name feedback in this way, as it seems like a general pattern for interpreting errors without embedding this logic deep within the app itself. Feel free to rollback if this causes issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169379 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:01 +00:00
Brett Leslie Porter
05affa0a65
PR: MNG-192
...
Add "RELEASE" notation so that plugins without a version can be discovered
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169303 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 12:30: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
3f031d5722
avoid NPE if there are not report plugins defined in the POM when generating the site.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168565 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 08:05:52 +00:00
John Dennis Casey
eb0807bb45
Missed one on the mojo api cleanup and dupe checking commit...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168485 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:38:10 +00:00
Brett Leslie Porter
7363dbc843
PR: MNG-145
...
Implement and document repository download mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168292 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:16:07 +00:00
John Dennis Casey
9e8bf3d291
Improved the error message coming from a bad plugin configuration. Not sure what else needs to be done for this.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168186 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 20:41:07 +00:00
Brett Leslie Porter
acfba80edc
consolidate defaults injection
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168152 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 17:34:52 +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
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
dfb2dfcaa1
Corrected goal and plugin configuration injection (from managed info).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165096 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:21:11 +00:00
Brett Leslie Porter
05ebfd3b91
fix bug I introduced
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165090 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 03:31:49 +00:00
Brett Leslie Porter
bd286bfc46
clean up the inheritence of build
...
- don't copy build verbatim if missing to ensure you don't get things that aren't intended for inheritence
- this ensures plugins are -never- inherited
- plugin management inheritence was fixed by John - moved it under build to be clearer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165089 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 02:13:49 +00:00
John Dennis Casey
4441daa199
Cleaning up imports.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165018 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 17:58:59 +00:00
John Dennis Casey
7d7c4ed4aa
Fixing per MNG-357. Inheritance/injection of pluginManagement did not follow the same conventions intended and established by that of dependencyManagement. This fix makes the two more consistent, and allows for more local control over plugin configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165016 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 17:37:50 +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
Brett Leslie Porter
27f12f85c1
restore deleted files, and fix package on ProjectArtifactMetadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164909 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 23:19:21 +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
e20bb9a1d9
add repository inheritence tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164769 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 09:19:39 +00:00
Brett Leslie Porter
3fe271300e
reformat and update copyright
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164760 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 07:39:27 +00:00
Brett Leslie Porter
00d581599b
move MavenMetadataSource to maven-project from maven-core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164391 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:02:01 +00:00
Brett Leslie Porter
23835350c8
fixes related to changing the path of parent poms, though the actual functionality is not implemented
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164346 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 06:24:08 +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
e313416d63
separate maven-project code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164217 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 11:01:33 +00:00
Brett Leslie Porter
48c5fccf3f
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163992 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 01:06:52 +00:00