Hi all,
    I am trying to build GeoServer from source code. I got the
MojoExecutionException error when attempting to run a maven command from
'geoserver/src'. I tried to solve it with setting a proxy but failed to
build again. Anyone can help me out? Thanks in advance.

PS: here's the full stack trace of errors when I run |mvn -X clean install|

|[ERROR]Failedto execute goal
pl.project13.maven:git-commit-id-plugin:2.1.15:revision (default)on
project geoserver:Couldnotcomplete Mojoexecution...Unableto find commits
untilsome tag:Walkfailure.Missingcommit
b3af7f46250c529c51402d2eb948987385690d3d
->[Help1]org.apache.maven.lifecycle.LifecycleExecutionException:Failedto
execute goal pl.project13.maven:git-commit-id-plugin:2.1.15:revision
(default)on project geoserver:Couldnotcomplete Mojoexecution...at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)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:116)at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)at
org.apache.maven.cli.MavenCli.main(MavenCli.java:199)at
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at
java.lang.reflect.Method.invoke(Method.java:606)at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Causedby:org.apache.maven.plugin.MojoExecutionException:Couldnotcomplete
Mojoexecution...at
pl.project13.maven.git.GitCommitIdMojo.handlePluginFailure(GitCommitIdMojo.java:457)at
pl.project13.maven.git.GitCommitIdMojo.execute(GitCommitIdMojo.java:393)at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)...20more
Causedby:java.lang.RuntimeException:Unableto find commits untilsome tag
at
pl.project13.jgit.JGitCommon.findCommitsUntilSomeTag(JGitCommon.java:286)at
pl.project13.jgit.DescribeCommand.call(DescribeCommand.java:298)at
pl.project13.maven.git.JGitProvider.getGitDescribe(JGitProvider.java:234)at
pl.project13.maven.git.JGitProvider.getGitDescribe(JGitProvider.java:125)at
pl.project13.maven.git.GitDataProvider.maybePutGitDescribe(GitDataProvider.java:139)at
pl.project13.maven.git.GitDataProvider.loadGitData(GitDataProvider.java:104)at
pl.project13.maven.git.GitCommitIdMojo.loadGitDataWithJGit(GitCommitIdMojo.java:585)at
pl.project13.maven.git.GitCommitIdMojo.loadGitData(GitCommitIdMojo.java:558)at
pl.project13.maven.git.GitCommitIdMojo.execute(GitCommitIdMojo.java:376)...22more
Causedby:org.eclipse.jgit.errors.RevWalkException:Walkfailure.at
org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1306)at
pl.project13.jgit.JGitCommon.findCommitsUntilSomeTag(JGitCommon.java:274)...30more
Causedby:org.eclipse.jgit.errors.MissingObjectException:Missingcommit
b3af7f46250c529c51402d2eb948987385690d3d at
org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:149)at
org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:884)at
org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:145)at
org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)at
org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:186)at
org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:422)at
org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1304)...31more
[ERROR][ERROR][ERROR]Formore information about the errors andpossible
solutions,please read the following
articles:[ERROR][Help1]http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException|

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to