在构建WSO2提供的最新修复时出现Maven问题



WSO2给出了Governance Registry5.3.0的最新修复(治理REST API更新问题)。在构建用于应用修复的代码时,会抛出以下错误:

使用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] Usersa596500Downloadscarbon-governance-mastercomponentsgovernanceorg.wso2.carbon.governance.apisrcmainjavaorgwso2carbongovernanceapiutilCheckpointTimeUtils.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/)

请克隆下面的repo,移动到相关标签,并相应地在每个repo上运行mvn clean install -e

  • https://github.com/wso2/carbon4-kernel.git标签:4.4.7
  • https://github.com/wso2/carbon-registry.git标签:4.6.0
  • https://github.com/wso2/carbon-governance.git标签:4.7.1
  • https://github.com/wso2/carbon-governance-extensions.git标签:4.5.2
  • https://github.com/wso2/jaggery-extensions.git标签:1.5.5
  • https://github.com/wso2/carbon-store标签:2.4.6
  • https://github.com/wso2/product-greg.git标签:5.3.0

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

相关内容

  • 没有找到相关文章

最新更新