Use pom packaging so that you don't deploy a jar.

Use the buildhelper-maven-plugin bound to the package phase to attach the
exe to your build.

Use the exec-maven-plugin bound to the compile phase to (I'm guessing)
invoke your native code build system to generate the .exe.

That's an all-in-the-pom way that is in the Maven spirit

-Stephen

2008/12/4 Sommers, Elizabeth <[EMAIL PROTECTED]>

> I am trying to deploy an .exe file to our repository.  I am willing to
> build a simple jar to go with it and use jar packaging but I will still
> need to attach the .exe file.
>
> -----Original Message-----
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 11:45 AM
> To: [email protected]
> Subject: [SPAM] RE: Attaching artifacts
> Importance: Low
>
>
> If your Maven POJO is a representation of a goal then a qualified 'yes'
> example located here
> http://maven.apache.org/maven-1.x/plugins/artifact/examples.html
> The bigger question is Why execute a build script with no associated
> goal ?
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained within
> this transmission.
>
>
>
>
> > Subject: Attaching artifacts
> > Date: Thu, 4 Dec 2008 11:25:31 -0500
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> >
> > Is there anyway to attach an artifact without writing a mojo to do it?
> > I would like to just do it with the pom if possible.
> >
> > Liz Sommers
> > [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Send e-mail faster without improving your typing skills.
> http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_spe
> ed_122008<http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to