I am trying to develop my own plugin for GCP Data Fusion. So I followed the documentation, and cloned the example from https://github.com/data-integrations/example-transform.
But when building the project, I get a problem with the import of dependencies needed for testing :
<dependency>
<groupId>io.cdap.cdap</groupId>
<artifactId>hydrator-test</artifactId>
<version>${cdap.version}</version>
<scope>test</scope>
</dependency>
I get the following error :
[ERROR] Failed to execute goal on project plugins: Could not resolve dependencies for project org.example:plugins:jar:1.0-SNAPSHOT: Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path /usr/lib/jvm/java-11-openjdk-amd64/../lib/tools.jar -> [Help 1]
What can I do to solve this problem and test my plugin ?
CDAP should run in Java version 8. So once you download JDK, set the Java home like
and then try running your Maven command again.