**hey everyone **
the story : update the jar file created using the shaded maven plugin works as intended the issue i faced lies in the opencv library i use it for webcam operations and when the jar is deployed it cannot locate the dll file is there a way to include the dll file in the jar ? .
this is the plugin :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>Main_panel.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
**this is the code where the issue occurs : **
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
VideoCapture capture=new VideoCapture(0);
i hope i get some help soon , thank you so much for your patience .