3

大家好,我正在尝试通过 maven-2.2.1 构建 wso2-4.4.1,当我运行“mvn clean install”命令时它会运行,但会出现很多错误无法找到资源存储库(有很多存储库名称) )。我可以添加任何其他存储库吗?

如果有人有时间请帮助我thanx....

下面给出了一些错误...

[INFO] Unable to find resource 'org.jvnet.hudson.svnkit:svnkit:jar:1.1.4-hudson-4' in repository oauth (http://oauth.googlecode.com/svn/code/maven)

[INFO] Unable to find resource 'org.jvnet.hudson.svnkit:svnkit:jar:1.1.4-hudson-4' in repository sonatype (http://oss.sonatype.org/content/repositories/openid4java)

[INFO] Unable to find resource 'org.apache.felix:felix-parent:pom:2.1' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache:apache:pom:9' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.felix:maven-bundle-plugin:maven-plugin:2.3.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'biz.aQute:bndlib:pom:1.50.0' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache.felix:org.apache.felix.bundlerepository:pom:1.6.6' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.osgi:org.osgi.core:pom:4.1.0' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.easymock:easymock:pom:2.4' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache.maven:maven-core:pom:2.0.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.maven:maven:pom:2.0.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
INFO] Unable to find resource 'org.apache.maven:maven-parent:pom:5' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.maven:maven-settings:pom:2.0.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.maven:maven-model:pom:2.0.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.codehaus.plexus:plexus-container-default:pom:1.0-alpha-9-stable-1' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache.maven.wagon:wagon-file:pom:1.0-beta-2' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache.maven.wagon:wagon-providers:pom:1.0-beta-2' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.maven:maven-plugin-parameter-documenter:pom:2.0.7' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

[INFO] Unable to find resource 'org.apache.maven.wagon:wagon-http-lightweight:pom:1.0-beta-2' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'org.apache.maven.wagon:wagon-http-shared:pom:1.0-beta-2' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
[INFO] Unable to find resource 'jtidy:jtidy:pom:4aug2000r7-dev' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)

INFO] Unable to find resource 'org.apache.geronimo.genesis:genesis:pom:1.4' in repository apache-incubator (http://people.apache.org/repo/m2-incubating-repository/) 

[INFO] Unable to find resource 'org.apache.geronimo.genesis.config:config:pom:1.4' in repository apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
[INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.8' in repository jansi (http://jansi.fusesource.org/repo/release) 


[INFO] Unable to find resource 'org.sonatype.gossip:gossip:pom:1.0' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
INFO] Unable to find resource 'org.codehaus.gmaven.runtime:gmaven-runtime-1.6:pom:1.2' in repository repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
4

2 回答 2

3

你得到什么错误?之前的一些讨论可能会对您有所帮助。

  1. 构建 WSO2 Carbon 标签的合适方法是什么?

  2. 如何构建 WSO2 身份服务器

谢谢

蒂利尼

于 2012-06-11T08:31:06.453 回答
0

你能告诉我你下载代码的svn位置吗?您要构建哪个产品?

如果您关注 4.0.2 分支,以下是构建 carbon 4.0.2 分支的构建过程。请使用 maven 3 构建它。

  1. 从 [a]、[b]、[c] 签出代码库。
  2. 从“orbit/tags/4.0.2/patch-releases/4.0.2/pom.xml”做一个干净的构建
  3. 然后从“kernel/tags/4.0.2/patch-releases/4.0.2/pom.xml”构建内核模块
  4. 最后构建平台补丁发布 pom "/platform/tags/4.0.2/patch-releases/4.0.2/pom.xml"

一个。https://svn.wso2.org/repos/wso2/carbon/orbit/tags/4.0.2/

湾。https://svn.wso2.org/repos/wso2/carbon/kernel/tags/4.0.2/

C。https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.2/

于 2012-11-20T11:03:16.657 回答