繁体   English   中英

从源WSO2身份服务器生成期间发生错误

[英]Error during Build from Source WSO2 Identity Server

我想通过使用以下工具在WSO2 Identity Server v5.0.0中进行一些更改;

  1. Eclipse(开普勒)
  2. 颠覆性的(对于SVN)
  3. JDK 1.7
  4. Maven的3.2.3
  5. Windows 7的

我已经完成以下步骤1. svn结帐(/svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk11/)2.然后从“ products20494 / is204941”中选择is5.0.0。3.右键单击在pom.xml文件4上运行。以maven clean运行(结果显示成功,并显示以下警告)

 "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

     [INFO] Scanning for projects...
    [WARNING] .............................
    ......................

        [WARNING] Some problems were encountered while building the effective model for org.wso2.identity:org.wso2.sample.user.store.manager:bundle:1.0
        [WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.
        [WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.
        [WARNING] 'dependencies.dependency.systemPath' for org.wso2.carbon:org.wso2.carbon.utils:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/org.wso2.carbon.utils-4.0.0.jar will be unresolvable by dependent projects @ line 78, column 25

    --------------------
    ------------
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2.043s
    [INFO] Finished at: Fri Dec 12 10:14:57 PKT 2014
    [INFO] Final Memory: 12M/113M
    [INFO] ------------------------------------------------------------------------

但是当我以maven运行时,显示以下错误;


    [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.5:bundle (default-bundle) on project org.wso2.identity.styles: Error calculating classpath for project MavenProject: org.wso2.identity:org.wso2.identity.styles:5.0.0 @ D:\wso2is\5.0.0\modules\styles\product\pom.xml: The JAR/ZIP file (C:\Users\Rizvi\.m2\repository\org\apache\commons\ssl\not-yet-commons-ssl\0.3.9\not-yet-commons-ssl-0.3.9.jar) seems corrupted, error: error in opening zip file -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 11] cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :org.wso2.identity.styles

-------------------
-------------------

在这方面有人可以帮助我吗?

提前致谢 !

首先,您需要具备以下条件才能成功构建Carbon 4.2或更旧的版本:

  • Java 1.6(不会在1.7或更高版本中构建)
  • Maven 3.0.5(更高版本可能会出现问题,因此请尝试安装此版本)

然后,当我们查看发布矩阵时 ,我们看到在发布块11时发布了8个内核补丁。 你必须在为了建立所有这些内核补丁一个个从patch0001构建块11补丁源之前patch0008 可以在这里找到

然后, 查看此处可用的Carbon平台Turing版本,并构建product-releases/chunk-11 ,它将构建IS 5.0.0 Pack。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM