unfortunately didnt work out.. :)

i tried with outputFilenamemapping also but :(

----- Original Message -----
From: Martin Gainty <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Sent: Thu, 30 Oct 2008 03:08:32 +0530 (IST)
Subject: RE: jar in a war with a  different name


place your <version>1.0</version> adjacent to <artifactid>

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. 


> Date: Wed, 29 Oct 2008 12:31:33 +0530
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: jar in a war with a  different name
> 
> Hi All,
>   
> We previously were building the applications using the IDE and then using 
> ant. So this particular jar was a dependency for one of the war and is 
> embedded within it.
> 
> Currenlty as part of maven migration,i have installed the same to the 
> repository as x-1.0.jar.
> 
> Now as part of the war build,i want to embed it to the war as x.jar and not 
> as x-1.0.jar
> 
> I tried many ways but it always is getting embedded as x-1.0.jar
> 
> <plugins>
>     <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-war-plugin</artifactId>
>         <configuration> 
>           <archive>
>             
> <manifestFile>${basedir}/src/main/webapp/META-INF/MANIFEST.MF</manifestFile>
>           </archive>
>       <modules>
>           <jarModule>                                                      
>                   <groupId>x</groupId>
>             <artifactId>x</artifactId>
>           <bundleFileName>x.jar</bundleFileName>
>           </jarModule>    
>         </modules>
>       </configuration>
>   </plugin>
> </plugins>
> 
> 
> Thanks in advance
> 
> Regards
> 
> 
> --
> Hyundai to launch the i20 in India. Catch the exclusive preview on 
> ZigWheels.com
> http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008


--
Hyundai to launch the i20 in India. Catch the exclusive preview on ZigWheels.com
http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW

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

Reply via email to