Waikato / moa

MOA is an open source framework for Big Data stream mining. It includes a collection of machine learning algorithms (classification, regression, clustering, outlier detection, concept drift detection and recommender systems) and tools for evaluation.
http://moa.cms.waikato.ac.nz/
GNU General Public License v3.0
610 stars 353 forks source link

Maven build error on pom.xml #151

Closed Sun-Yuting closed 5 years ago

Sun-Yuting commented 5 years ago

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.

fracpete commented 5 years ago

Can you please post your Java and Maven version?

fracpete commented 5 years ago

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.

Sun-Yuting commented 5 years ago

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.

fracpete commented 5 years ago

No worries. If you're behind a proxy, you can define that in your $HOME/.m2/settings.xml file.

fracpete commented 5 years ago

Here is more information on configuring proxies in your settings.xml: https://maven.apache.org/guides/mini/guide-proxies.html