feature-tests
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.marvelution.jji</groupId> <artifactId>feature-tests</artifactId> <version>1.6.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2012-present Marvelution B.V. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.marvelution.jji</groupId> <artifactId>jira-jenkins-integration</artifactId> <version>1.6.0</version> </parent> <artifactId>feature-tests</artifactId> <name>Feature Tests</name> <description>Feature Tests for the JJI project</description> <properties> <jira.wait>false</jira.wait> <jira.testkit.version>6.2.9</jira.testkit.version> <it.include>**/*IT.java</it.include> </properties> <dependencies> <!-- T E S T D E P E N D E N C I E S --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>model</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>test-utils</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>jenkins-jira-plugin</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-api</artifactId> <version>${atlassian.jira.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.atlassian.jira.tests</groupId> <artifactId>jira-testkit-client</artifactId> <version>${jira.testkit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.jayway.awaitility</groupId> <artifactId>awaitility</artifactId> <version>1.7.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-jaxrs</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-xc</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.6.4</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <includes> <include>${it.include}</include> </includes> <classpathDependencyExcludes> <classpathDependencyExclude>${project.groupId}:jenkins-jira-plugin</classpathDependencyExclude> </classpathDependencyExcludes> <systemProperties> <test.server.properties>${project.build.directory}/amps.properties</test.server.properties> </systemProperties> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-plugin</id> <phase>generate-test-resources</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>jenkins-jira-plugin</artifactId> <version>${project.version}</version> <type>hpi</type> <outputDirectory>${project.build.testOutputDirectory}/plugins</outputDirectory> <destFileName>jenkins-jira-plugin.hpi</destFileName> <overWrite>true</overWrite> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-jira-plugin</artifactId> <configuration> <installPlugin>false</installPlugin> <enableFastdev>false</enableFastdev> <enableDevToolbox>false</enableDevToolbox> <parallel>true</parallel> <wait>${jira.wait}</wait> <!--productDataPath>${project.build.testOutputDirectory}/jira-6.2-test-home.zip</productDataPath--> <log4jProperties>${project.build.testOutputDirectory}/log4j.properties</log4jProperties> <writePropertiesToFile>true</writePropertiesToFile> <pluginArtifacts> <pluginArtifact> <groupId>com.atlassian.jira.tests</groupId> <artifactId>jira-testkit-plugin</artifactId> <version>${jira.testkit.version}</version> </pluginArtifact> <pluginArtifact> <groupId>${project.groupId}</groupId> <artifactId>jira-jenkins-plugin</artifactId> <version>${project.version}</version> </pluginArtifact> </pluginArtifacts> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>its</id> <build> <plugins> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-jira-plugin</artifactId> <executions> <execution> <id>start-jira</id> <phase>pre-integration-test</phase> <goals> <goal>run</goal> </goals> </execution> <execution> <id>stop-jira</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>screenshots</id> <properties> <it.include>**/Screenshots.java</it.include> </properties> </profile> </profiles> </project>