The plugins are responsible for registering their artifacts into the
model. The build-helper-maven plugin has a goal that will let you
attach files from the pom


On Oct 8, 2010, at 1:51 PM, 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