From ce604639a0f30e1569b730921d1cf4813425815b Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Mon, 5 Jan 2015 23:43:58 +0000 Subject: [PATCH] Add new rm automation framework. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- rm-automation/pom.xml | 312 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 rm-automation/pom.xml diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml new file mode 100644 index 0000000000..1221af32e3 --- /dev/null +++ b/rm-automation/pom.xml @@ -0,0 +1,312 @@ + + + + org.alfresco + alfresco-rm-parent + 2.3-SNAPSHOT + + 4.0.0 + alfresco-rm-automation + + 2.43.1 + 4.0.5.RELEASE + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source + + add-test-source + + + + src/unit-test/java + + + + + + + maven-surefire-plugin + + false + + + usedefaultlisteners + false + + + listener + org.uncommons.reportng.HTMLReporter, org.uncommons.reportng.JUnitXMLReporter + + + + ${project.build.testOutputDirectory}/testng.xml + + + + + + maven-antrun-plugin + + + default-cli + + + Stopping Alfresco... + + + + + + + + + + + + + org.alfresco + webdrone + 2.6.1 + + + org.seleniumhq.selenium + selenium-java + ${selenium.version} + + + org.seleniumhq.selenium + selenium-server + ${selenium.version} + test + + + org.springframework + spring-beans + ${spring.version} + + + org.springframework + spring-context + ${spring.version} + + + org.springframework + spring-tx + ${spring.version} + test + + + org.springframework + spring-test + ${spring.version} + test + + + org.testng + testng + 6.8.8 + test + + + org.uncommons + reportng + 1.1.4 + test + + + ru.yandex.qatools.htmlelements + htmlelements-all + 1.12 + + + ru.yandex.qatools.properties + properties-loader + 1.5 + test + + + + + install-alfresco + + + + + maven-antrun-plugin + + + fetch-installer + generate-test-resources + + run + + + + Recreating database... + drop database if exists alfresco; create database alfresco + Downloading Alfresco installer... + + + + Installing Alfresco... + + + + + + + + + + org.apache.ant + ant-jsch + 1.8.2 + + + postgresql + postgresql + 9.1-901-1.jdbc4 + + + + + maven-dependency-plugin + + + fetch-amps + process-test-resources + + copy + + + + + org.alfresco + alfresco-rm-share + ${project.version} + amp + amp + + + org.alfresco + alfresco-rm-server + ${project.version} + amp + amp + + + ${project.build.directory}/amps + true + + + + + + org.alfresco.maven.plugin + alfresco-maven-plugin + true + + + install-server-amp + + install + + process-test-resources + + true + ${project.build.directory}/amps/alfresco-rm-server-${project.version}-amp.amp + ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war + amp + + + + install-share-amp + + install + + process-test-resources + + true + ${project.build.directory}/amps/alfresco-rm-share-${project.version}-amp.amp + ${project.build.directory}/alf-installation/tomcat/webapps/share.war + amp + + + + + + + + + run-alfresco + + + + + org.jacoco + jacoco-maven-plugin + 0.6.3.201306030806 + + + prepare-jacoco + + prepare-agent + + + + + + org.alfresco.* + + + + + + maven-antrun-plugin + + + start-alfresco + process-test-classes + + run + + + + Starting Alfresco... + + + + + + + + + + stop-alfresco + post-integration-test + + run + + + + Stopping Alfresco... + + + + + + + + + + + + + \ No newline at end of file