Open Waterpicker opened 1 year ago
Please notice in Debian a Maven package was created for jmagick, its pom.xml is here
https://salsa.debian.org/java-team/jmagick/-/blob/master/debian/pom.xml?ref_type=heads
Of course Maven can only compile Java sources, not C native sources
If anyone wants to make a pull request where the build system is changed to maven or gradle, I'd hapilly review and merge it.
I tryed working on this subject. In branch luca-vercelli:topic-maven-build you can find a project that builds with "mvn package" with JDK 7+.
However the native library must be built with traditional make. Do you think is this useful? The makefile currently builds both C and Java classes.
What does @Waterpicker , @haowei93, @RickHeadle, and @rwperrott think. Is this useful ?
What does @Waterpicker , @haowei93, @RickHeadle, and @rwperrott think. Is this useful ?
Well, Maven really is a useful tool. I personally use it in my every Java project. Makes my work a whole lot easier when it comes to dependencies and running project under different profiles and settings. Can't say much about the use case when the project has to build both C and Java classes though. Would suggest to run a few tests before merging, just in case. That's pretty much it. Good luck ;)
I understand that ImageMagick itself isn't a java program and this is just a fancy JNI wrapper but the lack of usage of one of build systems for java is driving me nuts looking at.