首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在本地SDK中执行插件失败

在本地SDK中执行插件失败
EN

Stack Overflow用户
提问于 2022-02-09 02:50:06
回答 1查看 565关注 0票数 0
代码语言:javascript
运行
复制
[INFO] --- aemanalyser-maven-plugin:0.9.2:analyse (default-analyse) @ aem-guides-myproject.analyse ---
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.prod:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.prod:0.0.1-SNAPSHOT' finished : 0 warnings, 3 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.prod:0.0.1-SNAPSHOT'. See log output for error messages.
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.prod:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.prod:0.0.1-SNAPSHOT' finished : 0 warnings, 3 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.prod:0.0.1-SNAPSHOT'. See log output for error messages.
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.stage:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.stage:0.0.1-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish.stage:0.0.1-SNAPSHOT'. See log output for error messages.
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish:0.0.1-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-publish:0.0.1-SNAPSHOT'. See log output for error messages.
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author:0.0.1-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author:0.0.1-SNAPSHOT'. See log output for error messages.
[INFO] Starting analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.stage:0.0.1-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.stage:0.0.1-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~myproject.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Analyser detected errors on feature 'com.adobe.aem.guides.myproject:aem-guides-myproject.analyse:slingosgifeature:aggregated-author.stage:0.0.1-SNAPSHOT'. See log output for error messages.

错误是:

未能对项目执行目标com.adobe.aem:aemanalyser-maven-plugin:0.9.2:analyse (默认分析)- more。分析:一个或多个特征分析器检测到特征错误,请阅读插件日志以获得更多详细信息->帮助1。

我使用以下命令创建AEM项目

代码语言:javascript
运行
复制
mvn archetype:generate -B -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=26 -DappTitle="My Citi Sites Project" -DappId="myproject" -DgroupId="com.adobe.aem.guides.myproject" -DartifactId="aem-guides-myproject" -Dversion="0.0.1-SNAPSHOT" -DaemVersion="cloud"

项目的创建是成功的,但问题是在使用mvn clean install -PautoInstallSinglePackage构建项目时出现了错误。

EN

回答 1

Stack Overflow用户

发布于 2022-02-09 03:04:29

这是答案。

如果您使用AEM项目原型来设置您的项目,请确保调整根Maven pom.xml中的属性,如下所示。

我已经更改了根pom.xml中的属性,我已经更新了AEM分析器的最新版本。

旧版本: pom.xml

代码语言:javascript
运行
复制
<properties>
    <aemanalyser.version>0.9.2</aemanalyser.version>
</properties>

 <build>
        <plugins> </plugins>
           <pluginManagement>
                <!-- AEM Analyser Plugin -->
                <plugin>
                    <groupId>com.adobe.aem</groupId>
                    <artifactId>aemanalyser-maven-plugin</artifactId>
                    <version>${aemanalyser.version}</version>
                    <extensions>true</extensions>
                </plugin>
        </pluginManagement>
    </build>

最新版本: pom.xml

代码语言:javascript
运行
复制
<properties>
    <aemanalyser.version>1.3.0</aemanalyser.version> <!-- Make sure to use the latest release -->
</properties>

 <build>
        <plugins> </plugins>
           <pluginManagement>
                <!-- AEM Analyser Plugin -->
                <plugin>
                    <groupId>com.adobe.aem</groupId>
                    <artifactId>aemanalyser-maven-plugin</artifactId>
                    <version>${aemanalyser.version}</version>
                    <extensions>true</extensions>
                </plugin>
        </pluginManagement>
    </build>

查看最新版本的AEM分析器Maven插件https://mvnrepository.com/artifact/com.adobe.aem/aemanalyser-maven-plugin

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71043425

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档