see if this, 
http://maven.apache.org/plugins/maven-war-plugin/examples/file-name-mapping.html,
would help

-D

On Wed, Oct 29, 2008 at 12:01 AM,  <[EMAIL PROTECTED]> wrote:
> 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]
>
>

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

Reply via email to