我正在尝试设置maven项目并添加以下依赖项
<dependency>
<groupId>com.adobe.granite.bundles</groupId>
<artifactId>json</artifactId>
<version>20090211_1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.day.cq.wcm</groupId>
<artifactId>cq-wcm-foundation</artifactId>
<version>5.6.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-social-commons</artifactId>
<version>1.4.172</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-social-blog</artifactId>
<version>1.1.8</version>
<scope>provided</scope>
</dependency>
在运行maven clean install时,我收到以下错误。
[错误]无法在项目falcon-utils上执行目标:无法执行 解决项目的依赖关系 com.test.wem:test-utils:bundle:0.1-SNAPSHOT:收集失败 依赖于com.adobe.cq.social:cq-social-commons:jar:1.4.172: 无法读取工件描述符 com.adobe.cq.social:cq-social-commons:jar:1.4.172:找不到 com.adobe.cq.social:socialcommunities-parent:pom:1.1.34 in https://repo.adobe.com/nexus/content/groups/public/被缓存在 本地存储库,在更新之前不会重新尝试解析 adobe的间隔已经过去或强制更新 - &gt; [帮助1]
我不认为这是代理问题,因为之前有效。 请帮助我。
谢谢, 洁
答案 0 :(得分:1)
罐子在https://repo.adobe.com/nexus/content/groups/public/com/adobe/cq/social/cq-social-commons/1.4.172/
运行mvn clean install -U应该强制更新它..