2017-09-27 13 views
0

私はhereからプロジェクトをクローンしました。そして、私はmavenプロジェクトとしてEclipseにインポートし、mvn clean install -DskipTestsを使ってビルドしようとしました。 展開後にcom.day.cq.commons-システムコンソールのエラーを解決できません。このために私はdepfinderをチェックして既に依存関係が存在しています。enter image description hereです。AEMコミュニティクリーンアップSRP - バンドルステータスがアクティブではありません

私を助けてください。私はAEMの新人です。

ありがとうございます。私は

<Import-Package>com.day.cq.commons;version=5.7.6;</Import-Package> 

だから、のpom.xmlでのmaven-バンドル・プラグインに次のパッケージをインポートした後、問題の上解決

+1

は、あなたが完全な誤りを投稿することができます、 お願いします? –

答えて

0

、全体的な話は次のようになります。

<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> 
関連する問題