You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using maven-download-plugin for downloads there (it caches the downloads inside the user's local maven repo) and the maven antrun plugin to run the cppbuild.sh script. That way we could also declare versions centrally in the javacpp-presets pom.xml and feed them to the scripts.
The text was updated successfully, but these errors were encountered:
That's a nice idea :) A couple of things though. We don't need maven-download-plugin because cppbuild.sh already does caching and everything we need. Also, would it be possible to move the maven-antrun-plugin to the parent pom.xml file as part of the pluginManagement element? And I think we should bind the execution to "generate-resources", which makes more sense than "generate-sources", what do you think? And I'm pretty sure we'll need to explicitly run "bash" on Windows for this to work. If that makes sense, and can make the necessary modifications, send a pull request and I'll merge this in! Thanks
See https://github.com/jjYBdx4IL/javacpp-presets/blob/pulldown/opencv/pom.xml
I'm using maven-download-plugin for downloads there (it caches the downloads inside the user's local maven repo) and the maven antrun plugin to run the cppbuild.sh script. That way we could also declare versions centrally in the javacpp-presets pom.xml and feed them to the scripts.
The text was updated successfully, but these errors were encountered: