Skip to content

Simply resolution of Attach artifacts on JVM #323

@abhinayagarwal

Description

@abhinayagarwal

javafx:run goal from the javafx-maven-plugin is used to run an application on the desktop. While this works for most cases, there is an overhead for the user where they need to define the correct Attach dependencies for the project while running on desktop.

For example, if we check the HelloGluon sample, a profile needs to be created for Desktop and all Attach dependencies with classifier as desktop needs to be added to the profile. Where as the same is not required for targets like Android and iOS.

To overcome this, my proposal is to create a new goal in the client plugin which can take care of correct Attach dependencies and supersedes the call to javafx:run.

The perfect candidate for this new goal would be client:run, however, since we already have the goal to run native image. Therefore, my proposal also includes to rename the existing client:run goal to client:nativerun.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions