2016-09-28 47 views
0

WSO2已给出Governance Registry5.3.0(治理REST API更新问题)的最新修复程序。在构建应用修复程序的代码时,会引发下面的错误。Maven问题同时构建WSO2给出的最新修复程序

使用Maven构建代码时出错。

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.wso2.carbon.governance.api: Compilation failure: Compilation failure: 
[ERROR] \Users\a596500\Downloads\carbon-governance-master\components\governance\org.wso2.carbon.governance.api\src\main\java\org\wso2\carbon\governance\api\util\CheckpointTimeUtils.java:[22,30] error: package org.apache.commons.lang does not exist 
[ERROR] Failed to execute goal on project org.wso2.carbon.governance.api: Could not resolve dependencies for projectorg.wso2.carbon.governance:org.wso2.carbon.governance.api:bundle:4.7.2-SNAPSHOT: The following artifacts could not beresolved: org.wso2.carbon.registry:org.wso2.carbon.registry.extensions:jar:4.6.1-SNAPSHOT, org.wso2.carbon.registry:org.wso2.carbon.registry.common:jar:4.6.1-SNAPSHOT, org.wso2.carbon.registry:org.wso2.carbon.registry.admin.api:jar:4.6.1-SNAPSHOT 
org.wso2.carbon.registry:org.wso2.carbon.registry.indexing:jar:4.6.1-SNAPSHOT: Could not find artifact org.wso2.carbon.registry:org.wso2.carbon.registry.extensions:jar:4.6.1-SNAPSHOT in nexuspro-level0 (https://repo.fmr.com/content/groups/level0/) 
+0

您是在构建整个存储库吗?如果没有,请做。 – Bee

+0

我没有构建整个资源库。事实上,我已经报告了WSo2 GREG中的一个错误,而Chandana提供了一个修复lastweek https://github.com/wso2/carbon-governance因此试图建立仅此。但是今天当我访问上述指定URL中的主分支时,他已经恢复了他所做的更改,我不知道为什么?你能否尽快确认一下。 –

+0

请在Chandana回复的原始问题中提出您的问题。 – Bee

回答

2

请克隆低于回购,Move to the relevant tag和运行的每一个和mvn clean install -e每据此回购。

要应用此修复程序并生成最新的jar,您必须从本地机器手动将修复程序应用于5.3.0标记并构建源代码。