I'm new to Maven and NetBeans. I can run my project just fine from within NetBeans. My problems are currently starting after I "Clean and Build" to distribute test versions of my application. I was under the impression that if the jdbc was declared in the Dependencies section of the POM.xml, that would translate to the built version of the application, but when I run
java -jar <application>.jar
I get a
java.lang.ClassNotFoundException
Basically, I want this to go away. I've tried moving a manually downloaded version of the sqlite-jdbc-3.7.2.jar to various different places within the project files, then doing a Clean and Build, with no luck. I've also experimented with "addClasspath" and "additionalClasspathElements" tags in the POM, again to no avail. I have also yet to find clear enough answers to how classpath in java even really works, as well as how it works with maven.
If I was to copy my source from this project to a non-maven project and import the .jar's as I need them, would this be easier?