AEM Communities 清理 SRP - 捆绑包状态未激活
AEM Communities Cleanup SRP - Bundle status is not Active
我从 here 克隆了项目。我将 eclipse 作为 maven 项目导入并尝试使用 mvn clean install -DskipTests 构建它。
部署后系统控制台出现 com.day.cq.commons- cannot resolve 错误。为此,我检查了 depfinder 已经存在以下依赖项。
请帮帮我。我是 AEM 新手。
谢谢。
我在 pom.xml
的 maven-bundle-plugin 中导入以下包后解决了上述问题
<Import-Package>com.day.cq.commons;version=5.7.6;</Import-Package>
因此,整个故事将如下所示:
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.0</version>
<extensions>true</extensions>
<inherited>true</inherited>
<configuration>
<obrRepository>NONE</obrRepository>
<instructions>
<Bundle-Category>social</Bundle-Category>
<Bundle-DocURL>
http://www.adobe.com
</Bundle-DocURL>
<Bundle-Vendor>Adobe Systems Inc.</Bundle-Vendor>
<Import-Package>com.day.cq.commons;version=5.7.6;</Import-Package>
</instructions>
</configuration>
我从 here 克隆了项目。我将 eclipse 作为 maven 项目导入并尝试使用 mvn clean install -DskipTests 构建它。
部署后系统控制台出现 com.day.cq.commons- cannot resolve 错误。为此,我检查了 depfinder 已经存在以下依赖项
请帮帮我。我是 AEM 新手。
谢谢。
我在 pom.xml
的 maven-bundle-plugin 中导入以下包后解决了上述问题<Import-Package>com.day.cq.commons;version=5.7.6;</Import-Package>
因此,整个故事将如下所示:
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.0</version>
<extensions>true</extensions>
<inherited>true</inherited>
<configuration>
<obrRepository>NONE</obrRepository>
<instructions>
<Bundle-Category>social</Bundle-Category>
<Bundle-DocURL>
http://www.adobe.com
</Bundle-DocURL>
<Bundle-Vendor>Adobe Systems Inc.</Bundle-Vendor>
<Import-Package>com.day.cq.commons;version=5.7.6;</Import-Package>
</instructions>
</configuration>