<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Include custom OSGI bundle in AEM Project in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/418502#M932</link>
    <description>&lt;P&gt;Hi &lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;!&lt;/P&gt;&lt;P&gt;Option 2 will embed the bundle into package, resulting in a single deployment package that deploys both parts together.&lt;/P&gt;&lt;P&gt;Option 3 will tell the bundle that there is a dependency, but the other bundle has to be deployed separately. So you will have to separate deployments.&lt;/P&gt;&lt;P&gt;Hope that clarifies it at bit!&lt;/P&gt;</description>
    <pubDate>Sat, 07 Aug 2021 20:01:18 GMT</pubDate>
    <dc:creator>markus_bulla_adobe</dc:creator>
    <dc:date>2021-08-07T20:01:18Z</dc:date>
    <item>
      <title>Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417348#M926</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a custom AEM project which I've built some services/servlet and will only be installing the core module (lets say osgi bundle a) on to AEM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to add this &lt;STRONG&gt;bundle a &lt;/STRONG&gt;into another AEM Project which will consume bundle a's services &amp;amp; servlets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I go about adding my custom bundle to my custom AEM Project while resolving dependencies. I would also like to know what to add to my pom.xml's if possible.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 21:26:40 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417348#M926</guid>
      <dc:creator>akatsuki07</dc:creator>
      <dc:date>2021-07-27T21:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417365#M927</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;&amp;nbsp; You would require a nexus repository to export the bundle into that and then include that nexus repository into your parent pom.xml &amp;amp; use &amp;lt;embed-dependency&amp;gt; to include this bundle.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 04:38:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417365#M927</guid>
      <dc:creator>shelly-goel</dc:creator>
      <dc:date>2021-07-28T04:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417380#M928</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;The following documents may be helpful:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&lt;A href="https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&lt;A href="https://docs.adobe.com/content/help/en/experience-manager-64/developing/devtools/ht-projects-maven.html#common-development-tasks-with-maven" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.adobe.com/content/help/en/experience-manager-64/developing/devtools/ht-projects-maven.h...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jul 2021 07:25:13 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417380#M928</guid>
      <dc:creator>Bimmi_Soi</dc:creator>
      <dc:date>2021-07-28T07:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417435#M929</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;!&lt;/P&gt;&lt;P&gt;There are multiple approaches to achieve this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could integrate/join the two projects into a single &lt;A href="https://www.atlassian.com/git/tutorials/source-code-management" target="_self"&gt;SCM&lt;/A&gt; (probably GIT?) repository if that's feasible.&lt;/LI&gt;&lt;LI&gt;You could build your bundle and deploy it to a central software repository, such as &lt;A href="https://jfrog.com/artifactory/" target="_self"&gt;Artifactory&lt;/A&gt;, &lt;A href="https://www.sonatype.com/products/repository-pro" target="_self"&gt;Nexus&lt;/A&gt; or similar as mentioned by &lt;LI-USER uid="17382485"&gt;&lt;/LI-USER&gt;. Your other project would then reference it as a dependency (the same way you are referencing other, 3rd party dependencies) and you would need to update your pom.xml file to &lt;A href="https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#embedding-dependencies" target="_self"&gt;embed&lt;/A&gt; it.&lt;/LI&gt;&lt;LI&gt;You could also opt for a loose coupling and deploy the two artifacts separately. The bundle would still need to be added as a dependency (&lt;A href="https://howtodoinjava.com/maven/maven-dependency-scopes/#provided" target="_self"&gt;provided&lt;/A&gt; in this case) and resolvable through e. g. a software repository (again: Artifactory, Nexus or similar) but you would decouple release and deployment cycles.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:17:06 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417435#M929</guid>
      <dc:creator>markus_bulla_adobe</dc:creator>
      <dc:date>2021-07-28T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417448#M930</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;&amp;nbsp; My two cents you can also refer to this blog for additional info&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wemblog.com/2014/01/how-to-include-cq-package-from-other.html" target="_blank"&gt;http://www.wemblog.com/2014/01/how-to-include-cq-package-from-other.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajashankar.R&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:44:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/417448#M930</guid>
      <dc:creator>RajaShankar</dc:creator>
      <dc:date>2021-07-28T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/418483#M931</link>
      <description>&lt;LI-USER uid="10624200" login="markus_bulla_adobe"&gt;&lt;/LI-USER&gt; Hey I'd like to do the third approach but I don't see the difference between the second approach if you sitll have to add it as a dependency? Can you elaborate a bit more on this please?</description>
      <pubDate>Fri, 06 Aug 2021 19:11:31 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/418483#M931</guid>
      <dc:creator>akatsuki07</dc:creator>
      <dc:date>2021-08-06T19:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Include custom OSGI bundle in AEM Project</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/418502#M932</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="17173612"&gt;&lt;/LI-USER&gt;!&lt;/P&gt;&lt;P&gt;Option 2 will embed the bundle into package, resulting in a single deployment package that deploys both parts together.&lt;/P&gt;&lt;P&gt;Option 3 will tell the bundle that there is a dependency, but the other bundle has to be deployed separately. So you will have to separate deployments.&lt;/P&gt;&lt;P&gt;Hope that clarifies it at bit!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 20:01:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-custom-osgi-bundle-in-aem-project/m-p/418502#M932</guid>
      <dc:creator>markus_bulla_adobe</dc:creator>
      <dc:date>2021-08-07T20:01:18Z</dc:date>
    </item>
  </channel>
</rss>

