question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mvn clean install for 2.1.0.0 DC fails under Windows

See original GitHub issue

Under 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:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
madisonleavocommented, Oct 25, 2016

That was the winner. Thank you!

0reactions
metadaddycommented, Oct 25, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found