neo4j社区建设失败了。为什么?

neo4j社区建设失败了。为什么?,neo4j,Neo4j,我遵循了Travis link中的所有步骤 我的maven版本是 Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_30, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: en_IN, platform encoding: UTF-8 OS name: "linux",

我遵循了Travis link中的所有步骤

我的maven版本是

Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_IN, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-60-generic", arch: "amd64", family: "unix"
当我尝试使用maven构建时,我遇到了这个错误

[错误]无法执行目标org.neo4j.build.plugins:license maven plugin:3:check(检查许可证)on project neo4j内核:某些文件没有预期的许可证标头->[帮助1] org.apache.maven.lifecycle.LifecycleExecutionException:未能执行目标org.neo4j.build.plugins:许可证maven插件:3:检查(检查许可证)project neo4j内核:某些文件没有预期的许可证头

首先我尝试在windows中构建,然后在ubuntu 12.04中,在这两个版本中我都遇到了相同的错误

下面是错误堆栈跟踪

[ERROR] Failed to execute goal org.neo4j.build.plugins:license-maven-plugin:3:check (check-licenses) on project neo4j-kernel: Some files do not have the expected license header -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.neo4j.build.plugins:license-maven-plugin:3:check (check-licenses) on project neo4j-kernel: Some files do not have the expected license header
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Some files do not have the expected license header
    at com.google.code.mojo.license.LicenseCheckMojo.execute(LicenseCheckMojo.java:64)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more

现在我该如何解决这个问题呢?即使与此错误相同,也请使用Java 7

首先构建
社区/许可证检查
子模块。

按照

在Windows上构建时,请使用
-Dlicensing.skip
避免与行尾相关的问题


通过在命令行中添加以下内容,可以跳过许可证标题检查:
-Dlicense.skip=true

仍然存在相同的错误。我遵循的步骤有什么错误吗。你能检查一下这个链接吗?我哪里出错了。linux也有同样的错误。为什么要扔它?