Problem scenario
You need to use this following command on a CentOS/RedHat/Fedora Linux server in a /home/hadoop/ directory:
mvn package -Pdist,native -DskipTests -Dtar
The Maven build is failing. When you run the command with the “-e” flag for verbosity you see this:
[INFO] BUILD FAILURE
…
[WARNING] The requested profile “dist” could not be activated because it does not exist.
[WARNING] The requested profile “native” could not be activated because it does not exist.
…
Continue reading “How Do You Troubleshoot the Maven Build Failure of No “POM in this directory”?”