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
JavaCV with FFmpeg, OpenCV, etc only modules #1071
Comments
We can easily exclude whatever we want with Maven:
https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
https://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
|
There's also the compiler and jar plugins:
https://maven.apache.org/plugins/maven-jar-plugin/examples/include-exclude.html
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
|
And we could use a build profile for that so let's mark this as an RFE: |
Hi @saudet, Thanks for the prompt reply! It turns out that I can produce a fat-jar and remove "unwanted packages" using the maven shade plugin. Here is a StackOverflow link with examples: Nevertheless, I still think that specialist jars such as JavaCV-ffmpeg, JavaCV-OpenCV, etc.. could be made available as well as the "JavaCV-all-platforms". [ suggestion ] For the time being, I am making platform specific releases of my app (not ideal but oh well). Cheers, Gui 👍 |
Let's keep it open! Thanks |
If/when we decide to split JavaCV into modules, I think I would like to go with the following, in addition to
Along with the corresponding JPMS modules and Java packages /cc @denismakogon |
Personally, I'm on both sides of this problem. I hate seeing something that breaks from release to release, however, I'm the one who brought this topic to a wider audience. So, I feel like I'm not the one who should vote here. |
Hi @saudet
How do I go about creating a "javacv-ffmpeg-dist.jar"?
I understand that the javacv-platform includes several other image and video processing tools but in my particular case (there may be others out there wanting the same too) I am only interested on ffmpeg.
Thank you very much in advance for your help.
Gui
The text was updated successfully, but these errors were encountered: