> When I run "mvn plugin-i-want:some-goal" it should download
> "com.example:myProject:1.0-SNAPSHOT" from my repository, unpack it and save
> it in build directory like "compiler" plugin does with compiled code.
> So, almost like compile but instead of compiling -- just download artifact
> from repository :)

This is all simple and achievable with the dependency plugin.

project_i_want_to_test
+depends on dep1
+depends on dep2

project_i_created_just_to_run_my_tests_against_the_other_project
+depends on project_i_want_to_test
In this pom, use dependency:unpack and it will unpack
project_i_want_to_test in the proper place, right?

Its that simple. I honestly don't understand the confusion, unless you
are trying to do this without creating another project/pom which IMO
is the wrong approach.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to