Java Magazine, May/June 2019
ORACLE COM JAVAMAGAZINE MAY JUNE 2019 35 containers version 180 beta2 version scope runtime scope dependency dependencies And update the module info java file module ch frankel jlink requires org slf4j exports ch frankel blog jlink To use jlink you also need to add SLF4J to the module path as follows configuration modulePath path enter the next two lines as a single line project build directory project artifactId project version project packaging path path enter the next two lines as a single line settings localRepository org slf4j slf4j api 180 beta2 slf4j api 180 beta2 jar path modulePath configuration As the number of dependencies grows this approach can quickly become tedious Its easy to forget a dependency and its cumbersome to upgrade the version number in the dependencies section and here as well
You must have JavaScript enabled to view digital editions.