PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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