mirror of https://github.com/apache/archiva.git
[MRM-1164] Add it.properties to externalize info needed for tests. Adjust directory name for non-classpath resources in pom.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@761865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
925f56ad01
commit
c388ed3b98
|
@ -87,6 +87,16 @@
|
||||||
<build>
|
<build>
|
||||||
<testSourceDirectory>src/test/it</testSourceDirectory>
|
<testSourceDirectory>src/test/it</testSourceDirectory>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>testResources</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>dependency-maven-plugin</artifactId>
|
<artifactId>dependency-maven-plugin</artifactId>
|
||||||
|
@ -136,22 +146,22 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<copy todir="${project.build.directory}/appserver-base">
|
<copy todir="${project.build.directory}/appserver-base">
|
||||||
<fileset dir="src/test/resources/appserver-base" />
|
<fileset dir="src/test/it-resources/appserver-base" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${project.build.directory}/repository">
|
<copy todir="${project.build.directory}/repository">
|
||||||
<fileset dir="src/test/resources/repository" />
|
<fileset dir="src/test/it-resources/repository" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${project.build.directory}/index">
|
<copy todir="${project.build.directory}/index">
|
||||||
<fileset dir="src/test/resources/index" />
|
<fileset dir="src/test/it-resources/index" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${project.build.directory}/snapshots">
|
<copy todir="${project.build.directory}/snapshots">
|
||||||
<fileset dir="src/test/resources/snapshots" />
|
<fileset dir="src/test/it-resources/snapshots" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${project.build.directory}/projects">
|
<copy todir="${project.build.directory}/projects">
|
||||||
<fileset dir="src/test/resources/projects" />
|
<fileset dir="src/test/it-resources/projects" />
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${project.build.directory}/local-repo">
|
<copy todir="${project.build.directory}/local-repo">
|
||||||
<fileset dir="src/test/resources/local-repo" />
|
<fileset dir="src/test/it-resources/local-repo" />
|
||||||
</copy>
|
</copy>
|
||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#properties for integration tests
|
||||||
|
|
||||||
|
BASE_URL=http://localhost:9696/archiva
|
||||||
|
MAX_WAIT_TIME_IN_MS=60000
|
||||||
|
|
||||||
|
ADMIN_USERNAME=admin
|
||||||
|
ADMIN_FULLNAME=Administrator
|
||||||
|
ADMIN_EMAIL=admin@localhost
|
||||||
|
ADMIN_PASSWORD=admin123
|
||||||
|
|
||||||
|
SELENIUM_HOST=localhost
|
||||||
|
SELENIUM_PORT=4444
|
||||||
|
SELENIUM_BROWSER=*firefox
|
Loading…
Reference in New Issue