Java 从源代码构建Spring引导以作出贡献

Java 从源代码构建Spring引导以作出贡献,java,maven,build,spring-boot,Java,Maven,Build,Spring Boot,我想开始为Spring Boot做贡献,并且已经检查了所有的代码,但是我无法获得构建的源代码。据我所知,我应该能够运行

我想开始为Spring Boot做贡献,并且已经检查了所有的代码,但是我无法获得构建的源代码。据我所知,我应该能够运行


,但是我遇到了这些错误

[INFO] Scanning for projects...
[ERROR] The build could not read 11 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml) has 2 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ line 1449, column 16 -> [Help 2]
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-parent:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-parent:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml, line 232, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-versions:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-versions\pom.xml) has 2 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-tools:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-tools\pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-parent:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml, line 232, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml) has 7 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-context:jar is missing. @ org.springframework.boot:spring-boot:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml, line 27, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-orm:jar is missing. @ org.springframework.boot:spring-boot:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml, line 177, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml, line 182, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-web:jar is missing. @ org.springframework.boot:spring-boot:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml, line 187, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-webmvc:jar is missing. @ org.springframework.boot:spring-boot:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot\pom.xml, line 209, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-autoconfigure:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml) has 12 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-jdbc:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 238, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework.integration:spring-integration-core:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 243, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework.integration:spring-integration-jmx:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 248, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-jms:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 253, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-orm:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 258, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-tx:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 263, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-web:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 268, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-websocket:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 273, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-webmvc:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 278, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-autoconfigure:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-autoconfigure\pom.xml, line 480, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-actuator:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml) has 7 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-context:jar is missing. @ org.springframework.boot:spring-boot-actuator:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml, line 39, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-messaging:jar is missing. @ org.springframework.boot:spring-boot-actuator:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml, line 94, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-jdbc:jar is missing. @ org.springframework.boot:spring-boot-actuator:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml, line 99, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-webmvc:jar is missing. @ org.springframework.boot:spring-boot-actuator:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml, line 104, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-actuator:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-actuator\pom.xml, line 227, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-docs:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml) has 7 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-messaging:jar is missing. @ org.springframework.boot:spring-boot-docs:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml, line 213, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-orm:jar is missing. @ org.springframework.boot:spring-boot-docs:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml, line 218, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-docs:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml, line 223, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-web:jar is missing. @ org.springframework.boot:spring-boot-docs:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml, line 228, column 15
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-webmvc:jar is missing. @ org.springframework.boot:spring-boot-docs:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-docs\pom.xml, line 233, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-starters:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-starters\pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-parent:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml, line 232, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-cli:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-cli\pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-parent:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml, line 232, column 15
[ERROR]   
[ERROR]   The project org.springframework.boot:spring-boot-integration-tests:1.3.0.BUILD-SNAPSHOT (C:\dev\workspace\mine\os\spring-boot\spring-boot-integration-tests\pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1359, column 16 -> [Help 2]
[ERROR]     Non-resolvable import POM: Failure to find org.springframework.integration:spring-integration-bom:pom:4.2.0.BUILD-SNAPSHOT in http://nexus.companyname.com/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus.releases has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:1.3.0.BUILD-SNAPSHOT, C:\dev\workspace\mine\os\spring-boot\spring-boot-dependencies\pom.xml, line 1449, column 16 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.springframework:spring-test:jar is missing. @ org.springframework.boot:spring-boot-parent:[unknown-version], C:\dev\workspace\mine\os\spring-boot\spring-boot-parent\pom.xml, line 232, column 15
[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 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

创建一个新的设置文件(见下文),并在运行mvn clean install时使用-s选项,虽然我不得不跳过测试,但都是构建的

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <localRepository>c:/r2_spring</localRepository>
    <interactiveMode/>
    <usePluginRegistry/>
    <offline/>
    <pluginGroups/>
</settings>

c:/r2\u弹簧

您的M2_HOME/settings.xml中是否有任何可疑的覆盖(特别是提到“companyname”)?一个干净的本地repo可能值得一试:删除(或重命名)M2_HOME/repository/folder。不过,我在大约5分钟后流产了。这东西要运行多长时间才能得到错误?马上。我将尝试使用其他设置文件。ThanksIt看起来像是在使用Nexus作为Maven代理,它没有访问Spring框架和Spring集成快照的权限,而这些快照是引导当前构建的。您需要使Maven构建可用。