openxava / documentation / Maven configuration

OpenXava supports Maven since v7.0, so if you create a new project using OpenXava Studio it is a Maven project by default.
If you have an application with OpenXava 6.x or older, the best way of mavenizing it is migrating to the latest OpenXava version. Look at the migrations instructions for that.
To create a new OpenXava project from command line using Maven, type the next commands for Windows, Linux or Mac:
$ mvn archetype:generate -DarchetypeGroupId=org.openxava -DarchetypeArtifactId=openxava-archetype -DarchetypeVersion=RELEASE -DgroupId=com.yourcompany -DartifactId=yourapp -DinteractiveMode=false
$ cd yourapp
$ mvn package
To run your application in Windows:
c:\> java -cp "target/yourapp/WEB-INF/classes;target/yourapp/WEB-INF/lib/*" com.yourcompany.yourapp.run.yourapp
To run your application in Linux or Mac:
$ java -cp "target/yourapp/WEB-INF/classes:target/yourapp/WEB-INF/lib/*" com.yourcompany.yourapp.run.yourapp
The difference is the separator ; or :

You can also follow the Getting started guide using Maven.

Also you should be able to use it from Eclipse, IntelliJ, NetBeans, Visual Studio Code or any other IDE with Maven support.