JavaPackager Versions Save

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.

v1.7.5

7 months ago

Fixed issues:

  • JP fails when run mvn install and bulid.finalName is different from the default one 355

v1.7.4

8 months ago

Features:

  • New templates option to modify the behavior of templates: (#297)
<templates>
    <template>
        <name>windows/iss.vtl</name>
        <bom>false</bom>
    </template>
</templates>
  • New linuxConfig.installationPath option to specify Linux different installation path than /opt (#302)
  • Update jsign to 5.0 (#351)

Fixed issues:

  • #355 ${name}-${version}-runnable.jar is not found in deployment directory
  • #298 Exceptions while copying <additionalResources> does not cause build to fail
  • #297 Change breaks with the non-unicode InnoSetup 5.x version... it cant read the iss file

v1.7.3

8 months ago

Fixed issues:

  • #341 Windows registry name write default
  • #335 JVM options in ${name}.l4j.ini are not recognized on macOS
  • #328 Could not remove legal directory on macOS
  • #325 Windows 10 EXE file detail info has messy code text
  • #324 Exclude ICO file when packaging for Windows
  • #323 Blessing a volume on MacOS fails under some circumstances

v1.7.2

1 year ago

Features:

  • Improved README (thanks to @sja26 PR #317))
  • Upgrade to Gradle 8 (thanks to @maths22 PR #310)
  • Set more EXE metadata for WinRun4J (thanks to @commi OR #300)
  • Document that iscc 5.x should be UNICODE version (thanks to @commi PR #299)
  • Improved parameter passing when calling CommandUtils.execute (thanks to @kerner1000 PR #293)
  • Improved .gitignore (thanks to @kerner1000 PR #289)
  • Support custom tarball and zipball name (thanks to @kerner1000 PR #279)

Fixed issues:

  • #315 Resolving dependency configuration 'default' is not allowed as it is defined as 'canberesolved=false'
  • Broken link to the artifact in Maven Central repository search (thanks to @SaptarshiSarkar12 PR #312)
  • Codesign fixes and notarization support (thanks to @maths22 PR #307)
  • #306, #314 Codesign failure in MacOS with JP version 1.7.0 where no Entitlements file is specified.
  • #295 When using Winrun4J the main class is not found.

v1.7.0

1 year ago

Features:

  • Plugin deps upgraded (thanks to @kerner1000 PR #234)
  • New macConfig.customLauncher to set a different startup script than universalJavaApplicationStub (thanks to @kerner1000 PR #238)
  • #242 Custom Info.plist(new option macConfig.customInfoPlist) (thanks to @kerner1000 PR #244)
  • #250 Disable JRE lookup when bundling with why and launcher upgrated to v1.1.2.
  • New arch config property (thanks to @zfqjava PR #265)
  • Get required modules from provided JDK (thanks to @kerner1000 PR #278)
  • Support custom zipball and tarball names (new options tarballName and zipballName) (thanks to @kerner1000 PR #279)
  • Prevent executing the Setup installer multiple times simultaneously (thanks to @lhDream PR #262)

Fixed issues:

  • #202 Fixed garbled characters (thanks to @lhDream PR #271)
  • #239 Fixed EOL in bundled universalJavaApplicationStub (MacOS).
  • #245 codesign --deep is deprecated (new codesign strategy) (thanks to @kerner1000 PR #252)
  • #249 Incorrect jvm_path param used when bundling with why.
  • #257 Fixed issue when jspawnhelper doesn't exist (Java 8).
  • #274 Fixed file assotiations for DEB/RPM packages.
  • #291 UnsupportedOperation exception when bundling a customized JRE using additional modules.

v1.6.7

1 year ago

Features:

  • AppImage packaging supported for GNU/Linux (#169)
  • New property macConfig.hardenedCodesign to enable/disable hardened codesigning.
  • Default entitlements when macConfig.entitlements not specified.
  • New property macConfig.macStartup to choose app startup type on Mac OS (script|binary) (thanks to @AstroPixelProcessor) (#187)
  • Add support for a .provisionprofile file on Mac OS (thanks to @kerner1000) (#224)
  • New EXE creation tool: why.

Fixed issues:

  • #184 DMG creation fails on macOS Big Sur 11.0.1 on M1 hardware (aarch64) (thanks to @AstroPixelProcessor)
  • #185 Application exists unexpectedly if packaged using 1.6.4+
  • #197 Fixed when using file associations with Gradle.
  • #204 Wrong dependencies included in runnable JAR when packaging with Maven.
  • #213 scritps property causes problems (since class not serializable) when using the default task with Gradle.
  • #214 Linux executable doesn't start if under a path with spaces.

v1.6.6

2 years ago

Fixed issues:

  • #175 Snapshot builds fail RPM packaging.
  • #174 Linux DEB package does not set correct permission on jre/lib/jspawnhelper (thanks to @AstroPixelProcessor).
  • #173 WinRun4j executables do not respect program arguments in app.l4j.ini (thanks to @keastrid).
  • #172 Generate windows setups from docker inno setup image.
  • #155 Keep permisions of additionalResources on packaging [Linux].

v1.6.5

2 years ago

Fixed issues:

  • #166 Code sign error : bundle format unrecognized, invalid, or unsuitable (thanks to @saulhidalgoaular)

v1.6.4

2 years ago

Fixed issues:

  • #146 Windows: Could not initialize class net.sf.launch4j.config.ConfigPersister.
  • #150 A suitable of java could not be found on your system (new property winConfig.vmLocation).
  • #155 Keep permisions of additionalResources on packaging [Linux].
  • #159 Default template for winrun4j does not correctly specify/verify jvm.dll location for all runtimes (related to #150).
  • #161 Codesign command on macOS does not include Hardened Runtime, so can not pass notarization.

v1.6.3

2 years ago

New minor features:

  • New winConfig.exeCreationTool property to choose the EXE generation tool: launch4j or winrun4j (#93).
  • New winConfig.disableWelcomePage property to enable|disable welcome page in Setup installer (#130).
  • New winConfig.removeOldLibs property to choose if old libs folder has to be removed when installing from Setup (#137).
  • New macConfig.infoPlist.additionalEntries property to add custom entries to Info.plist file (#143).
  • New macConfig.infoPlist.bundlePackageType property to customize CFBundlePackageType key in Info.plist file.

Fixed issues:

  • #144 Failure to generate MSI installer: "error CNDL0014 : The Module/@Id attribute's value is not a legal identifier".