Search code examples
mavennetbeansimportquartz-schedulerslf4j

Importing org.quartz and org.slf4j in Netbeans Maven Project


I'm looking to import support for org.slf4j and org.quartz in a maven project in Netbeans. However, I'm not able to figure out the exact steps. I'm unclear as to how should I configure these two packages (through their jar files) as artifacts.

My present Netbeans structure looks like this :

enter image description here


Solution

  • Rightclick on the dependency node, select Add dependency. In the query field, type org.quartz-scheduler. In the list that appears in Search Results fold open the node org.quartz-scheduler : quartz and click on the version you want (I'd go with 2.1.6 for now).

    For org.slf4j the sequence is comparable.