You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by at...@apache.org on 2014/09/15 15:30:13 UTC

svn commit: r1625031 - /commons/proper/scxml/trunk/pom.xml

Author: ate
Date: Mon Sep 15 13:30:13 2014
New Revision: 1625031

URL: http://svn.apache.org/r1625031
Log:
Add convenience mvn java:exec configuration for testing SCXML documents

Modified:
    commons/proper/scxml/trunk/pom.xml

Modified: commons/proper/scxml/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/pom.xml?rev=1625031&r1=1625030&r2=1625031&view=diff
==============================================================================
--- commons/proper/scxml/trunk/pom.xml (original)
+++ commons/proper/scxml/trunk/pom.xml Mon Sep 15 13:30:13 2014
@@ -230,6 +230,23 @@
           </ignorePathsToDelete>
         </configuration>
       </plugin>
+      <!-- add convenience support for command-line testing and debugging using
+           the org.apache.commons.scxml2.test.StandaloneJexlExpressions class
+
+           Example usage: mvn exec:java -Dexec.args="test.scxml"
+
+           See StandaloneJexlExpressions.java for further instructions
+       -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.3.2</version>
+        <configuration>
+          <mainClass>org.apache.commons.scxml2.test.StandaloneJexlExpressions</mainClass>
+          <classpathScope>test</classpathScope>
+          <cleanupDaemonThreads>false</cleanupDaemonThreads>
+        </configuration>
+      </plugin>
     </plugins>
   </build>