Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Michael OffnerMichael OffnerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneFix versions
Priority
NewParent
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Michael Offner
Michael OffnerLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Fix versions
Priority
Parent
Created 23 August 2024 at 14:20
Updated 15 March 2025 at 13:55
Resolved 26 August 2024 at 12:39
Summary: Develop a new function named
ImportJavaSettings
in Lucee to facilitate importing Java settings for the current environment. This function will enhance Lucee's capability to dynamically manage Java dependencies and configurations, supporting both Maven and OSGi files.Description: The
ImportJavaSettings
function will allow users to import Java settings into the current environment. These settings may include paths to Maven and OSGi files, which will be downloaded and made available locally. This function is intended to ensure that all necessary Java resources are available at runtime. It can be used as part of the build process, particularly useful in environments like Docker, by calling it within theonBuild
function.Key Features:
Function Name:
ImportJavaSettings
Purpose: To import Java settings for the current environment, including downloading and locally storing Maven and OSGi files.
Input Argument:
Name:
javasettings
Type:
struct
(or JSON string or path to a JSON file)Description: Contains the Java settings to be applied. It supports various settings like Maven dependencies with group ID, artifact ID, and version.
Return Type:
void
(The function does not return a value)Usage:
Ensures all Java resources are ready and available at runtime.
Can be invoked as part of the build process (e.g., during Docker builds) using the
onBuild
function.