Hi,
I'm getting below error while installing command as "mvn clean install -PautoInstallAll" to integrate Magento with AEM.
[INFO] acme-store ......................................... SUCCESS [ 1.934 s]
[INFO] Acme Store - Core .................................. SUCCESS [01:20 min]
[INFO] Acme Store - UI apps ............................... SUCCESS [ 25.059 s]
[INFO] Acme Store - UI content ............................ FAILURE [ 1.365 s]
[INFO] Acme Store - Sample Content ........................ SKIPPED
[INFO] Acme Store - All-in-one package .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:52 min
[INFO] Finished at: 2020-10-08T09:36:22+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project acme-store.ui.content: Failed to clean project: Failed to delete C:\Users\Administrator\Desktop\Nitin\Integration\acme-store\ui.content\target\vault-work\META-INF\vault\properties.xml -> [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 <args> -rf :acme-store.ui.content.
For reference please find attached screenshot.
Please suggest.
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @jadhavni3 ,
This could happen some time (mostly when another process open the location) try deleting C:\Users\Administrator\Desktop\Nitin\Integration\acme-store\ui.content\target\vault-work\META-INF\vault\properties.xml manually and build project again.
because eclipse gets lock on some files and maven cannot delete them. Try to exit eclipse and run maven from command line. Then start eclipse again, this may helps you.
Regards,
Santosh
Views
Replies
Total Likes
Hi @jadhavni3 ,
This could happen some time (mostly when another process open the location) try deleting C:\Users\Administrator\Desktop\Nitin\Integration\acme-store\ui.content\target\vault-work\META-INF\vault\properties.xml manually and build project again.
because eclipse gets lock on some files and maven cannot delete them. Try to exit eclipse and run maven from command line. Then start eclipse again, this may helps you.
Regards,
Santosh
Views
Replies
Total Likes
@jadhavni3 -
Try doing mvn clean alone first, and then build your project again.
Thanks,
Nikhil
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies