Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Maven example project #9

Closed
FDelporte opened this issue Feb 7, 2021 · 6 comments
Closed

Provide a Maven example project #9

FDelporte opened this issue Feb 7, 2021 · 6 comments

Comments

@FDelporte
Copy link

Would be great if a Maven getting-started would be available!
Maybe I can help if the library is available in the mvnrepository?

@msgilligan
Copy link
Member

msgilligan commented Feb 7, 2021

Hi @FDelporte so great to hear from you here! Funny, a maven sample is what I was working on yesterday and the day before. I would love your help with Maven, because I don't know it that well.

I just published what I have so far: SupernautApp/supernaut-fx-sample-maven.

Here's the current status:

So the current situation is with Gradle I can produce a jlink/jpackage app and with Maven I can produce a Graal native image. I would like to be able to do both types of builds with both build tools.

I want to Publish Supernaut.FX to Maven Central, but haven't done it yet (and the JCenter shutdown makes this high-priority) for now you can use this repo:

    <repository>
      <id>bintray.supernautapp</id>
      <url>https://dl.bintray.com/supernautapp/maven</url>
    </repository>

Note that I have changes in master that provide support for Graal native-image as well as enable non-modular ServiceLoader to find MicronautFxLauncher. I hope to release version 0.1.1 with these changes very soon.

@FDelporte
Copy link
Author

Great work! and ai ai jlink-problems ;-) will try to investigate and if I can provide feedback...

@msgilligan
Copy link
Member

@FDelporte version 0.1.1 is released, so the Maven sample should now build without a local snapshot.

will try to investigate and if I can provide feedback...

Thanks!

@msgilligan
Copy link
Member

ai ai jlink-problems ;-)

See Issue #10 for a possible solution to some of the jlink problems.

@msgilligan
Copy link
Member

msgilligan commented Mar 17, 2021

@FDelporte I just updated the Maven sample to Supernaut.FX 0.1.2, Micronaut 2.4.0, JavaFX 16, and jakarta.inject.

(jakarta.inject means one less module that must be preprocessed for jlink -- well, not quite yet, this jakartaee/inject#17 needs to be fixed first)

@msgilligan
Copy link
Member

I'm going to close this issue as SupernautApp/supernaut-fx-sample-maven exists and has it's own issue DB that we can use to track any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants