You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Rodrigo Madera <ro...@gmail.com> on 2008/03/01 18:28:27 UTC

Bundle Plugin: Force final JAR filename

Hello community,

Is there a way to force the final filename for a given bundle using
maven-bundle-plugin?

Thank you for your attention,
Rodrigo

Re: Bundle Plugin: Force final JAR filename

Posted by Rodrigo Madera <ro...@gmail.com>.
Thank you!

Regards,
Rodrigo

On Sun, Mar 2, 2008 at 3:12 AM, Stuart McCulloch <
stuart.mcculloch@jayway.net> wrote:

> On 02/03/2008, Rodrigo Madera <ro...@gmail.com> wrote:
> >
> > Hello community,
> >
> > Is there a way to force the final filename for a given bundle using
> > maven-bundle-plugin?
>
>
> yes - as with any Maven project just set the finalName in the build
> descriptor, for example:
>
>  <build>
>    <finalName>myBundle</finalName>
>    <!-- etc... -->
>  </build>
>
> and you should see the final bundle in "target/myBundle.jar"
>
> however, note that setting finalName does _not_ change the name of the
> artifact installed
> in the local/remote maven repository, because this is controlled by the
> repository layout.
> ( you will see the same thing with other packaging types, such as "jar" )
>
> Thank you for your attention,
> >
> > Rodrigo
> >
>
> --
> Cheers, Stuart
>

Re: Bundle Plugin: Force final JAR filename

Posted by Stuart McCulloch <st...@jayway.net>.
On 02/03/2008, Rodrigo Madera <ro...@gmail.com> wrote:
>
> Hello community,
>
> Is there a way to force the final filename for a given bundle using
> maven-bundle-plugin?


yes - as with any Maven project just set the finalName in the build
descriptor, for example:

  <build>
    <finalName>myBundle</finalName>
    <!-- etc... -->
  </build>

and you should see the final bundle in "target/myBundle.jar"

however, note that setting finalName does _not_ change the name of the
artifact installed
in the local/remote maven repository, because this is controlled by the
repository layout.
( you will see the same thing with other packaging types, such as "jar" )

Thank you for your attention,
>
> Rodrigo
>

-- 
Cheers, Stuart