JavaFX 11 snapshots in maven sonatype

Scott Palmer swpalmer at
Sun Jul 8 17:03:59 UTC 2018

If separate Gradle processes produce the artifacts, there is probably a way to bring them together and (re-)publish them together in yet another project. 


> On Jul 8, 2018, at 8:38 AM, Johan Vos <johan.vos at> wrote:
> I don't think that will help, as the artifacts for the different platforms
> are not created inside the same gradle process. We don't do
> cross-compiling, so for each compileTarget a different machine and a
> different build process is used.
> Hence, I think we have to deal with separate publications anyhow, right?
> - Johan
>> On Sun, Jul 8, 2018 at 11:06 AM Kenzie Togami <ket1999 at> wrote:
>> Hi Johan,
>>> It is very inconvenient, so if you know an easy way to get all snapshot
>> version to be equal, I would love to hear that.
>> I think that the varying snapshots versions probably occur because a
>> separate publication is set up for each `compileTarget`:
>> I haven't used the Gradle maven-publish plugin yet but I think it could
>> work if you instead iterate over each target where the artifacts are
>> generated, which is the only place it's used anyways:
>> compileTargets { t ->
>>    artifact project.tasks."moduleEmptyPublicationJar$"
>>    artifact project.tasks."modularPublicationJar$" {
>>        classifier "$"
>>    }
>> }

More information about the openjfx-dev mailing list