| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>stratos-integration</artifactId> |
| <version>4.1.4</version> |
| </parent> |
| |
| <artifactId>stratos-test-integration</artifactId> |
| <name>Apache Stratos - Integration Tests</name> |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-exec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>org.apache.stratos.common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automation</groupId> |
| <artifactId>org.wso2.carbon.automation.test.utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automationutils</groupId> |
| <artifactId>org.wso2.carbon.integration.common.admin.client</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automation</groupId> |
| <artifactId>org.wso2.carbon.automation.extensions</artifactId> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automationutils</groupId> |
| <artifactId>org.wso2.carbon.integration.common.utils</artifactId> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automation</groupId> |
| <artifactId>org.wso2.carbon.automation.engine</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.axis2.wso2</groupId> |
| <artifactId>axis2-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon</groupId> |
| <artifactId>SecVerifier</artifactId> |
| <type>aar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-all</artifactId> |
| <version>5.10.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents.wso2</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>${httpcore.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents.wso2</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>org.apache.stratos.messaging</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>org.apache.stratos.mock.iaas.client</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.agent</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.wso2.carbon.automationutils</groupId> |
| <artifactId>org.wso2.carbon.integration.common.extensions</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stratos</groupId> |
| <artifactId>org.apache.stratos.integration.common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <inherited>false</inherited> |
| <configuration> |
| <argLine>-Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m</argLine> |
| <systemProperties> |
| <maven.test.haltafterfailure>false</maven.test.haltafterfailure> |
| <property> |
| <name>carbon.zip</name> |
| <value> |
| ${basedir}/../../distribution/target/${stratos.distribution.name}-${project.version}.zip |
| </value> |
| </property> |
| <property> |
| <name>framework.resource.location</name> |
| <value>${basedir}/src/test/resources/</value> |
| </property> |
| <property> |
| <name>server.list</name> |
| <value>STRATOS</value> |
| </property> |
| <property> |
| <name>usedefaultlisteners</name> |
| <value>false</value> |
| </property> |
| <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir> |
| <instr.file>${basedir}/src/test/resources/instrumentation.txt</instr.file> |
| <filters.file>${basedir}/src/test/resources/filters.txt</filters.file> |
| </systemProperties> |
| <suiteXmlFiles> |
| <suiteXmlFile>${suiteFile}</suiteXmlFile> |
| </suiteXmlFiles> |
| <workingDirectory>${basedir}/target</workingDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-jacocodependencies</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/jacoco</outputDirectory> |
| <includeTypes>jar</includeTypes> |
| <includeArtifactIds>org.jacoco.agent</includeArtifactIds> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-secVerifier</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/security-verifier</outputDirectory> |
| <includeTypes>aar</includeTypes> |
| <includeArtifactIds>SecVerifier</includeArtifactIds> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <suiteFile>${basedir}/src/test/resources/test-suite-all.xml</suiteFile> |
| </properties> |
| </project> |