plugins attach artifacts they generate to the reactor.

you can also use build-helper-maven-plu...@mojo to attach artifacts if
you are hacking about off the maven way (which you seem unnaturally
prone to do)

-Stephen

On 8 October 2010 18:51, Phillip Hellewell <[email protected]> wrote:
> On Fri, Oct 8, 2010 at 11:47 AM, Jon Paynter <[email protected]> wrote:
>>
>> Well based on what ive seen -- "binary artifacts" ie, jar, war, ear and pom
>> files are all generated, so they get installed.
>> Then any assemblies that you have marked as attached will also get
>> installed.
>
> Just for fun I did a test and created a bunch of files in my target
> dir named artifact-version.zip, artifact-version.jar, etc.  But it
> only installed the one that was actually generated by the package
> step.
>
> So I don't know how it could possible know, unless it somehow asks the
> plugin whose goals are bound to the package phase what it generated.
>
> Phillip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to