|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<actions> |
| 3 | + <action> |
| 4 | + <actionName>run</actionName> |
| 5 | + <packagings> |
| 6 | + <packaging>jar</packaging> |
| 7 | + </packagings> |
| 8 | + <goals> |
| 9 | + <goal>process-classes</goal> |
| 10 | + <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> |
| 11 | + </goals> |
| 12 | + <properties> |
| 13 | + <exec.args>-Djna.nosys=true -classpath %classpath ${packageClassName}</exec.args> |
| 14 | + <exec.executable>java</exec.executable> |
| 15 | + </properties> |
| 16 | + </action> |
| 17 | + <action> |
| 18 | + <actionName>debug</actionName> |
| 19 | + <packagings> |
| 20 | + <packaging>jar</packaging> |
| 21 | + </packagings> |
| 22 | + <goals> |
| 23 | + <goal>process-classes</goal> |
| 24 | + <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> |
| 25 | + </goals> |
| 26 | + <properties> |
| 27 | + <exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Djna.nosys=true -classpath %classpath ${packageClassName}</exec.args> |
| 28 | + <exec.executable>java</exec.executable> |
| 29 | + <jpda.listen>true</jpda.listen> |
| 30 | + </properties> |
| 31 | + </action> |
| 32 | + <action> |
| 33 | + <actionName>profile</actionName> |
| 34 | + <packagings> |
| 35 | + <packaging>jar</packaging> |
| 36 | + </packagings> |
| 37 | + <goals> |
| 38 | + <goal>process-classes</goal> |
| 39 | + <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> |
| 40 | + </goals> |
| 41 | + <properties> |
| 42 | + <exec.args>-Djna.nosys=true -classpath %classpath ${packageClassName}</exec.args> |
| 43 | + <exec.executable>java</exec.executable> |
| 44 | + </properties> |
| 45 | + </action> |
| 46 | + <action> |
| 47 | + <actionName>run.single.main</actionName> |
| 48 | + <packagings> |
| 49 | + <packaging>*</packaging> |
| 50 | + </packagings> |
| 51 | + <goals> |
| 52 | + <goal>process-classes</goal> |
| 53 | + <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> |
| 54 | + </goals> |
| 55 | + <properties> |
| 56 | + <exec.args>-Djna.nosys=true -classpath %classpath ${packageClassName}</exec.args> |
| 57 | + <exec.executable>java</exec.executable> |
| 58 | + <exec.classpathScope>${classPathScope}</exec.classpathScope> |
| 59 | + </properties> |
| 60 | + </action> |
| 61 | + <action> |
| 62 | + <actionName>test</actionName> |
| 63 | + <packagings> |
| 64 | + <packaging>*</packaging> |
| 65 | + </packagings> |
| 66 | + <goals> |
| 67 | + <goal>test</goal> |
| 68 | + </goals> |
| 69 | + <properties> |
| 70 | + <exec.args>-Djna.nosys=true</exec.args> |
| 71 | + </properties> |
| 72 | + </action> |
| 73 | + <action> |
| 74 | + <actionName>test.single</actionName> |
| 75 | + <packagings> |
| 76 | + <packaging>*</packaging> |
| 77 | + </packagings> |
| 78 | + <goals> |
| 79 | + <goal>test-compile</goal> |
| 80 | + <goal>surefire:test</goal> |
| 81 | + </goals> |
| 82 | + <properties> |
| 83 | + <exec.args>-Djna.nosys=true</exec.args> |
| 84 | + <test>${packageClassName}</test> |
| 85 | + </properties> |
| 86 | + </action> |
| 87 | + </actions> |
0 commit comments