Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Project build error: Unresolveable build extension

Avatar

Level 2

Hello. I am currently working on a specialized plugin for AEM and with the app that I'm using. I am using AEM 6.4. These are currently the errors I am encountering in my pom.xml:

1673424_pastedImage_2.png

I've tried updating my settings.xml using this: How to set up the Adobe Maven Repository , then running mvn -PautoInstallPackage -Padobe-public clean install on cmd but there's still no luck. I've also tried maven update on the project then selected "Force Update of Snapshots/Releases", although this still doesn't work. Furthermore, I've tried updating my parent pom.xml by including this: How to Develop AEM Projects Using Eclipse to the pluginManagement but the same errors exist.

Any other suggestions on how I can resolve this?

Thanks,

Rockie

1 Accepted Solution

Avatar

Correct answer by
Level 2

I've managed to do it by including this to the parent pom.xml file:

<repositories>
   <repository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
   </repository>
</repositories>
<pluginRepositories>
   <pluginRepository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
   </pluginRepository>
</pluginRepositories>

As stated in here: https://github.com/Adobe-Marketing-Cloud/aem-samples/issues/1

And then run: mvn -PautoInstallPackage -Padobe-public clean install

<repositories>
  <repository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
  </pluginRepository>
</pluginRepositories>

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

I've managed to do it by including this to the parent pom.xml file:

<repositories>
   <repository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
   </repository>
</repositories>
<pluginRepositories>
   <pluginRepository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
   </pluginRepository>
</pluginRepositories>

As stated in here: https://github.com/Adobe-Marketing-Cloud/aem-samples/issues/1

And then run: mvn -PautoInstallPackage -Padobe-public clean install

<repositories>
  <repository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
      <id>adobe</id>
      <name>Adobe Public Repository</name>
      <url>https://repo.adobe.com/nexus/content/groups/public/</url>
      <layout>default</layout>
  </pluginRepository>
</pluginRepositories>