uk.org.raje.maven.plugins:msbuild-maven-plugin-parent

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Categories

Categories

Maven Build Tools
GroupId

GroupId

uk.org.raje.maven.plugins
ArtifactId

ArtifactId

msbuild-maven-plugin-parent
Last Version

Last Version

1.3.1
Release Date

Release Date

Type

Type

pom
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

https://github.com/andi12/msbuild-maven-plugin/tree/master

Download msbuild-maven-plugin-parent

How to add to project

<!-- https://jarcasting.com/artifacts/uk.org.raje.maven.plugins/msbuild-maven-plugin-parent/ -->
<dependency>
    <groupId>uk.org.raje.maven.plugins</groupId>
    <artifactId>msbuild-maven-plugin-parent</artifactId>
    <version>1.3.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/uk.org.raje.maven.plugins/msbuild-maven-plugin-parent/
implementation 'uk.org.raje.maven.plugins:msbuild-maven-plugin-parent:1.3.1'
// https://jarcasting.com/artifacts/uk.org.raje.maven.plugins/msbuild-maven-plugin-parent/
implementation ("uk.org.raje.maven.plugins:msbuild-maven-plugin-parent:1.3.1")
'uk.org.raje.maven.plugins:msbuild-maven-plugin-parent:pom:1.3.1'
<dependency org="uk.org.raje.maven.plugins" name="msbuild-maven-plugin-parent" rev="1.3.1">
  <artifact name="msbuild-maven-plugin-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='uk.org.raje.maven.plugins', module='msbuild-maven-plugin-parent', version='1.3.1')
)
libraryDependencies += "uk.org.raje.maven.plugins" % "msbuild-maven-plugin-parent" % "1.3.1"
[uk.org.raje.maven.plugins/msbuild-maven-plugin-parent "1.3.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • msbuild-maven-plugin
  • msbuild-maven-plugin-it

msbuild-maven-plugin

Maven 3 plugin for building Visual Studio solutions and projects with msbuild.

Requirements:

  • Originally tested with Visual Studio 2010 and 2012. Integration tests now updated for Visual Studio 2015.
  • .NET framework v4.0 (for msbuild)

In addition to building using msbuild the plugin also supports:

  • Creating a version resource from information in your POM
  • Running static analysis tools:
    • CppCheck (1.61)
    • Vera++ (1.2.1)
  • Generating, building and executing unit tests using CxxTest (4.2.1, don't use 4.3 due to Windows compilation issues)
  • Generating configuration files for the Sonar runner to ingest source, CppCheck, Vera and CxxTest results.

Usage

For detailed usage instruction see the project Wiki at: https://github.com/andi12/msbuild-maven-plugin/wiki

The plugin is available from Maven Central see http://search.maven.org/#search|ga|1|a%3A%22msbuild-maven-plugin%22

This simple example shows basic setup to build from a solution file. Place the following in the <build> <plugins> section of you POM and use our 'exe' packaging.

    <plugin>
        <groupId>uk.org.raje.maven.plugins</groupId>
        <artifactId>msbuild-maven-plugin</artifactId>
        <version>1.2.1</version>
        <extensions>true</extensions>
        <configuration>
            <projectFile>hello-world.vcxproj</projectFile>
            <platforms>
                <platform>
                    <name>Win32</name>
                    <configurations>
                        <configuration>
                            <name>Release</name>
                        </configuration>
                        <configuration>
                            <name>Debug</name>
                        </configuration>
                    </configurations>
                </platform>
            </platforms>
        </configuration>
    </plugin>

Changelog

This section provides a summary of significant changes in each release. For all details see the commitlog.

1.3.1 (1-Oct-2019)

  • Support .NET 2.0, don't set maxcpucount when configured value is 0

1.3.0 (29-Sep-2019)

  • Minor fixes for Java 8
  • Integration tests passing with Visual Studio 2015 (Community Edition)

1.2.1 (5-Nov-2013)

  • Add support for a set of exclude patterns to be specified for CppCheck and Vera
  • Change default Vera profile to 'default' from 'full'

1.2 (1-Nov-2013)

  • Add support for Vera++ code style checker
  • #8: CppCheck outputs results of --check-config to the Maven log
  • #21: CPPCHECK_PATH environment variable can be used to configure the location of CppCheck
  • #21: CXXTEST_HOME environment variable can be used to configure the home path for CxxTest
  • #20: Test report files from CxxTest output to target/test-results instead of target/surefire-reports
  • #18: Support for maven.test.failure.ignore which suppresses a build failure if tests fail.
  • #18: Support for skipTests property which skips test execution.

1.1 (10-Oct-2013)

  • #13: Sonar properties files now include links configured in the POM
  • #6: VersionInfoMojo allows input file to be configured
  • #5: VersionInfoMojo allows destination file to be specified

Versions

Version
1.3.1
1.3.0
1.2.1
1.2
1.1
1.0
0.6
0.5
0.4
0.3
0.2
0.1.0