Skip to content

Fixes launch4j publishing on release#93

Merged
sergkh merged 1 commit intomasterfrom
lanunch4j-fix
Apr 18, 2023
Merged

Fixes launch4j publishing on release#93
sergkh merged 1 commit intomasterfrom
lanunch4j-fix

Conversation

@sergkh
Copy link
Copy Markdown
Member

@sergkh sergkh commented Apr 18, 2023

This PR attempts to fix launch4j configuration, as starting from launch4j 3.50 JRE path is required. The 3.50 version was published after the last successfull release and even though we haven't updated the launch4j version ourselves, it seems the plugin takes the latest one automatically.

Locally the change works, so hope GH Action will like it as well.

@sergkh sergkh marked this pull request as ready for review April 18, 2023 09:10
@sergkh sergkh requested a review from martinpaljak as a code owner April 18, 2023 09:10
Copy link
Copy Markdown
Contributor

@luisrodero-fidesmo luisrodero-fidesmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! But I added a small recommendation about updating README to tell users that setting JAVA_HOME is mandatory (well, if that's the case).

<mainClass>com.fidesmo.fdsm.Main</mainClass>
</classPath>
<jre>
<path>${env.JAVA_HOME}</path>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How bad is it if the user has not defined a JAVA_HOME? I ask because I'm not certain that all users will have that env var set. Maybe we can add something in the README explaining that JAVA_HOME is mandatory?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maven doesn't work without JAVA_HOME set at all. Also this specific goal is only run during the release phase which is a GH Action only and not intended for a local run, so don't think it needs additional documentation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, then it's good to merge.

@sergkh sergkh merged commit 864e442 into master Apr 18, 2023
@sergkh sergkh deleted the lanunch4j-fix branch April 18, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants