<div dir="ltr">I'm really curious about how this is supposed to work without the Maven Build.<div><br></div><div>Nowadays, most projects use maven artifacts for their build - instead of copying jars. How do you test your own build - without publishing maven artifacts?<br>The jars created in the distributions folder are useful - but using them requires a lot of manual work for 90% of the projects.<br><br>I'm volunteering to maintain the Maven Build - because testing builds otherwise is complicated - and I basically fix the maven build for every fork/bugfix/PR anyways.<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Nov 2023 at 12:48, Bruno Carle <<a href="mailto:bruno.carle@gmail.com">bruno.carle@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Sarang<br>In case that helps, I used these steps recently to publish jars to local maven repo. (I dont know if it is the proper way, but it did the job for me, on linux)<br><br>in build.gradle change line 546:<br>defineProperty("MAVEN_PUBLISH", "true")<br><br>and line 1730: (add brackets)<br>artifact (project.tasks."modularPublicationJar$t.capital") {<br><br>then <br><div>sh ./gradlew publishToMavenLocal</div><div><br></div><div>Regards</div><div>Bruno<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 28, 2023 at 10:13 AM Johan Vos <<a href="mailto:johan@lodgon.com" target="_blank">johan@lodgon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Sarang,<div><br></div><div>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.</div><div><br></div><div>However, if you just build the SDK (gradlew sdk), you should be able to build everything you need and take it from there.</div><div><br></div><div>- Johan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op di 28 nov 2023 om 08:05 schreef sarang s <<a href="mailto:sarangsblogtec@gmail.com" target="_blank">sarangsblogtec@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">Dear OpenJFX Development Team,</font></p><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">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:</font></p><pre style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin-top:0px;margin-bottom:0px;border-radius:0.375rem;line-height:1.71429;overflow-x:auto;padding:0px"><div style="border:0px solid rgb(217,217,227);box-sizing:border-box;border-radius:0.375rem"><div style="color:rgb(55,65,81);border:0px solid rgb(217,217,227);box-sizing:border-box;display:flex;border-top-left-radius:0.375rem;border-top-right-radius:0.375rem;padding:0.5rem 1rem;line-height:1rem"><span style="background-color:transparent;border:0px solid rgb(217,217,227);box-sizing:border-box"><font face="arial, sans-serif">csharp</font></span></div><div style="border:0px solid rgb(217,217,227);box-sizing:border-box;overflow-y:auto;padding:1rem"><font face="arial, sans-serif"><code style="background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px solid rgb(217,217,227);box-sizing:border-box;font-weight:inherit;border-radius:0.3em;line-height:1.5;padding:0.1em;white-space:normal;word-break:normal;word-spacing:normal"><font style="background-color:rgb(255,255,255)" color="#000000">[<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">WARNING</span>] Failed to build parent project <span style="border:0px solid rgb(217,217,227);box-sizing:border-box">for</span> org.openjfx:javafx-controls:jar:<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">21.0</span><span style="border:0px solid rgb(217,217,227);box-sizing:border-box">.1</span></font></code><code style="background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-weight:inherit;border:0px solid rgb(217,217,227);box-sizing:border-box;border-radius:0.3em;line-height:1.5;padding:0.1em;white-space:normal;word-break:normal;word-spacing:normal"><font color="#000000">[<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">WARNING</span>] Failed to build parent project <span style="border:0px solid rgb(217,217,227);box-sizing:border-box">for</span> org.openjfx:javafx-graphics:jar:<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">21.0</span><span style="border:0px solid rgb(217,217,227);box-sizing:border-box">.1</span>
[<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">WARNING</span>] Failed to build parent project <span style="border:0px solid rgb(217,217,227);box-sizing:border-box">for</span> org.openjfx:javafx-<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">base</span>:jar:<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">21.0</span><span style="border:0px solid rgb(217,217,227);box-sizing:border-box">.1</span>
[<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">WARNING</span>] Failed to b</font></code><code style="background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-weight:inherit;border:0px solid rgb(217,217,227);box-sizing:border-box;border-radius:0.3em;line-height:1.5;padding:0.1em;white-space:normal;word-break:normal;word-spacing:normal"><font color="#000000">uild parent project <span style="border:0px solid rgb(217,217,227);box-sizing:border-box">for</span> org.openjfx:javafx-fxml:jar:<span style="border:0px solid rgb(217,217,227);box-sizing:border-box">21.0</span><span style="border:0px solid rgb(217,217,227);box-sizing:border-box">.1</span></font></code></font></div></div></pre><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">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.</font></p><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">Here are some details about my environment:</font></p><ul style="border:0px solid rgb(217,217,227);box-sizing:border-box;list-style-position:initial;margin:1.25em 0px;padding:0px;display:flex;color:rgb(55,65,81)"><li style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:0px;padding-left:0.375em;display:block;min-height:28px"><font face="arial, sans-serif">JavaFX version: 21.0.1</font></li><li style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:0px;padding-left:0.375em;display:block;min-height:28px"><font face="arial, sans-serif">Build tool: Maven</font></li></ul><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">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.</font></p><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">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.</font></p><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">Best regards,</font></p><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px 0px;color:rgb(55,65,81)"><font face="arial, sans-serif">Sarang S
</font></p><h3 style="overflow:hidden;font-weight:inherit;margin:inherit;text-overflow:ellipsis;color:rgb(95,99,104);line-height:20px"><span role="gridcell" style="outline:currentcolor none medium"><span style="vertical-align:top;color:rgb(94,94,94)"><font size="2" face="arial, sans-serif"><a href="mailto:sarangsblogtec@gmail.com" target="_blank">sarangsblogtec@gmail.com</a></font></span></span></h3><div><span role="gridcell" style="outline:currentcolor none medium"><span style="vertical-align:top;color:rgb(94,94,94)"><font face="arial, sans-serif">Blogtec software LLP</font></span></span></div><p style="border:0px solid rgb(217,217,227);box-sizing:border-box;margin:1.25em 0px 0px;color:rgb(55,65,81);font-family:Söhne,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,"Noto Sans",sans-serif,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:16px">
</p></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>