I added the dependency after you told me to.
When I select clean and build I get the following:
cd C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest; "JAVA_HOME=C:\\Program Files\\Java\\jdk-18.0.2.1" cmd /c "\"C:\\Program Files\\NetBeans-14\\netbeans\\java\\maven\\bin\\mvn.cmd\" \"-Dmaven.ext.class.path=C:\\Program Files\\NetBeans-14\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" clean install"
Scanning for projects...
-----------------< com.mycompany.soundtest:SoundTest >------------------
Building SoundTest 1.0-SNAPSHOT
--------------------------------[ jar ]---------------------------------
--- maven-clean-plugin:2.5:clean (default-clean) @ SoundTest ---
Deleting C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\target
--- maven-resources-plugin:2.6:resources (default-resources) @ SoundTest ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\src\main\resources
--- maven-compiler-plugin:3.1:compile (default-compile) @ SoundTest ---
Changes detected - recompiling the module!
Compiling 1 source file to C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\target\classes
--- maven-resources-plugin:2.6:testResources (default-testResources) @ SoundTest ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\src\test\resources
--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ SoundTest ---
No sources to compile
--- maven-surefire-plugin:2.12.4:
test (default-test) @ SoundTest ---
No tests to run.
--- maven-jar-plugin:2.4:jar (default-jar) @ SoundTest ---
Building jar: C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\target\SoundTest-1.0-SNAPSHOT.jar
--- maven-install-plugin:2.4:install (default-install) @ SoundTest ---
Installing C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\target\SoundTest-1.0-SNAPSHOT.jar to C:\Users\montk\.m2\repository\com\mycompany\soundtest\SoundTest\1.0-SNAPSHOT\SoundTest-1.0-SNAPSHOT.jar
Installing C:\Users\montk\OneDrive\Documents\NetBeansProjects\SoundTest\pom.xml to C:\Users\montk\.m2\repository\com\mycompany\soundtest\SoundTest\1.0-SNAPSHOT\SoundTest-1.0-SNAPSHOT.pom
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 0.864 s
Finished at: 2022-12-14T20:52:55Z
------------------------------------------------------------------------