Help with Petclinic Spring

0

I had a very strange error, apparently I think it is the repository that is in the .m2, the problem is when I do a "clean and build" at spring petclinic, send me an error from jacoco, any solution?

cd C:\Users\mi nombre\Desktop\FonBon-Funcional\spring-petclinic-master; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151" cmd /c "\"\"C:\Program Files\NetBeans 8.2\java\maven\bin\mvn.bat\"
-Dmaven.ext.class.path=\"C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 clean install\"" Scanning for projects...

------------------------------------------------------------------------ Building petclinic 2.1.0.BUILD-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:3.1.0:clean (default-clean) @ spring-petclinic --- Deleting C:\Users\mi nombre\Desktop\FonBon-Funcional\spring-petclinic-master\target

--- jacoco-maven-plugin:0.8.2:prepare-agent (default) @ spring-petclinic --- argLine set to "-javaagent:C:\Users\mi nombre Sanchez\.m2\repository\org\jacoco\org.jacoco.agent\0.8.2\org.jacoco.agent-0.8.2-runtime.jar=destfile=C:\Users\mi nombre\Desktop\FonBon-Funcional\spring-petclinic-master\target\jacoco.exec"

--- git-commit-id-plugin:2.2.5:revision (default) @ spring-petclinic --- dotGitDirectory C:\mi nombre\Desktop\.git SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. git.build.user.name mi nombre xd git.build.user.email mi emailxd
------------------------------------------------------------------------ BUILD FAILURE
------------------------------------------------------------------------ Total time: 2.878s Finished at: Thu Nov 22 23:50:42 CST 2018 Final Memory: 24M/225M
------------------------------------------------------------------------ Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.5:revision (default) on project spring-petclinic: Could not complete Mojo execution... Error: Could not get HEAD Ref, are you sure you have some commits in the dotGitDirectory? -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    
asked by Jorge Julian 23.11.2018 в 06:54
source

0 answers