client-maven-plugin | simplifies using Gluon Client for Java/JavaFX maven projects

 by   gluonhq Java Version: 0.1.42 License: BSD-3-Clause

kandi X-RAY | client-maven-plugin Summary

kandi X-RAY | client-maven-plugin Summary

client-maven-plugin is a Java library typically used in User Interface, Gradle, Maven, JavaFX applications. client-maven-plugin has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. However client-maven-plugin has 1 bugs. You can download it from GitHub, Maven.

Plugin that simplifies using Gluon Client for Java/JavaFX maven projects
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              client-maven-plugin has a low active ecosystem.
              It has 98 star(s) with 22 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 60 open issues and 148 have been closed. On average issues are closed in 38 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of client-maven-plugin is 0.1.42

            kandi-Quality Quality

              client-maven-plugin has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 13 code smells.

            kandi-Security Security

              client-maven-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              client-maven-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 4 security hotspots that need review.

            kandi-License License

              client-maven-plugin is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              client-maven-plugin releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              client-maven-plugin saves you 301 person hours of effort in developing the same functionality from scratch.
              It has 726 lines of code, 29 functions and 11 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed client-maven-plugin and discovered the below as its top functions. This is intended to give you an instant insight into client-maven-plugin implemented functionality, and help decide if they suit your requirements.
            • Entry point for sub -stration
            • Creates a new release configuration
            • Gets the classpath elements
            • Creates the project configuration
            • Entry point for execution
            • Create filter file
            • Execute the native shared library
            • Package - private
            • Execute the link
            • Installs the sub -strate
            • Creates the RepositorySystem
            • Main method
            • Execute the project
            • Modify the configuration from the graal VM
            • Executes the invocation
            • Compare two AttachServiceDefinition
            • Returns the target for the specified target
            • Creates a repository system session
            Get all kandi verified functions for this library.

            client-maven-plugin Key Features

            No Key Features are available at this moment for client-maven-plugin.

            client-maven-plugin Examples and Code Snippets

            No Code Snippets are available at this moment for client-maven-plugin.

            Community Discussions

            QUESTION

            Why does Javafx native image does not work with the class javafx.scene.media.MediaPlayer?
            Asked 2021-Mar-31 at 11:03

            I build a native image on win 10 with gluon plugin and graalvm ce 21.0.0. If i build the app without javafx.scene.media.MediaPlayer the client works fine. If i am using the class javafx.scene.media.MediaPlayer i realized that the folder \target\client\x86_64-windows\gvm\tmp\deps does not contain the jar of javafx-media. But why? And how to solve it? When i run the client, i got following error:

            ...

            ANSWER

            Answered 2021-Mar-31 at 11:03

            As José Pereda wrote: Media and Web for native image are not supported on Windows yet. I wasn't aware of that. Thank you!

            Source https://stackoverflow.com/questions/66877115

            QUESTION

            gluon mobile android application default locale is en_US but phone is in spanish
            Asked 2021-Mar-26 at 23:15

            i test i18n in gluon with its default project : gluon mobile single view . i add a print line to get : Locale.getdefault() . but is in english en_US and the device is in spanish . i have another large project with bundles and i had the same issue . i put the default project in this question 'cause i found better to show just small portion of code and replicate it . the code

            ...

            ANSWER

            Answered 2021-Mar-26 at 23:15

            The problem you are facing is that the locale used to build the native image (usually the default locale on your machine, unless set otherwise) is the one that will be used on runtime, no matter what locale is set.

            There is an open issue in GraalVM about this. There is no definitive fix for this yet, but it is expected to be available from GraalVM 21.1 (in just a couple of weeks).

            For now, a workaround is to set the target's locale in the Client plugin configuration, like:

            Source https://stackoverflow.com/questions/66824310

            QUESTION

            Gluon Mobile : Bluetooth Low Energy no instance for interface com.gluonhq.attach.ble.BleService
            Asked 2021-Mar-26 at 09:48

            I am new on stackoverflow, this is my first post. I recently started using Gluon Mobile to develop an android mobile application using Bluetooth Low Energy.

            I'm having trouble using the BLE technology. If I copy the piece of code provided in the gluon mobile documentation and I get the following message :

            WARNING: No new instance for interface com.gluonhq.attach.ble.BleService and class com.gluonhq.attach.ble.impl.AndroidBleService

            here is the code from the example:

            ...

            ANSWER

            Answered 2021-Mar-26 at 09:48

            The solution was to add ble to the in pom.xml file.

            Source https://stackoverflow.com/questions/66801948

            QUESTION

            Kotlinx serialisation not working with maven
            Asked 2021-Feb-27 at 08:40

            I have followed the instructions provided on the kotlinx.serialization github page but when I try to serialize my class, it throws the following runtime exception

            ...

            ANSWER

            Answered 2021-Feb-27 at 08:40

            It turns out that the package containing the kotlin file needs to be opened in a modular project in order for compiler plugin to generate the serializer. Adding opens in module-info.java fixed it

            Source https://stackoverflow.com/questions/65879494

            QUESTION

            Running native image of javafx app fails cause of java.lang.ClassNotFoundException -> "Solid_TextureRGB_AlphaTest_Loader"
            Asked 2021-Jan-31 at 20:24

            I tried to run the native image of my javafx app on windows 10.
            The app starts without any widget. I only have the following log:

            [So. Jan. 31 17:10:52 MEZ 2021][INFO] ==================== RUN TASK ====================
            [So. Jan. 31 17:10:52 MEZ 2021][FINE] PB Command for run until end: c:\Users\...\target\client\x86_64-windows\MyApp.exe
            [So. Jan. 31 17:10:52 MEZ 2021][FINE] Start process run until end...
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] java.lang.ClassNotFoundException: com.sun.prism.shader.Solid_TextureRGB_AlphaTest_Loader
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:60)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.lang.Class.forName(DynamicHub.java:1247)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.d3d.D3DResourceFactory.createStockShader(D3DResourceFactory.java:411)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.impl.ps.BaseShaderContext.getSpecialShader(BaseShaderContext.java:318)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:579)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:507)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:432)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.prism.impl.ps.BaseShaderGraphics.drawTexture(BaseShaderGraphics.java:139)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGRegion.paintTiles(NGRegion.java:2007)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGRegion.renderBackgroundRectangle(NGRegion.java:971)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGRegion.renderAsRectangle(NGRegion.java:754)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:575)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:479)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:328)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at java.lang.Thread.run(Thread.java:834)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
            [So. Jan. 31 17:10:53 MEZ 2021][INFO] [SUB] at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:138)

            Can someone tell me what to do?

            pom.xml:

            ...

            ANSWER

            Answered 2021-Jan-31 at 20:24

            Thank You again José Pereda. I added the class com.sun.prism.shader.Solid_TextureRGB_AlphaTest_Loader to the in my pom.xml and it works.

            Source https://stackoverflow.com/questions/65981636

            QUESTION

            Link Task with Gluon plugin and Graalvm fails
            Asked 2021-Jan-31 at 09:16

            I want to build a native image of my java app for windows 10.

            Because I have no expirience in building native image with the graalvm-ce-java11-21.0.0 and Gluon Plug-in for Eclipse 2.8.1, i decided to build first the buildin sample of the "Gluon Mobile - Single View Project". My buildtool is Maven 3.6.3.

            Can someone tell me how to solve the following error?

            While running mvn client:build on the x64 Native Tools Command Prompt for VS 2019 the build fails cause of "Process link failed with result: 1120"

            The complete log:

            [Sa. Jan. 30 17:12:03 MEZ 2021][INFO] ==================== LINK TASK ====================
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] Looking for resource: /native/windows/launcher.c
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] PB Command for compile-additional-sources: cl -c -DSUBSTRATE /MD /D_UNICODE /DUNICODE /DWIN32 /D_WINDOWS -IC:\Users\...\SingleViewProject\target\client\x86_64-windows\gvm\SingleViewProject launcher.c
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] Start process compile-additional-sources...
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] [SUB] Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] [SUB] Copyright (C) Microsoft Corporation. All rights reserved.
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] [SUB]
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] [SUB] launcher.c
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] Result for compile-additional-sources: 0
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] PB Command for link: link C:\Users\...\SingleViewProject\target\client\x86_64-windows\gvm\SingleViewProject\launcher.obj C:\Users\...\SingleViewProject\target\client\x86_64-windows\gvm\tmp\SVM-1612022981603\com.gluonapplication.gluonapplication.obj advapi32.lib iphlpapi.lib secur32.lib userenv.lib ws2_32.lib j2pkcs11.lib java.lib net.lib nio.lib prefs.lib fdlibm.lib sunec.lib zip.lib ffi.lib jvm.lib libchelper.lib /NODEFAULTLIB:libcmt.lib /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup comdlg32.lib dwmapi.lib gdi32.lib imm32.lib shell32.lib uiautomationcore.lib urlmon.lib winmm.lib glass.lib javafx_font.lib javafx_iio.lib prism_common.lib prism_d3d.lib /WHOLEARCHIVE:glass.lib /WHOLEARCHIVE:javafx_font.lib /WHOLEARCHIVE:javafx_iio.lib /WHOLEARCHIVE:prism_common.lib /WHOLEARCHIVE:prism_d3d.lib /OUT:C:\Users\...\SingleViewProject\target\client\x86_64-windows\SingleViewProject.exe /LIBPATH:C:\Users\....gluon\substrate\javafxStaticSdk\16-ea+gvm24\windows-x86_64\sdk\lib /LIBPATH:C:\Program Files\Java\graalvm-ce-java11-21.0.0\lib\svm\clibraries\windows-amd64 /LIBPATH:C:\Program Files\Java\graalvm-ce-java11-21.0.0\lib\static\windows-amd64
            [Sa. Jan. 30 17:12:03 MEZ 2021][FINE] Start process link...
            [Sa. Jan. 30 17:12:03 MEZ 2021][INFO] [SUB] Microsoft (R) Incremental Linker Version 14.28.29336.0
            [Sa. Jan. 30 17:12:03 MEZ 2021][INFO] [SUB] Copyright (C) Microsoft Corporation. All rights reserved.
            [Sa. Jan. 30 17:12:03 MEZ 2021][INFO] [SUB]
            [Sa. Jan. 30 17:12:04 MEZ 2021][INFO] [SUB] Creating library C:\Users\...\SingleViewProject\target\client\x86_64-windows\SingleViewProject.lib and object C:\Users\...\SingleViewProject\target\client\x86_64-windows\SingleViewProject.exp
            [Sa. Jan. 30 17:12:04 MEZ 2021][INFO] [SUB] com.gluonapplication.gluonapplication.obj : error LNK2001: unresolved external symbol GetFileVersionInfoSizeW
            [Sa. Jan. 30 17:12:04 MEZ 2021][INFO] [SUB] com.gluonapplication.gluonapplication.obj : error LNK2001: unresolved external symbol GetFileVersionInfoW
            [Sa. Jan. 30 17:12:04 MEZ 2021][INFO] [SUB] com.gluonapplication.gluonapplication.obj : error LNK2001: unresolved external symbol VerQueryValueW
            [Sa. Jan. 30 17:12:04 MEZ 2021][INFO] [SUB] C:\Users\...\SingleViewProject\target\client\x86_64-windows\SingleViewProject.exe : fatal error LNK1120: 3 unresolved externals
            [Sa. Jan. 30 17:12:04 MEZ 2021][FINE] Result for link: 1120
            [Sa. Jan. 30 17:12:04 MEZ 2021][SEVERE] Process link failed with result: 1120

            pom.xml:

            ...

            ANSWER

            Answered 2021-Jan-31 at 09:16

            As José Pereda wrote the solution is: Change the client.plugin.version to 0.1.36

            Source https://stackoverflow.com/questions/65972566

            QUESTION

            Gluon client maven plugin for JavaFX on Windows fails to compile?
            Asked 2020-Dec-23 at 11:04

            I've been experimenting with Gluon's client maven plugin on a Windows machine for a project of mine. I decided to try out one of their "hello world" examples, here. I followed all of the steps on how to configure the machine.

            However, I've encountered some errors. For some reason, the compiling always fails and gives me an error "Cannot run program "cl"". Does anyone have any clue on how to fix this?

            I am running the client:build command in a "x64 Native Tools Command Prompt for VS 2019" window.

            The logs are below:

            ...

            ANSWER

            Answered 2020-Dec-23 at 11:04

            I've had the same two issues:

            1. No cl operations possible
            2. stdio.h or similar file cannot be found
            Solution for the first issue (author did already):

            Make sure the system path contains the Visual Studio entry. Something like "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64"

            Visual Studio seems to miss the entry on the path variable sometimes on installation. I had it installed to a different directory. That might cause the problem.

            Solution for the second issue:

            The documentation states that you have to run all maven or gradle commands in the Native Tools Command Prompt if running on Windows. I missed that part a few times while reading the docs.

            If you are running on Windows, you need to run all the Client goals from an x64 terminal.

            After that i was able to use the client:compile and client:link goals.

            Source https://stackoverflow.com/questions/62161913

            QUESTION

            SQLite on Android via JavaFX and Gluons client-maven-plugin
            Asked 2020-Aug-16 at 08:59

            I am trying to get a JavaFX application, which uses SQLite, running on Android via Gluons client-maven-plugin but for the library with the native part of SQLite I only get an UnsatisfiedLinkError. The app as such runs fine on Android and even works perfectly with SQLite on any desktop platform, so I think my general setup is ok. In this context I wonder whether

            1. linking with shared libraries contained in a JAR file is supported at all for Android?
            2. which architecture is the right one for Android?

            The app reports itself as Linux/aarch64 but the shared library for that combination, provided by "org.xerial:sqlite-jdbc:3.32.3.2", does not work. What is confusing is that there is another one for Linux/android-arm which also does not seem to work but looks more specific to Android. So which is the right one.

            ...

            ANSWER

            Answered 2020-Aug-16 at 08:59

            This question has been answered on Gluons issue tracker on GitHub:

            https://github.com/gluonhq/substrate/issues/741#issuecomment-673435037

            Just in case someone is interested.

            Source https://stackoverflow.com/questions/63375536

            QUESTION

            Could not find artifact in jitpack.io, almost all dependencies in pom broken
            Asked 2020-Jan-31 at 22:42

            I cannot seem to resolve dependencies in my POM. This project was working for me earlier this morning and is currently working on another machine, but somehow now my project is so borked that all my dependencies are broken, all my imports and most of my classes are just red underlines. I want to go back to where I'm no longer having dependency/pom/maven errors and can search for the original desiredCapabilities errors.

            Environment: MacOS Apache Maven 3.6.3 Java 8 and 11 are installed on my machine Project SDK: Java 11 IDE: IntelliJ Appium 1.16.0

            Trying to solve the original problem:
            1. Mvn clean install, with and without -U
            2. Right click on project > Maven -> reimport
            3. Tried to open on eclipse but this project uses graphql and I got errors that there weren't marketplace options for what I needed
            4. Restarted intelliJ
            5. Restarted my computer
            6. Build -> Build project, rebuild project
            7. Deleted my .m2 directory and tried a mvn clean install/mvn install etc, but this is where all my artifacts started breaking. Almost all dependencies now say "Dependency not found" when I hover
            8. Tried updating maven indices from the pom
            9. Blew out the repo and re-cloned it
            10. Reverted to a previous commit

            The current error on mvn clean install is: [ERROR] Failed to execute goal on project mobile-app-automation: Could not resolve dependencies for project com.automation.cm:mobile-app-automation:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.seleniumhq.selenium:selenium-java:jar:3.141.59: Failed to read artifact descriptor for org.seleniumhq.selenium:selenium-java:jar:3.141.59: Could not transfer artifact org.seleniumhq.selenium:selenium-java:pom:3.141.59 from/to central (http://jcenter.bintray.com): Authorization failed for http://jcenter.bintray.com/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.pom 403 Forbidden -> [Help 1]

            mvn compile gives the error: "Failure to find org.seleniumhq.selenium:selenium-java:pom:3.141.59 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced "

            Here is my pom, 90% of the dependencies are red:

            ...

            ANSWER

            Answered 2020-Jan-31 at 22:42

            As per JFrog, as of Jan 2020, JCenter is available only over https. Your repo snapshot has http instead of https.

            Source https://stackoverflow.com/questions/60011325

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install client-maven-plugin

            Follow this guide on how to apply the plugin and use the different goals.

            Support

            Check the documentation for more details about the plugin and running the samples.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/gluonhq/client-maven-plugin.git

          • CLI

            gh repo clone gluonhq/client-maven-plugin

          • sshUrl

            git@github.com:gluonhq/client-maven-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by gluonhq

            scenebuilder

            by gluonhqJava

            substrate

            by gluonhqJava

            gluonfx-maven-plugin

            by gluonhqJava

            gluon-samples

            by gluonhqJava

            maps

            by gluonhqJava