Wenn i do in eclipse a maven build with maven install no 3rd party jar is delivered. in my poms i have the dependency added, e.g:
<project>
<dependencies>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.29</version>
</dependency>
</dependencies>
</project>
but after running the main.jar of my maven projects i get
java.sql.SQLException: No suitable driver found for jdbc:mysql:
What I'm doing wrong.