From 648794df0dfea4fd7db2df37a9bb928e15d902d7 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 9 Sep 2011 20:14:34 +0000 Subject: [PATCH] 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 --- README.txt | 3 +++ archiva-modules/archiva-web/archiva-webapp/pom.xml | 2 ++ .../src/test/tomcat/auto-admin-creation.properties | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties 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 -- 2.39.5