Issue Building JavaFX Project with Maven Dependency

Nir Lisker nlisker at gmail.com
Tue Nov 28 16:35:47 UTC 2023


Perhaps the review should continue for
https://github.com/openjdk/jfx/pull/1232. Then try to continue to the maven
publication part of the build file as discussed on that issue by consulting
with the author (who is very helpful).

On Tue, Nov 28, 2023 at 11:21 AM Johan Vos <johan at lodgon.com> wrote:

> Hi Sarang,
>
> Yes, the maven publication parts in the build.gradle are not working with
> the latest gradle anymore. I believe we discussed this before, and at least
> my personal opinion is that those parts need to be removed from the
> build.gradle. Frequent changes in gradle are causing lots of maintenance
> work on the build.gradle, so we should try to minimize that work. Since the
> maven publication is not required to build the OpenJFX SDK's, I think it
> makes more sense to move those tasks out of the build.gradle.
>
> However, if you just build the SDK (gradlew sdk), you should be able to
> build everything you need and take it from there.
>
> - Johan
>
> Op di 28 nov 2023 om 08:05 schreef sarang s <sarangsblogtec at gmail.com>:
>
>> Dear OpenJFX Development Team,
>>
>> I hope this email finds you well. My name is [Your Name], and I am
>> currently facing an issue while trying to build a JavaFX project with Maven
>> dependency. I have encountered the following warnings during the build
>> process:
>>
>> csharp
>> [WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:21.0.1[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:21.0.1
>> [WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:21.0.1
>> [WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:21.0.1
>>
>> These warnings indicate that the build process for the mentioned JavaFX
>> modules is failing. Consequently, the JavaFXML files are not being built,
>> and I am unable to proceed with the development.
>>
>> Here are some details about my environment:
>>
>>    - JavaFX version: 21.0.1
>>    - Build tool: Maven
>>
>> I have checked my Maven dependencies and configurations, but I am still
>> encountering this issue. Could you please provide guidance on how to
>> resolve this problem? Any assistance or advice you can offer would be
>> greatly appreciated.
>>
>> If you require any additional information or logs, please let me know,
>> and I will be happy to provide them. Thank you for your time and assistance.
>>
>> Best regards,
>>
>> Sarang S
>> sarangsblogtec at gmail.com
>> Blogtec software LLP
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231128/0a429d92/attachment.htm>


More information about the openjfx-dev mailing list