Greetings,

On Tue, Apr 24, 2012 at 8:42 AM, Benson Margulies <bimargul...@gmail.com> wrote:
> I was wondering how
> hard it would be to build a plugin, perhaps inspired by the scm
> plugin, that could download and build source.

While I don't think I would personally use the reasons you want this
plugin, I have several times before wanted to be able to materialize a
project's source tree from a GAV coordinate. In my mind, I had seen
this as mojos for m-dependency-p, where it already has the notion of
copying dependencies and otherwise working with them, some examples:

http://maven.apache.org/plugins/maven-dependency-plugin/

mvn dependency:materialize -DgroupId=g -DartifactId=a -Dversion=v  OR
-Ddependency=g:a:v
mvn dependency:materialize-dependencies

I agree, it would be great if it could locate the artifact using
standard resolution, download parent chain, figure out the scm, then
use maven-scm to check the version out (trunk if none specified). For
materialize-dependencies, it should do that for all dependencies
specified.

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to