configure archetype test to run with an empty repo to ensure all artifacts are available

use archetype 2.2-SNAPSHOT which has those features.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-08 16:47:11 +00:00
parent e4ca7d18c0
commit 6a767ceb44
2 changed files with 7 additions and 4 deletions

View File

@ -45,14 +45,18 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.1</version>
<version>2.2-SNAPSHOT</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.1</version>
<version>2.2-SNAPSHOT</version>
<configuration>
<settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
<localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -150,8 +150,7 @@
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
<archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
<test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
<!-- restore when we will be able to use a derby in memory database -->
<!--redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url-->
<redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
<redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
</systemPropertyVariables>
</configuration>