Poms for the test directory. - test depends on selenium-java - added artifact as dependency in test/pom.xml
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/42cc2eb4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/42cc2eb4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/42cc2eb4 Branch: refs/heads/4.0 Commit: 42cc2eb474babafaa397e36d85a436a43f472018 Parents: d9c03a5 Author: Prasanna Santhanam <[email protected]> Authored: Mon Sep 10 16:51:32 2012 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Mon Sep 10 16:51:32 2012 +0530 ---------------------------------------------------------------------- pom.xml | 1 + test/pom.xml | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/42cc2eb4/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index bc41967..dc74335 100644 --- a/pom.xml +++ b/pom.xml @@ -79,6 +79,7 @@ <cs.neethi.version>2.0.4</cs.neethi.version> <cs.servlet.version>2.4</cs.servlet.version> <cs.jstl.version>1.2</cs.jstl.version> + <cs.selenium.java.version>2.24.1</cs.selenium.java.version> <skipTests>true</skipTests> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/42cc2eb4/test/pom.xml ---------------------------------------------------------------------- diff --git a/test/pom.xml b/test/pom.xml new file mode 100644 index 0000000..53e0bcd --- /dev/null +++ b/test/pom.xml @@ -0,0 +1,85 @@ +<!-- + 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> + <artifactId>cloud-test</artifactId> + <name>Apache CloudStack Test</name> + <parent> + <groupId>org.apache.cloudstack</groupId> + <artifactId>cloudstack</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <dependencies> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>${cs.log4j.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>org.junit</artifactId> + <version>${cs.junit.version}</version> + </dependency> + <dependency> + <groupId>com.trilead</groupId> + <artifactId>trilead-ssh2</artifactId> + <version>${cs.trilead.version}</version> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>apache-log4j-extras</artifactId> + <version>${cs.log4j.extras.version}</version> + <exclusions> + <exclusion> + <artifactId>log4j</artifactId> + <groupId>log4j</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.seleniumhq.selenium</groupId> + <artifactId>selenium-java</artifactId> + <version>${cs.selenium.java.version}</version> + </dependency> + </dependencies> + <build> + <defaultGoal>install</defaultGoal> + <sourceDirectory>src</sourceDirectory> + <testSourceDirectory>test</testSourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + <resources> + <resource> + <directory>certs</directory> + </resource> + </resources> + </build> +</project>
