Insure Example

Below you can see an example of using Native Plugin to integrate Insure++ from Parasoft

 <plugin>
      <groupId>org.jfrog.jade.plugins.build</groupId>
      <artifactId>jade-native-plugin</artifactId>
      <configuration>
          <compilerExecutable>
              insure
          </compilerExecutable>
          <linkerExecutable>
              insure
          </linkerExecutable>
          <compilerStartOptions>
              <!--<option>-Zcov</option> -->
              <option>-Zop ${HOME}/.psrc</option>
          </compilerStartOptions>
          <testLinkerExecutable>
              insure
          </testLinkerExecutable>
          <testLinkerOptions>
              <!--<option>-Zcov</option> -->
              <option>-Zop ${HOME}/.psrc</option>
          </testLinkerOptions>

          <!--
          <testExecuteSystemProperties>
          </testExecuteSystemProperties>
          -->

          <includePackagingTypes>
              <packaging>exe</packaging>
              <packaging>so</packaging>
              <packaging>a</packaging>
          </includePackagingTypes>
      </configuration>
  </plugin>

Purify

Below you can see an example of using Native Plugin to integrate Rational Purify from IBM

<plugin>
  <groupId>org.jfrog.jade.plugins.build</groupId>
  <artifactId>jade-native-plugin</artifactId>
  <configuration>
      <testLinkerExecutable>
          ${purify.cmd}
          <!--${rt_dir}/build/tools/lnx26/purify-exe-->
      </testLinkerExecutable>
      <testLinkerOptions>
          <option>-best-effort</option>
          <option>-cache-dir=./target/obj</option>
          <option>-log-file=purify.output</option>
          <option>g++</option>
      </testLinkerOptions>
      <testExecuteSystemProperties>
          <!--<PURIFYOPTIONS>-view-file=%v.pv -windows</PURIFYOPTIONS>-->
          <PURIFYOPTIONS>-windows=no -log-file=purify.output</PURIFYOPTIONS>
      </testExecuteSystemProperties>
  </configuration>
</plugin>