jacob-project
jacob-project copied to clipboard
Is it possible to publish this as a package
I am trying to use this project and just wanted to check if it is possible for you to publish this package and have a dependency that can be used in pom.xml. So far we have been carrying around the jar file from sourceforge.net and it has not been ideal
This has been brought up before. I don't know
- where this can be published
- the technical process for making it happen
- how we would package the jar and the DLL
People have proposed to bundle the DLL differently but we lost those suggestions when I cleaned up the Sourceforge site :-(
Github now lets you publish your packages
Since you already have this setup as a Github project you just need to add a workflow yaml to package and deploy the jar to its package registry and provide us with a dependency to use.
Hi, I am working on a project that I need Jacob for. I am also wondering about integrating Jacob with Maven. Looking on the Maven repository, it looks like there is a dependency that is up there, but it is out of date. The version in the maven repository is 1.14.3. Here is the link to the existing dependency on the maven repository:
https://mvnrepository.com/artifact/net.sf.jacob-project/jacob
Can you update the maven repository with the latest version of Jacob, 1.20?
Also, I was having difficulties with getting the 1.14.3 version to work. Do you still have to have the DLLs installed in your path manually? How are people handling this? Can I just put the DLLs in my src/main/resources folder? Just trying to figure out a sensable way of handling this dependency for my own library that I am working on.
Thanks,
Timothy Breitenfeldt
Maybe to answer the question on how to publish JACOB including Java JAR and DLLs:
What we do is, using the release package provided by this repository:
- extract the jacob.jar and include it
- create a new JAR containing only the DLLs and saved as jacob-dll.jar and include it
The structure of the jacob-dll.jar looks similar to this:
- jacob.dll (32-bit version)
- META-INF\MANIFEST.MF
- windows-x86-64\native\jacob.dll (64-bit version)
I don't know if any other magic is happening in the background when everything is compiling but I suppose that's not the case. So anyway this is how it works on our end as a "workaround"!
So maybe package JACOB in a similar fashion and upload it to Maven Repository. We publish it internal to our local Maven Repository while no official site for download is available.
Just want to add that I would also like to see past versions published (I have a transitive dependency on JACOB 1.19 which I cannot update).
someone can host the repo on jitpack
This has been brought up before. I don't know
- where this can be published
- the technical process for making it happen
- how we would package the jar and the DLL
People have proposed to bundle the DLL differently but we lost those suggestions when I cleaned up the Sourceforge site :-(
where this can be published
Sonatype Nexus
the technical process for making it happen / how we would package the jar and the DLL
It's possible by using ANT or even Gradle, I'm considering to use this library, if I do when will generate a jar with a blundled dll and can contribute with open a pull request to this project.
Built a simple project that helps publish jars of the native code and extracts it at runtime. https://github.com/fizzed/jacob