Adobe-Marketing-Cloud / aem-guides-wknd-events

Step by Step guide to creating a Single Page Application to use with AEM
48 stars 34 forks source link

[Angular] "[ERROR] Plugin com.github.eirslett:frontend-maven-plugin:1.6" when "mvn clean install" #69

Closed kim257 closed 5 years ago

kim257 commented 5 years ago

Local Environment

Describe the issue Install maven dependency in angular folder

[ERROR] Plugin com.github.eirslett:frontend-maven-plugin:1.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.eirslett:frontend-maven-plugin:jar:1.6: Could not transfer artifact com.github.eirslett:frontend-maven-plugin:pom:1.6 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): repo.adobe.com: Unknown host repo.adobe.com -> [Help 1]

Where in the tutorial are you experiencing an issue?

  1. cd aem-guides-wknd-events/angular-app
  2. mvn clean install

Screenshots image

kim257 commented 5 years ago

https://repo.adobe.com/nexus/content/groups/public Not found com.github.eirslett:frontend-maven-plugin

image

godanny86 commented 5 years ago

Hi @kim257 The frontend maven plugin should get downloaded from central maven repo: https://repo.maven.apache.org/maven2/com/github/eirslett/frontend-maven-plugin/1.6/

what version of Maven are you running? I thought the default was that it would look for central maven first...

kim257 commented 5 years ago

Thank you for reply @godanny86

mvn 3.6.2 image

I created setting.xml like this url. https://helpx.adobe.com/experience-manager/kb/SetUpTheAdobeMavenRepository.html

kim257 commented 5 years ago

Thank you @godanny86 ,Because own proxy

godanny86 commented 5 years ago

glad it worked out!