Skip to end of metadata
Go to start of metadata

Basic integration

Visual Studio project files are MsBuild files. The "maven-dotnet-plugin" provides an easy solution to build a Visual Studio solution delegating all the real work to MsBuild.
The documentation of the "maven-dotnet-plugin" is available on the site of the plugin

Advanced integration (since version 0.6)

In some cases, it could be interesting to customized the build. For example one could want to generate some WS stub files or update assembly versions in AssemblyInfo files before compiling a VS solution.
For this purpose a generic msbuild mojo has been added to the maven-dotnet-plugin. It gives the ability to associate the execution of a MsBuild script to a maven phase.
Below an example where the default target of a "hello.msbuild.xml" script is executed duting the process-resource phase, hence before the compilation phase :

The msbuild target can be specified using a "target" element as below :

Labels
  • None