From: Olivier Lamy Date: Fri, 9 Sep 2011 20:14:34 +0000 (+0000) Subject: use admin auto creation feature in dev run X-Git-Tag: archiva-1.4-M1~335 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=648794df0dfea4fd7db2df37a9bb928e15d902d7;p=archiva.git use admin auto creation feature in dev run git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167348 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/README.txt b/README.txt index 968f00bea..c9854b265 100644 --- a/README.txt +++ b/README.txt @@ -12,3 +12,6 @@ No more need to install everything to run the jetty plugin. 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 + diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 32f8abf9f..4108e25f7 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -523,6 +523,7 @@ ${basedir}/appserver-base ${project.build.directory}/appserver-home ${basedir}/appserver-base/logs + ${basedir}/target/auto-admin-creation.properties @@ -747,6 +748,7 @@ + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties new file mode 100644 index 000000000..e8736f125 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties @@ -0,0 +1,3 @@ +redback.admin.fullname=Archiva Admin +redback.admin.email=admin@toto.com +redback.admin.password=admin123 \ No newline at end of file