traccar and maven

Adrien4 years ago

Hi,
I just imported the Traccar source code into Netbeans. I would like to know why the latter shows me a gradle project and not Maven. I want Traccar in the form of Maven
thanks.

Anton Tananaev4 years ago

Why do you want Maven?

Tony Shelver4 years ago

My guess is because the Gradle extension for Netbeans isn't well supported or up to date, as far as I can see (I am far from a Java expert though).

However, this morning I installed Gradle and added Gradle extensions (Gradle Tasks and Gradle Language Support) to Visual Studio Code and built the Traccar project with no issues. This is on Ubuntu.

So now I have one IDE for Python, Javascript, SQL (Postgresql), Vue.js, HTML/CSS, JSON and so on.

Maybe another option for a free java IDE for developers who work in multiple languages.

Anton Tananaev4 years ago

Gradle works just fine with NetBeans. In fact, we just recently updated documentation:

https://www.traccar.org/build-in-netbeans/

Everyone is moving from Maven to Gradle or some other build systems, so I don't see any point in supporting it. We still have Maven build file to give people time to migrate, but it will be removed eventually.

Adrien4 years ago

hi,
I'm more comfortable with Maven. I don't know gradle. I must now read documentation on Gradle.
I will learn gradle.I think it should not be complicated
Thanks

Adrien4 years ago

thank you Traccar. thanks to you i will take a new step in java.
https://soat.developpez.com/tutoriels/java/gradle-remplacement-maven-devoxxfr2014/

Anton Tananaev4 years ago

As I mentioned previously, Maven project file is still there for now, for those who want to use it.