blob: 010f84857be2a9a093fd26b1dbe575ef92b78193 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata</artifactId>
<version>0.14-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>integration-tests</artifactId>
<name>Airavata Integration Tests</name>
<url>http://airavata.apache.org/</url>
<build>
<plugins>
<!-- unpack the server distribution-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<!--execution>
<id>unpack-dependencies</id>
<phase>compile</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.airavata</groupId>
<artifactId>apache-airavata-samples</artifactId>
<type>zip</type>
<outputDirectory>${project.build.directory}/samples</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution -->
<execution>
<id>unpack</id>
<phase>compile</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.airavata</groupId>
<artifactId>apache-airavata-server</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>bin</classifier>
</artifactItem>
</artifactItems>
<!--includes>**/*.war</includes-->
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Start and stop the server before and after the integration tests -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>start-airavata-server</id>
<phase>pre-integration-test</phase>
<configuration>
<target>
<exec executable="./${airavata.executable}"
dir="${airavata.server.extractedLocation}"
spawn="${airavata.server.start.spawn}">
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>stop-airavata-server</id>
<phase>post-integration-test</phase>
<configuration>
<target>
<exec executable="./${airavata.executable}"
dir="${airavata.server.extractedLocation}"
spawn="${airavata.server.stop.spawn}">
<arg value="stop" />
<arg value="--force" />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.5</version>
<configuration>
<failIfNoTests>false</failIfNoTests>
<systemPropertyVariables>
<test.server.port>${test.running.port}</test.server.port>
<test.server.url>localhost</test.server.url>
<log4j.configuration>file:${basedir}/src/test/resources/log4j.properties</log4j.configuration>
<property>
<name>log4j.configuration</name>
<value>file:${project.build.directory}/test-classes/log4j.properties</value>
</property>
<myproxy.user>${user}</myproxy.user>
<myproxy.password>${pwd}</myproxy.password>
<trusted.cert.location>${cert}</trusted.cert.location>
</systemPropertyVariables>
<!--excludes>
<exclude>**/*IT.java</exclude>
</excludes -->
<includes>
<!--include>**/*IT.java</include -->
<include>**/SimpleEchoIT.java</include>
<!--include>**/DataRetrievalIT.java</include-->
</includes>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.8.1</version>
</dependency>
<!--dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>apache-airavata-samples</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency-->
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata-jpa-registry</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--<dependency>-->
<!--<groupId>org.apache.airavata</groupId>-->
<!--<artifactId>airavata-client-api</artifactId>-->
<!--<version>${project.version}</version>-->
<!--<exclusions>-->
<!--<exclusion>-->
<!--<groupId>org.slf4j</groupId>-->
<!--<artifactId>slf4j-simple</artifactId>-->
<!--</exclusion>-->
<!--</exclusions>-->
<!--</dependency>-->
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata-data-models</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata-model-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>app-catalog-data</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>app-catalog-cpi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata-api-stubs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${thrift.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<scope>test</scope>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2.3-1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.airavata</groupId>
<artifactId>airavata-client-configuration</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<jersey.version>1.13</jersey.version>
<user></user>
<pwd></pwd>
<cert></cert>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<archieve.name>apache-airavata</archieve.name>
<used.axis2.release>${axis2.version}</used.axis2.release>
<major.tomcat.version>7</major.tomcat.version>
<cargo.debug.address>8000</cargo.debug.address>
<cargo.debug.suspend>y</cargo.debug.suspend>
<test.running.port>8080</test.running.port>
<tomcat.extract.dir>${project.build.directory}</tomcat.extract.dir>
<tomcat.work.dir>${tomcat.extract.dir}/apache-tomcat-${tomcat.version}</tomcat.work.dir>
<local.tomcat.distribution>
${settings.localRepository}/org/apache/airavata/integration/tomcat/apache-tomcat/${tomcat.version}/apache-tomcat-${tomcat.version}.zip
</local.tomcat.distribution>
<airavata.executable>airavata-server.sh</airavata.executable>
<airavata.server.name>apache-airavata-server</airavata.server.name>
<airavata.server.start.spawn>true</airavata.server.start.spawn>
<airavata.server.stop.spawn>false</airavata.server.stop.spawn>
<airavata.server.extractedLocation>${project.build.directory}/${airavata.server.name}-${project.version}/bin</airavata.server.extractedLocation>
</properties>
</project>