That's the plugin I had in mind when I first wrote :-) Thanks for sharing the link!
This is the rub of the whole discussion. What we do with ZIP files will lend an answer to how Maven should handle resource-only artifacts. 1) How is ZIP different than any other remote resource? 2) Should there be a new POM Type + Dependency Scope for a remote resource? 3) Are plugins (like the remote-resource-plugin) in existence because of the lack of #2? Cheers, Paul On Wed, Aug 17, 2016 at 12:34 PM, jieryn <jie...@gmail.com> wrote: > https://maven.apache.org/plugins/maven-remote-resources-plugin/ > > You bundle up your resources and then you can unbundle them whenever > you want. Works nice for a lot of shared resources. Licenses, static > code analysis configurations, velocity templates, etc etc etc. > > On Wed, Aug 17, 2016 at 1:20 PM, Paul Benedict <pbened...@apache.org> > wrote: > > I'm in in the thought process of MNG-6080 and MNG-5567, and I have an > idea > > to run by the dev folks here: > > > > A ZIP file is a type of resource. A resource artifact gets a new scope to > > remain in the reactor but does not contribute to the compiling process or > > runtime environment. It's up to the build to determine how to consume it > > (via some other mechanism like input into a plugin). But is a ZIP > artifact > > really any different from any other kind of non-functional artifact? What > > about text files, markdown files, or any other kind of non-code resource > > you want to share and use? > > > > One such thought of mine was people who want to deploy OSS license files. > > Instead of keeping a static copy in a project for distribution bundling, > it > > could be part of a project dependency and added. I am pretty sure there > are > > Maven plugins specifically built for this -- but are these plugin to > > workaround the absence of native functionality? > > > > So the big philosophical question is... > > If a ZIP file is just a resource, then perhaps it's not a new Maven "zip" > > type that should be supported... it should be a new Maven "resource" type > > that can be any kind of file. > > > > Thoughts? > > > > Cheers, > > Paul > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >