You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by James Green <ja...@gmail.com> on 2017/04/10 11:03:19 UTC

Set Windows File Version metadata?

Is this possible?

I'm looking at wrapping my jar file in a Windows installer package and it
would be a lot easier if the jar on disk had a version attribute set by
Maven.

Can't see much beyond Google answers about how to use Maven on Windows :(

Thanks,

James

Re: Set Windows File Version metadata?

Posted by Curtis Rueden <ct...@wisc.edu>.
Hi James,

Did you have a look at the packaging system of JavaFX?
http://docs.oracle.com/javafx/2/deployment/self-contained-
packaging.htm#A1324980

This is a separate thing from JavaFX the UI library; it can be used to
deploy non-JFX-based (e.g., Swing) desktop applications.

There is a pretty nice Maven plugin for it, too:
https://github.com/javafx-maven-plugin/javafx-maven-plugin

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden


On Mon, Apr 10, 2017 at 6:03 AM, James Green <ja...@gmail.com>
wrote:

> Is this possible?
>
> I'm looking at wrapping my jar file in a Windows installer package and it
> would be a lot easier if the jar on disk had a version attribute set by
> Maven.
>
> Can't see much beyond Google answers about how to use Maven on Windows :(
>
> Thanks,
>
> James
>