내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

Dependency not resolved while building the code

Avatar

Level 5

Hi All,

I'm currently using AEM 6.5.18 version and java 8 and having the issue while building the code which is below


Screenshot 2025-02-09 at 8.06.49 PM.png

I have the required dependency for this even thought it is getting failed below i added the dependency which i have in my core pom file

<dependency>
   <groupId>javax.annotation</groupId>
   <artifactId>javax.annotation-api</artifactId>
   <version>1.3.2</version>
</dependency>

       <plugin>
                <groupId>biz.aQute.bnd</groupId>
                <artifactId>bnd-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>bnd-process</id>
                        <goals>
                            <goal>bnd-process</goal>
                        </goals>
                        <configuration>
                            <bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,!org.osgi.framework,*
-includeresource: jsoup*.jar;lib:=true
                ]]></bnd>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

I tried and searched with many ways but not able to resolve this error, so if anyone knows how to resolve this error please help me out.

 

Regards,

Nandheswara S M

 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 6

Hi @Nandheswara ,

We will get dependency resolution issues when we use some third party libraries. To fix this we need to follow some extra steps. Please find my comment in below link and do follow and build code https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-not-getting-resolved... 

 

Thanks

Ramesh

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Employee Advisor

Avatar

정확한 답변 작성자:
Level 6

Hi @Nandheswara ,

We will get dependency resolution issues when we use some third party libraries. To fix this we need to follow some extra steps. Please find my comment in below link and do follow and build code https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-not-getting-resolved... 

 

Thanks

Ramesh

Avatar

Administrator

@Nandheswara Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni