nbactions.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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>-classpath %classpath nxt.weather.Application -e switch</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} -classpath %classpath nxt.weather.Application -e switch</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>-classpath %classpath nxt.weather.Application -e switch</exec.args>
  43. <exec.executable>java</exec.executable>
  44. </properties>
  45. </action>
  46. <action>
  47. <actionName>build</actionName>
  48. <packagings>
  49. <packaging>*</packaging>
  50. </packagings>
  51. <goals>
  52. <goal>install</goal>
  53. </goals>
  54. </action>
  55. </actions>