4.0.0 org.apache.archiva archiva-web 1.4-M3-SNAPSHOT archiva-webapp-test pom Archiva Web :: Application Tests org.testng testng test commons-io commons-io org.apache.archiva archiva-webapp war org.codehaus.plexus plexus-utils org.codehaus.plexus plexus-slf4j-logging plexus-component-api org.codehaus.plexus org.seleniumhq.selenium.client-drivers selenium-java-client-driver test commons-logging commons-logging jdom jdom jaxen jaxen org.apache.derby derby javax.mail mail javax.activation activation src/test/testng src/test/resources true **/* org.codehaus.mojo selenium-maven-plugin org.seleniumhq.selenium selenium-server ${selenium-server.version} org.seleniumhq.selenium selenium-remote-driver ${selenium-server.version} org.seleniumhq.selenium selenium-api ${selenium-server.version} org.apache.rat apache-rat-plugin src/test/resources/appserver-base/** src/test/resources/repository/** src/test/resources/local-repo/** src/test/resources/projects/** src/test/resources/snapshots/** src/test/tomcat*/conf/catalina.policy maven-resources-plugin testResources org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 true testCompile org.apache.maven.plugins maven-surefire-plugin false listener org.apache.archiva.web.test.listener.CaptureScreenShotsListener excludegroups ${excluded.groups} alphabetical integration-tests integration-test test browser ${selenium.browser} baseUrl ${baseUrl} maxWaitTimeInMs ${maxWaitTimeInMs} create-container !container org.apache.maven.plugins maven-dependency-plugin unzip-archiva-webapp generate-resources unpack ${project.groupId} archiva-webapp ${project.version} war ${project.build.directory}/${container.name}conf/webapps/archiva true prepare-provided-dependencies generate-resources copy-dependencies org.apache.derby,javax.mail,javax.activation false true false ${project.build.directory}/providedDependencies org.apache.maven.plugins maven-antrun-plugin generate-resources run copy-container-conf package run check-archiva-loaded integration-test run org.codehaus.cargo cargo-maven2-plugin start-container pre-integration-test start stop-container post-integration-test stop ${cargo.wait} ${container.name} ${container.url} ${user.home}/.cargo ${project.build.directory}/logs/${container.name}.log ${project.build.directory}/logs/${container.name}.out ${cargo.timeout} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base ${project.build.directory} ${project.build.directory} ${project.build.directory}/${container.name}conf existing ${container.test.port} ${cargo.jvm.args} existing-container !baseUrl http://localhost:${container.test.port}/archiva/ start-selenium !seleniumHost localhost 4444 org.codehaus.mojo selenium-maven-plugin pre-integration-test start-server true ${seleniumPort} true tomcat5x tomcat5 tomcat5x ${tomcat5x.version} ${apache.mirror.url}/tomcat/tomcat-5/v${tomcat5x.version}/bin/apache-tomcat-${tomcat5x.version}.zip tomcat6x !container tomcat6x ${tomcat6x.version} ${apache.mirror.url}/tomcat/tomcat-6/v${tomcat6x.version}/bin/apache-tomcat-${tomcat6x.version}.zip firefox !browser *firefox chrome browser chrome *googlechrome requiresUpload iexplore browser iexplore *iexplore requiresUpload safari browser safari *safari requiresUpload otherbrowser browser other *custom ${browserPath} requiresUpload headless org.codehaus.mojo selenium-maven-plugin xvfb validate xvfb debug -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${cargo.debug.port} -Xmx512m -XX:MaxPermSize=256m 8000 3600000 ci-server org.apache.maven.plugins maven-antrun-plugin cleanup-files run