Goals available for this plugin:
Goal | Description |
---|---|
cxx:addsource | Add more source directories to the POM. |
cxx:branch | Branch a project in SCM |
cxx:cmake | Goal which cmakes workspace. |
cxx:coverage | Goal which gcovr execution. |
cxx:cppcheck | Goal which cppcheck sources. |
cxx:cppncss | Goal which cppncss sources. |
cxx:generate | Generates a new project from an archetype, or updates the actual project if using a partial archetype. If the project is generated or updated in the current directory. mvn cxx:generate -DartifactName="an-id" -DartifactId="AnId" |
cxx:help | Display help information on cxx-maven-plugin. Call mvn cxx:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
cxx:launch | Goal which Launch an external executable. |
cxx:make | Goal which makes workspace. |
cxx:msbuild | Goal which build VisualStudio solutions. |
cxx:qmake | Goal which qmakes workspace. |
cxx:release | Branch a project in SCM |
cxx:scm-dependencies | Goal that retrieve source dependencies from the SCM. |
cxx:unpack-dependencies | Goal that unpacks the project dependencies from the repository to a defined location. |
cxx:valgrind | Goal which valgrind executables. |
cxx:veraxx | Goal which vera++ check sources. |
cxx:xunit | Goal which launch unit test using a custom command. This mojo just tell programmer where to produce xUnit reports |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.2.1 |
JDK | 1.5 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cxx-maven-plugin</artifactId> <version>0.0.6-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cxx-maven-plugin</artifactId> <version>0.0.6-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"