Solved
Import third party dependency
Hello all,
I'm trying to import third party dependency in my project , so i added below dependency in core pom.xml
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
<version>20240325.1</version>
<scope>provided</scope>
</dependency>
but when I build the build is getting failed with the below error
[ERROR] [api-regions-exportsimports] com.demo:demo.core:1.0.0-SNAPSHOT: Bundle demo.core:1.0.0-SNAPSHOT is importing package(s) org.owasp.html in start level 20 but no bundle is exporting these for that start level. (com.demo:demo.all:1.0.0-SNAPSHOT)
How to resolve this one to import the dependency?