I am trying to access DB2 tables in a java project. I am able to access the tables when I manually added the jar files - db2jcc4.jar
and db2jcc_license_cisuz.jar
. No issues in accessing the tables.
But when I try to add these jar files through Maven, they won't add to the project.
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>db2jcc4</artifactId>
<version>9.7.0.4</version>
</dependency>
Error Message - Missing artifact id
.
Also, the latest db2jcc4.jar
files (Version 11.1) are not present in Maven repository. Is there any other place I can access it from?