Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build #2

Open
ulymarins opened this issue Dec 8, 2016 · 2 comments
Open

Can't build #2

ulymarins opened this issue Dec 8, 2016 · 2 comments

Comments

@ulymarins
Copy link

Hello, I'm not able to build using mvn clean verify. Any thoughts? Stacktrace below:

uly@uly-Inspiron-3647:~/workspace/external/oath$ mvn clean verify
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] OATH Project
[INFO] OATH OTP
[INFO] OATH OTP Key Provisioning
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building OATH Project 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oath-parent ---
[INFO] 
[INFO] >>> maven-source-plugin:2.3:jar (attach-sources) > generate-sources @ oath-parent >>>
[INFO] 
[INFO] <<< maven-source-plugin:2.3:jar (attach-sources) < generate-sources @ oath-parent <<<
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ oath-parent ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ oath-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building OATH OTP 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oath-otp ---
[INFO] Deleting /home/uly/workspace/external/oath/oath-otp/target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OATH Project ....................................... SUCCESS [  1.366 s]
[INFO] OATH OTP ........................................... FAILURE [  1.099 s]
[INFO] OATH OTP Key Provisioning .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.634 s
[INFO] Finished at: 2016-12-08T13:28:18-02:00
[INFO] Final Memory: 15M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project oath-otp: Failed to clean project: Failed to delete /home/uly/workspace/external/oath/oath-otp/target/test-classes/com/lochbridge/oath/otp/TestTOTPBuilder.class -> [Help 1]
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :oath-otp


@gaviral
Copy link

gaviral commented Dec 8, 2016

That's weird it worked for me.
Can you share your full debug log?

@SaltOfTheFlame
Copy link

it's not the bug of the project
your tagret folder can not be deleted(probably, it is locked by some other process)
this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants