/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
- <project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.atlassian.amps.it</groupId>
- <artifactId>maven-amps-plugin-run</artifactId>
- <packaging>atlassian-plugin</packaging>
- <version>testing</version>
- <name>TestRun</name>
- <build>
- <plugins>
- <plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-${shitty.product}-plugin</artifactId>
- <version>testing</version>
- <extensions>true</extensions>
- <configuration>
- <wait>false</wait>
- <writePropertiesToFile>true</writePropertiesToFile>
- <container>tomcat6x</container>
- <productInheritConfiguration>true</productInheritConfiguration>
- <systemPropertyVariables>
- <shitty.product>${shitty.product}</shitty.product>
- </systemPropertyVariables>
- <testGroups>
- <testGroup>
- <id>foo</id>
- <productIds>
- <productId>product-1</productId>
- </productIds>
- <includes>
- <include>**/foo/**</include>
- </includes>
- </testGroup>
- <testGroup>
- <id>bar</id>
- <productIds>
- <productId>product-1</productId>
- <productId>product-2</productId>
- </productIds>
- <includes>
- <include>**/bar/**</include>
- </includes>
- </testGroup>
- </testGroups>
- <products>
- <product>
- <id>${shitty.product}</id>
- <instanceId>product-1</instanceId>
- </product>
- <product>
- <id>${shitty.product}</id>
- <instanceId>product-2</instanceId>
- </product>
- </products>
- </configuration>
- </plugin>
- <!-- this is used to run some tests against the running application -->
- <plugin>
- <groupId>org.codehaus.groovy.maven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.0</version>
- <configuration>
- <source>${project.build.directory}/it/runWithTestGroup/webappassertions.groovy</source>
- <classpath>
- <element>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>http-builder</artifactId>
- </element>
- <element>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </element>
- <element>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- </element>
- <element>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <classifier>jdk15</classifier>
- </element>
- </classpath>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>http-builder</artifactId>
- <version>0.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.0-beta2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>4.0-beta3</version>
- </dependency>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <classifier>jdk15</classifier>
- <version>2.2.2</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- </project>