Maven Integration SortSite Developer Manual

Maven is is tool for building and managing Java-based projects.

To test build outputs using SortSite Developer with Maven:

  1. Make sure the built app or site is available via an HTTP server (e.g. http://localhost/build-output or http://your-staging-server/ )
  2. Create a SortSiteCmd configuration file setting ProcessURL to the build output URL setup in the previous step
  3. To flag a build failure when any issues are detected, set the ExpectedResults element in the XML configuration file
  4. Add a Maven exec:exec goal similar to this:
<configuration>
  <executable>SortSiteCmd.exe</executable>
  <workingDirectory>c:\Program Files (x86)\PowerMapper Software\SortSite 6</workingDirectory>
  <arguments>
    <argument>Test.ssconfig</argument>
  </arguments>
</configuration>

Note: The following exec-maven-plugin issues may cause problems running Windows .exes from Maven: