Take a  lookat maven-jar-plugin's plugin.jelly, it shows you how to use

maven-artifact-plugin tag to deploy any file type you'd like.

-D


On Tue, 15 Mar 2005 09:08:37 +0100, Deblauwe, Wim
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I can deploy a jar file to the remote repository fine using
> jar:deploy-snapshot. But we also have c modules that output a dll or an exe.
> How can I deploy those to the remote repository? I have no problem writing
> some custom ant to do this:
> 
> <goal name="cmodule:build:release:deploy-snapshot" description="Install a
> Release SNAPSHOT version on the remote repository">
>  <attainGoal name="cmodule:build:release"/>
>  <copy
> todir="${maven.repo.nameOfMyRepo}/${maven.repo.nameOfMyRepo.directory}/${pom
> .groupId}/dlls/SNAPSHOT">
>   <fileset dir="${maven.build.dir}/Release">
>    <include name="*.dll"/>
>   </fileset>
>  </copy>
> </goal>
> 
> But this has "dlls" fixed as directory. I'm searching for a property that
> has 'jar' by default in it and which I can override for projects that use
> dll's or exe's so I can copy to the correct directory.
> 
> regards,
> 
> Wim
> 
> Ing. Wim Deblauwe
> Software Development Engineer
> 
> BarcoView - Medical Imaging Systems
> President Kennedypark 35
> B-8500 Kortrijk, Belgium
> Tel. +32 56 233 985 Fax +32 56 233 457
> www.barco.com <http://www.barco.com/>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liablility for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to