/maven-amps-plugin/src/it/runWithTestGroup/pom.xml

https://bitbucket.org/mmeinhold/amps · XML · 115 lines · 110 code · 4 blank · 1 comment · 0 complexity · d1b5305706c19b00d9ee47e2b315bc60 MD5 · raw file

  1. <project>
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.atlassian.amps.it</groupId>
  4. <artifactId>maven-amps-plugin-run</artifactId>
  5. <packaging>atlassian-plugin</packaging>
  6. <version>testing</version>
  7. <name>TestRun</name>
  8. <build>
  9. <plugins>
  10. <plugin>
  11. <groupId>com.atlassian.maven.plugins</groupId>
  12. <artifactId>maven-${shitty.product}-plugin</artifactId>
  13. <version>testing</version>
  14. <extensions>true</extensions>
  15. <configuration>
  16. <wait>false</wait>
  17. <writePropertiesToFile>true</writePropertiesToFile>
  18. <container>tomcat6x</container>
  19. <productInheritConfiguration>true</productInheritConfiguration>
  20. <systemPropertyVariables>
  21. <shitty.product>${shitty.product}</shitty.product>
  22. </systemPropertyVariables>
  23. <testGroups>
  24. <testGroup>
  25. <id>foo</id>
  26. <productIds>
  27. <productId>product-1</productId>
  28. </productIds>
  29. <includes>
  30. <include>**/foo/**</include>
  31. </includes>
  32. </testGroup>
  33. <testGroup>
  34. <id>bar</id>
  35. <productIds>
  36. <productId>product-1</productId>
  37. <productId>product-2</productId>
  38. </productIds>
  39. <includes>
  40. <include>**/bar/**</include>
  41. </includes>
  42. </testGroup>
  43. </testGroups>
  44. <products>
  45. <product>
  46. <id>${shitty.product}</id>
  47. <instanceId>product-1</instanceId>
  48. </product>
  49. <product>
  50. <id>${shitty.product}</id>
  51. <instanceId>product-2</instanceId>
  52. </product>
  53. </products>
  54. </configuration>
  55. </plugin>
  56. <!-- this is used to run some tests against the running application -->
  57. <plugin>
  58. <groupId>org.codehaus.groovy.maven</groupId>
  59. <artifactId>gmaven-plugin</artifactId>
  60. <version>1.0</version>
  61. <configuration>
  62. <source>${project.build.directory}/it/runWithTestGroup/webappassertions.groovy</source>
  63. <classpath>
  64. <element>
  65. <groupId>org.codehaus.groovy</groupId>
  66. <artifactId>http-builder</artifactId>
  67. </element>
  68. <element>
  69. <groupId>org.apache.httpcomponents</groupId>
  70. <artifactId>httpclient</artifactId>
  71. </element>
  72. <element>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpcore</artifactId>
  75. </element>
  76. <element>
  77. <groupId>net.sf.json-lib</groupId>
  78. <artifactId>json-lib</artifactId>
  79. <classifier>jdk15</classifier>
  80. </element>
  81. </classpath>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. <dependencyManagement>
  87. <dependencies>
  88. <dependency>
  89. <groupId>org.codehaus.groovy</groupId>
  90. <artifactId>http-builder</artifactId>
  91. <version>0.4.1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.httpcomponents</groupId>
  95. <artifactId>httpclient</artifactId>
  96. <version>4.0-beta2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.httpcomponents</groupId>
  100. <artifactId>httpcore</artifactId>
  101. <version>4.0-beta3</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>net.sf.json-lib</groupId>
  105. <artifactId>json-lib</artifactId>
  106. <classifier>jdk15</classifier>
  107. <version>2.2.2</version>
  108. </dependency>
  109. </dependencies>
  110. </dependencyManagement>
  111. </project>