onejar-maven-plugin | My fork of onejar-maven-plugin | Build Tool library
kandi X-RAY | onejar-maven-plugin Summary
kandi X-RAY | onejar-maven-plugin Summary
My fork of onejar-maven-plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Executes the mojo
- Copy the template files to the archive
- Log an info message
- Get one - jar template name
- Log an error
- Log a message at debug level
- Adds the specified option to the manifest
- Open one jar archive
- Add the specified manifest entries to the main attributes
- Extracts a list of system dependencies from a collection of dependencies
- Add files to the archive
- Get file data by name
- Convert a list of strings to a comma separated list
- Convert a FileSet to a list of File objects
- Extract the dependency files
- Adds the entry to the ZIP file
- Display information about a single - jar distribution
- Prepare the manifest
- Sets the optional attribute to the given entry
onejar-maven-plugin Key Features
onejar-maven-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on onejar-maven-plugin
QUESTION
We are using launch4j-maven-plugin to generate an exe, used is Java 1.8. The jar is generated with onejar because it contains jars as dependencies. However the jar is starting immediately, only the exe needs 30s - 1m to start at first. If I close the application after loaded completely and restart, then the application starts immediately. Maybe, because the dependencies of the jar are already loaded?!
I tried to generate with the maven-shade-plugin (only to check) and the same problem with the start occurs. Moreover I tried to start the application in a debugger and it also starts immediately. Starting the exe with --l4j-debug-all
doesn't show anything.
Is there a possibility to speed-up?
...ANSWER
Answered 2020-Jan-22 at 07:24In my case, a simple reason: the Live-Antivirus-Scan in the background slowed it down.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install onejar-maven-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page