<?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: Maven dependency issue while integrating GCP with AEM in Adobe Experience Manager Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454949#M33780</link>
    <description>&lt;P&gt;&lt;LI-USER uid="17500690"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;What was the resolution? How did you managed it?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 17:16:07 GMT</pubDate>
    <dc:creator>SantoshSai</dc:creator>
    <dc:date>2022-06-06T17:16:07Z</dc:date>
    <item>
      <title>Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454399#M33719</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working on a POC to call a google cloud storage API from AEM to retrieve an image file following the documentation - &lt;A href="https://www.baeldung.com/java-google-cloud-storage" target="_blank"&gt;https://www.baeldung.com/java-google-cloud-storage&lt;/A&gt; . My class is as below ,currently in the early stages to establish the connectivity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;import java.io.IOException;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;import com.google.api.gax.paging.Page;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import com.google.cloud.storage.Bucket;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import com.google.cloud.storage.Storage;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import com.google.cloud.storage.StorageOptions;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;public class GoogleCloudConnector {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;public static void main(String[] args) throws IOException {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;System.out.println("This is main");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;StorageOptions.Builder b = StorageOptions.newBuilder().setProjectId("lt-test-lwr");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Storage storage = b.build().getService();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Page&amp;lt;Bucket&amp;gt; buckets = storage.list();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;for (Bucket bucket : buckets.iterateAll()) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;System.out.println(bucket.toString());&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The maven dependency I have added for using this API is as below.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;com.google.cloud&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;google-cloud-storage&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.6.1&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I am getting dependency error and my bundle is not getting active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P_V_Nair_0-1654100318372.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/41463i3318957D4AE68F58/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="P_V_Nair_0-1654100318372.png" alt="P_V_Nair_0-1654100318372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone help understand, why we get this error even after adding the required maven dependency in AEM project? Has anyone successfully integrated Google cloud platform with AEM and any insights here?&lt;/P&gt;&lt;P&gt;&lt;LI-USER uid="11077056"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 16:26:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454399#M33719</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-01T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454404#M33720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;- The google could storage jar that you are using is a third-party jar and is not available in the OSGI. By adding an entry in the pom file, you are only making sure that the jar is available during local development and compile-time; but for the same to work in the context of OSGI, the jar should be available as a bundle in the OSGI. To achieve this you can follow the following articles:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/how-add-third-party-bundle-you-aem-package-veena-vikraman" target="_blank"&gt;https://www.linkedin.com/pulse/how-add-third-party-bundle-you-aem-package-veena-vikraman&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html" target="_blank"&gt;https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 16:41:29 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454404#M33720</guid>
      <dc:creator>Fanindra_Surat</dc:creator>
      <dc:date>2022-06-01T16:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454406#M33721</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="8664633"&gt;&lt;/LI-USER&gt;&amp;nbsp;, Thank you for your reply. But isn't it possible to add a third party jar to maven pom.xml using bnd plugin import or embed packages , instead of going through these steps to import the third party jar to OSGI as another bundle? I tried directly adding the jar to osgi using felic console, but it gave&amp;nbsp;&lt;/P&gt;&lt;H2&gt;HTTP ERROR 500 Server Error&lt;/H2&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 16:48:45 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454406#M33721</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-01T16:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454427#M33722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Facing similar issue even after following steps mentioned above - embedding external jar to bundle&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-01 at 4.05.32 PM.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/41470iE856964225973FB4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-06-01 at 4.05.32 PM.png" alt="Screen Shot 2022-06-01 at 4.05.32 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:15:01 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454427#M33722</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-01T20:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454429#M33723</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The error you are facing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-01 at 4.09.21 PM.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/41471iBF9AE7B271BD5649/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-06-01 at 4.09.21 PM.png" alt="Screen Shot 2022-06-01 at 4.09.21 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;because&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Bundle-SymbolicName header missing, cannot install bundle -&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;the jar file which you are trying to install doesn't have a Bundle-Symbolic Name.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:13:48 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454429#M33723</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-01T20:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454431#M33724</link>
      <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;Thanks a lot for checking. Still didn’t find a fix for it&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:18:19 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454431#M33724</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-01T20:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454434#M33725</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;May I know what archetype you have currently? or send me a snap for module architecture eg.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-01 at 4.30.00 PM.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/41473iB080F193CFD7C93E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-06-01 at 4.30.00 PM.png" alt="Screen Shot 2022-06-01 at 4.30.00 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:30:41 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454434#M33725</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-01T20:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454437#M33726</link>
      <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;Please find attached the module structure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P_V_Nair_1-1654115779590.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/41475iE29E5E74A351403A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="P_V_Nair_1-1654115779590.png" alt="P_V_Nair_1-1654115779590.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:36:27 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454437#M33726</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-01T20:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454439#M33727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;- You can use the bnd maven plugin too, but the instruction you may want to use is -includeresource. More detailed steps on using this plugin for embedding third-party jar is at the link&amp;nbsp;&lt;A href="https://myaemlearnings.blogspot.com/2021/12/embed-third-party-dependency-using-bnd.html" target="_blank"&gt;https://myaemlearnings.blogspot.com/2021/12/embed-third-party-dependency-using-bnd.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:39:53 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454439#M33727</guid>
      <dc:creator>Fanindra_Surat</dc:creator>
      <dc:date>2022-06-01T20:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454457#M33728</link>
      <description>&lt;P&gt;The maven archetype which i have(check below screenshot) is based in maven bundle plugin - based on it can able to resolve one issue but not completely.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 22:02:31 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454457#M33728</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-01T22:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454624#M33763</link>
      <description>&lt;P&gt;&lt;LI-USER uid="11813833"&gt;&lt;/LI-USER&gt;&amp;nbsp;Could you please let me know how you were able to fix that 1 issue?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:25:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454624#M33763</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-02T18:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454947#M33778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17471100"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Add the dependency (google-cloud-storage.jar) in&amp;nbsp;&lt;EM&gt;Include-Resource&lt;/EM&gt; attribute of &lt;STRONG&gt;bnd-maven-plugin&lt;/STRONG&gt;, in your core pom.xml&amp;nbsp;&lt;BR /&gt;And add the same in&amp;nbsp;&lt;EM&gt;Bundle-ClassPath &lt;/EM&gt;attribute&amp;nbsp;as well.&amp;nbsp;&lt;BR /&gt;Also, make sure you exclude other dependencies of (!com.google.api.*) in the &lt;EM&gt;Import-Package&lt;/EM&gt; attribute of&amp;nbsp;&lt;STRONG&gt;bnd-maven-plugin&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mrudul&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 16:56:09 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454947#M33778</guid>
      <dc:creator>mrudul</dc:creator>
      <dc:date>2022-06-06T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454948#M33779</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;LI-USER uid="17500690"&gt;&lt;/LI-USER&gt;&amp;nbsp;That fixed the issue and the bundle is active now.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 17:03:06 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454948#M33779</guid>
      <dc:creator>P_V_Nair</dc:creator>
      <dc:date>2022-06-06T17:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Maven dependency issue while integrating GCP with AEM</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454949#M33780</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17500690"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;What was the resolution? How did you managed it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 17:16:07 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-issue-while-integrating-gcp-with-aem/m-p/454949#M33780</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-06T17:16:07Z</dc:date>
    </item>
  </channel>
</rss>

