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

[Feature request] Any plan in adding a module-info ? #250

Closed
sblantipodi opened this issue Feb 25, 2024 · 2 comments
Closed

[Feature request] Any plan in adding a module-info ? #250

sblantipodi opened this issue Feb 25, 2024 · 2 comments

Comments

@sblantipodi
Copy link

Hi,
thanks for the super awesome lib and for your work here.

When I try to use jlink on software that uses dbus-java I get this error:
[ERROR] The given dependency C:\Users\sblantipodi.m2\repository\com\kohlschutter\junixsocket\junixsocket-core\2.8.3\junixsocket-core-2.8.3.pom does not have a module-info.java file. So it can't be linked.

any plan to add a module-info?

Thanks :)

@hypfvieh
Copy link
Owner

thanks for the super awesome lib and for your work here.

Thanks a lot.

When I try to use jlink on software that uses dbus-java I get this error:
[ERROR] The given dependency C:\Users\sblantipodi.m2\repository\com\kohlschutter\junixsocket\junixsocket-> core\2.8.3\junixsocket-core-2.8.3.pom does not have a module-info.java file. So it can't be linked.

any plan to add a module-info?

I'm afraid that this nothing I can change because the error is related to the 3rd party dependency junixsocket.
Dbus-java already provides module-info files. Maybe you ask the junixsocket people to fix this.

If you don't need file descriptor support you may also be able change your dependencies by remove dbus-java-transport-junixsockets and replace it by dbus-java-native-unixsockets (if you use Java 16+) or dbus-java-jnr-unixsockets. The later also has limited support of file descriptors when adding dbus-java-nativefd as additional dependency.

@sblantipodi
Copy link
Author

thank you very much for the kind and useful answer, I appreciate it.
closing the issue :)

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