Actually you still can use maven.multiprojec.type

Here is an example

maven.multiproject.type=msvc

them implement

msvc:install and msvc:deploy  in your maven.xml  where
you have the luxury to deploy both dll and lib 

Better yet!!!

Take a look at maven-native-plugin, with some ehancement
( I am working on it), it can deploy both dll and lib together.

-Dan




On Tue, 22 Mar 2005 09:14:20 +0100, Deblauwe, Wim
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> we are converting to maven for our whole build process, not only for java
> modules, but also for dlls. I currently export a .mak file from Visual
> Studio and call this via a bat file from a custom goal in maven. I also
> created a custom install/deploy goal:
> 
> <goal name="cmodule:build:release:install" description="Install a Release
> version on the local repository">
>  <attainGoal name="cmodule:build:release"/>
>  <copy
> todir="${maven.repo.local}/${pom.groupId}/${maven.multiproject.type}s/${pom.
> currentVersion}">
>   <fileset dir="${maven.build.dir}/Release">
>    <include name="*.${maven.multiproject.type}"/>
>   </fileset>
>  </copy>
> </goal>
> 
> This is all very nice, but now I need to get the dll and the lib file in the
> repository. I can ofcourse write some custom ant to copy also the .lib, but
> then I can no longer make use of the ${maven.multiproject.type}, since only
> 1 type should be in there. How have others solved this problem or am I all
> alone at trying to do this? Any recommendations?
> 
> 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