Anyone successfully build JChem into maven?

User 9d2c03e26a

02-06-2010 05:49:40

I'm trying to do this, but most of the jar version are quite low, and some are unavailable in public maven repository.


A simple way to get things done is to extract everything in ${JChem}/lib and repack into one, then add to your own repository. But this might lead to class confliction if your project also reference some library with JChem (but different version), and the result is unexpected.


Any idea for this?

ChemAxon e274e1bada

02-06-2010 23:19:50

Hi,


we have no experience with JChem and Maven, but I think you can solve the the problem if you set the classpath, that the appropriate jar files are previously in the list.
Another way, if you remove the lower version jars from the manifests of the Jchem jars.
We recommend this ways for the Tomcat in the case of similar problem.


Regards, Edvard