Closed Sun-Yuting closed 5 years ago
Can you please post your Java and Maven version?
Java 10 works:
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T06:33:14+12:00)
Java version: 10.0.2, vendor: Oracle Corporation, runtime: /home/fracpete/programs/jdk/jdk-10.0.2-64bit
Java 11 works:
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T06:33:14+12:00)
Java version: 11.0.1, vendor: Oracle Corporation, runtime: /home/fracpete/programs/jdk/jdk-11.0.1-64bit
As you can see, both Maven and Java are latest as of writing. I used mvn clean install -DskipTests=true
to compile MOA.
Really sorry for the late response. I think I know what the problem is. Dut to my company's network, Maven cannot connect to the host to download a parent POM(if I explain it right.) I need to use a proxy. By the way, I use Java 11 and Maven 3.5.4. And thank you so much for helping me here.
No worries. If you're behind a proxy, you can define that in your $HOME/.m2/settings.xml file.
Here is more information on configuring proxies in your settings.xml: https://maven.apache.org/guides/mini/guide-proxies.html
I am trying to build MOA from its source code, but I got an error in the pom.xml file in the top folder. The error is at the tab.
I Googled it. It seems that Sonatype OSS Parent poms is no longer available or may be not compatible with latest Maven and Java versions. I would very much like to know which java and Maven versions this project built on.
Thank you very much.