mvn clean install for 2.1.0.0 DC fails under Windows
See original GitHub issueUnder Windows:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (rat-report) on project streamsets-datacollector: An Ant BuildException has
occured: Execute failed: java.io.IOException: Cannot run program “\bin\bash”: Cr
eateProcess error=2, The system cannot find the file specified
[ERROR] around Ant part …<exec dir="C:\Users\madison\Downloads\2.1.0.0_dc\d atacollector-2.1.0.0" executable="/bin/bash" failonerror="true">
… @ 10:120 in
C:\Users\madison\Downloads\2.1.0.0_dc\datacollector-2.1.0.0\target\antrun\bui
ld-main.xml
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
mvn clean install not working: Compilation failure
1 Answer 1 · Set your JAVA_HOME to Java 8 or JRE 1.8. If not set source and target to '17' (not 1.7...
Read more >mvn clean install - a short guide to Maven - Marco Behler
You can use this guide to understand what a 'mvn clean install' really does. ... showing how to install the latest Maven 3.6...
Read more >Running mvn install twice causes IllegalStateException
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : From command line, 'mvn install'. Allow to finish successfully. Then run 'mvn install' again. Fails...
Read more >Cannot perform mvn clean install - OpenMRS Talk
But when I try to perform mvn clean install, I'm constantly facing this issue. Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1: ...
Read more >Apache Maven Tutorial - Vogella.com
If you want to use your local repository, you can use the -o to tell Maven to work offline. mvn -o clean install....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That was the winner. Thank you!
Ah - it’s the license check. If you look at
/home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/rat.txt
you’ll see the non-compliant files. You can build with-DskipRat
to get round it for now.Please let me know if this works so I can close the issue.