1.1.0
Some major improvements including changes to the generated .woa bundle structure, buildtime/runtime modification of bundle configuration (jvm, jvmOpts etc). Details in CHANGES.md.
New bundle structure (.woa)
- Removed all platform-specific directories, files and scripts (Contents/MacOS/, Contents/UNIX/, Contents/Windows/, MacOSClassPath.txt, UNIXClassPath.txt, MacOSXServerClassPath.txt, CLSSPATH.TXT, SUBPATHS.TXT)
- Removed Windows .cmd launch script
- Replaced the platform-specific classpath files with two simple files at the WOA root:
config.txtandclasspath.txt
Configurable Launch script
jvm,jvmOptions,jdb, andjdbOptionsare configurable inbuild.propertiesas they are inwolifecycle.- In addition to
build.propertiesthese can now also be set as properties at different times, prefixed withlaunch.- At build time:
mvn package -Dlaunch.jvm=/my/java, changes the value written toconfig.txt - At app launch time (CLI or JavaMonitor arguments):
./MyApp.woa/MyApp -launch.jvm=/my/java - Finally, you can use "environment specific"
build.propertiesfiles to override properties. For example, if you have abuild.properties.prodfile, you can invoke maven withmvn package -Dbuild.env=prodand any values present inbuild.properties.prodwill then override any values frombuild.properties. - So, who wins? Properties end up being looked up in this order — first with a value wins:
- runtime args
- buildtime args
- build.properties.{environment}
- build.properties
- defaults
- At build time:
Maven integration
- New
<createArchives>option createstar.gzarchives from the build products and attaches them as Maven artifacts for use withmvn installandmvn deploy(closes #7)
Housekeeping
- Renamed ng package to vermilingua (closes #35)
- Removed pinned plugin versions from lifecycle mappings — Maven resolves versions from its own defaults
- Various code cleanups and internal refactoring
Full Changelog: v1.0.6...v1.1.0