add function "importJavaSettings"

Description

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 the onBuild function.

Key Features:

  1. Function Name: ImportJavaSettings

  2. Purpose: To import Java settings for the current environment, including downloading and locally storing Maven and OSGi files.

  3. 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.

  4. Return Type: void (The function does not return a value)

  5. 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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

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

Fix versions

Priority

Created 23 August 2024 at 14:20
Updated 15 March 2025 at 13:55
Resolved 26 August 2024 at 12:39