KA-EDC-COMMON is a module of the Tractus-X Knowledge Agents EDC Extensions.
This module hosts common extensions to the Eclipse Dataspace Components (EDC) which may be used in any EDC plane/container for enabling a secure application/end user access to parts of the EDC infrastructure.
It consists of
To compile and package the binary artifacts (includes running the unit tests)
mvn package
To publish the binary artifacts (environment variables GITHUB_ACTOR and GITHUB_TOKEN must be set)
mvn -s ../settings.xml publish
If you want to integrate a component into your shading/packaging process, add the following dependency to your maven dependencies (gradle should work analogous)
<project>
<dependencies>
<dependency>
<groupId>org.eclipse.tractusx.edc</groupId>
<artifactId>auth-jwt</artifactId>
<version>1.14.24-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
If you want to use the pre-built binaries, you should also add the repository
<project>
<repositories>
<repository>
<id>ka-edc</id>
<url>https://maven.pkg.github.com/eclipse-tractusx/knowledge-agents-edc</url>
</repository>
</repositories>
</project>
If you want to add the pre-built binaries directly into an exploded deployment/container, download the library into your "lib/" folder.
For that purpose, visit the package and choose the latest jar for downloading.