[
http://jira.codehaus.org/browse/MRRESOURCES-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92383
]
Daniel Kulp commented on MRRESOURCES-21:
----------------------------------------
I'm going to use most of this patch. Thanks a bunch.
The main change I'm going to make is to make supplementalModelFile an array of
Strings (called supplementalModels) and use a ResourceManager to obtain them.
The main benifit this has is that supplements can be stored in a jar that is
added as a dependency to the plugin, much like checkstyle/pmd config files.
You can also have multiple files. Some as dependencies, some in the src tree,
etc...
> Supplement the data model used by Velocity
> ------------------------------------------
>
> Key: MRRESOURCES-21
> URL: http://jira.codehaus.org/browse/MRRESOURCES-21
> Project: Maven 2.x Remote Resources Plugin
> Issue Type: Improvement
> Affects Versions: 1.0-alpha-4
> Environment:
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-remote-resources-plugin
> r523911.
> Reporter: Elliot Metsger
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 1.0-alpha-5
>
> Attachments: MRRP-21.patch, MRRP-21.patch
>
>
> Related to MRRESOURCES-2, I'd like to be able to deal with artifacts that
> have incomplete POM's, because incomplete NOTICE files are generated.
> But instead of having the MRRP append to a locally managed NOTICE file like
> MRRESOURCES-2, I'd like to augment the data model used by Velocity.
> The idea is that MRR plugin will take a parameter to a file which contains
> POM XML snippits. The ModelInheritanceAssembler merges the POM XML snippits
> with the actual artifact POM. Thoughts? I'll plan on submitting a patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira