So just use : mvn tomcat:run -Pdev
and hit in your browser : http://localhost:9091/archiva
+note with dev profile admin account is automatically created with password admin123
+see file : archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties
+
<appserver.base>${basedir}/appserver-base</appserver.base>
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
<derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
+ <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
</systemProperties>
</configuration>
<dependencies>
<configuration>
<tasks>
<copy overwrite="true" file="${basedir}/src/test/tomcat/log4j.xml" todir="${project.build.directory}/classes" />
+ <copy overwrite="true" file="${basedir}/src/test/tomcat/auto-admin-creation.properties" todir="${basedir}/target/" />
<delete dir="${basedir}/src/main/webapp/WEB-INF/lib" />
</tasks>
</configuration>
--- /dev/null
+redback.admin.fullname=Archiva Admin
+redback.admin.email=admin@toto.com
+redback.admin.password=admin123
\ No newline at end of file