eduramiba / webcam-capture-driver-native

Native driver for Webcam Capture API
25 stars 8 forks source link

pom.xml: Add Automatic-Module-Name to JAR #8

Closed msgilligan closed 1 year ago

msgilligan commented 1 year ago

I tried to use the driver in an app using the Java Module System. Because the Java Module System assigns a module name based upon the JAR filename converting - to . and the JAR filename contains the substring native (a reserved word), it is not possible to use this JAR with the current generated module name.

Adding an Automatic-Module-Name header fixes the problem.

eduramiba commented 1 year ago

Thank you! Did the driver work out for you?

msgilligan commented 1 year ago

You're welcome! I got it working on MacBook Pro M1 Max, macOS Ventura 13.0.1 with the built-in 'FaceTime HD Camera' with a few workarounds. I'll create an issue shortly. (Update: See Issue #9 and Issue #10.)