


Hi all,
im working on solr aem integration and my bundle is in installed state as some of the dependencies are not resolved and as im searching for them in depfinder .it's showing no naven dependency?? i think it is transitive dependency of
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.solr-solrj</artifactId>
<version>7.5.0_1</version>
</dependency>
as i change version of above dependency the below highlighted dependency version changes. pls help
You may want to check this post that talks about similar issue:
Solr 7x, 8x are not supported in AEM.
This all sort of hinders on the underlying version of Lucene that's being used.
Even the latest version of jackrabbit-oak is using Solr 6.6.6 / Lucene 4.7.1
<lucene.version>4.7.1</lucene.version>
<solr.version>6.6.6</solr.version>
----
Adobe released an Article and video that shows this working. You write Java code to actually interact with SOLR (this uses 6.4 and SOLR 6.2)
Adobe Experience Manager Help | Integrating SOLR with Adobe Experience Manager 6.4
Silly question but have you embed your dependency in your core pom?
Something like this
<app.bundle-embed-dependency>
solr-solrj,
zookeeper,other dependency;inline=true</app.bundle-embed-dependency>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<!-- Import any version of javax.inject, to allow running on multiple versions of AEM -->
<Import-Package>javax.inject;version=0.0.0,!com.ibm.*,
!com.sun.*,
!javax.jmdns.*,
!javax.jms.*,
!jline.*,
!org.jboss.netty.*,
!org.relaxng.datatype.*,*
</Import-Package>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Directory>OSGI-INF/lib</Embed-Directory>
<Embed-Transitive>false</Embed-Transitive>
<Sling-Model-Packages>
com.solr.test.core
</Sling-Model-Packages>
</instructions>
</configuration>
</plugin>
@amitkrt thanks for your polite reply. but unfortunately yes, i have added embed-dependeny in core pom under plugin with artifiactid maven-bundle-plugin
there was a typo in pom file ... issue has been resolved ..thanks everyone for replying