The XRadar Maven plugin wraps in the whole XRadar ant baseproject in the plugin jar. It is a simple and raw, but effective way of ensuring that you get an identical package in Maven as in Ant. See also Maven Installation for more on the maven plugin usage.
After checking out the maven-project in the same workspace as the base-project, you first need to run the following task in order to import all the necessary data from the current base project.
maven projects:populate -Dxradar.basedir=../base
maven projects:clean projects:populate -Dxradar.basedir=../base
Building all the different parts of the maven configuration is done by running the following target:
maven multiproject:install-snapshot
In order to build and install the plugin, run:
cd maven-xradar-plugin maven plugin:install
maven xradar -Dxradar.output.dir=$XRADAR_MAVEN_ROOT/target/xradar