【发布时间】:2020-02-19 13:09:28
【问题描述】:
我通过输入以下命令以批处理模式创建了一个 maven 项目:
mvn archetype:generate -B -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=22 -DgroupId=com.adobe.aem.guides -Dversion=0.0.1-SNAPSHOT -DappsFolderName=wknd -DartifactId=aem-guides-wknd -Dpackage=com.adobe.aem.guides.wknd -DartifactName="WKND Sites Project" -DcomponentGroupName=WKND -DconfFolderName=wknd -DcontentFolderName=wknd -DcssId=wknd -DisSingleCountryWebsite=n -Dlanguage_country=en_us -DoptionAemVersion=6.5.0 -DoptionDispatcherConfig=none -DoptionIncludeErrorHandler=n -DoptionIncludeExaples=y -DoptionIncludeFrontendModule=y -DpackageGroup=wknd -DsiteName="WKND Site"
当我输入mvn -PautoInstallSinglePackage clean install
我收到以下错误:
[错误] 无法在项目 aem-guides-wknd.ui.apps 上执行目标:无法解析项目 com.adobe.aem.guides:aem-guides-wknd.ui.apps:content-package 的依赖项: 0.0.1-SNAPSHOT:找不到工件 com.adobe.aem.guides:aem-guides-wknd.ui.frontend:zip:0.0.1-SNAPSHOT
根据我猜的错误,当我搜索到 maven 存储库中没有这样的 artifactid 时。有人可以帮我吗?
【问题讨论】: