Vaadin Java integration of the OpenChemLib JS components (OpenChemLib JS is the JavaScript port of OpenChemLib).
Grab the precompiled jar file(s) from Releases or add the following dependency to your project:
<dependency>
<groupId>ch.artaios</groupId>
<artifactId>openchemlib-vaadin</artifactId>
<version>1.0.1</version>
</dependency>
To be able to properly run in development mode, don't forget to add package ch.artaios
to src/main/resources/application.properties
like follows:
vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,ch.artaios
- Run
mvn jetty:run
. - Open http://localhost:8080 in the browser.
To build production version run:
mvn clean
mvn vaadin:clean-frontend
mvn install -Pproduction