From 4687c698c7bf3fd63533d11f947a2b7bc7c30b93 Mon Sep 17 00:00:00 2001 From: Jesse McConnell Date: Wed, 23 May 2007 20:28:48 +0000 Subject: [PATCH] adding postgres support git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541054 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-web/archiva-webapp/pom.xml | 23 ++++- .../archiva-webapp/src/jetty-env-postgres.xml | 92 +++++++++++++++++++ 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 archiva-web/archiva-webapp/src/jetty-env-postgres.xml diff --git a/archiva-web/archiva-webapp/pom.xml b/archiva-web/archiva-webapp/pom.xml index b862a72ec..7e91a873b 100644 --- a/archiva-web/archiva-webapp/pom.xml +++ b/archiva-web/archiva-webapp/pom.xml @@ -419,5 +419,26 @@ - + + postgres + + + postgresql + postgresql + 8.2-504.jdbc3 + + + + + + org.mortbay.jetty + maven-jetty-plugin + + src/jetty-env-postgres.xml + + + + + + diff --git a/archiva-web/archiva-webapp/src/jetty-env-postgres.xml b/archiva-web/archiva-webapp/src/jetty-env-postgres.xml new file mode 100644 index 000000000..8914ac44a --- /dev/null +++ b/archiva-web/archiva-webapp/src/jetty-env-postgres.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + mail/Session + + + + + + + localhost + continuum@localhost + Continuum + true + + + + + + + + jdbc/archiva + + + localhost + archiva + postgres + sparky + + + + + jdbc/archiva_shutdown + + + localhost + archiva + postgres + sparky + + + + + jdbc/users + + + localhost + users + postgres + sparky + + + + + jdbc/users_shutdown + + + localhost + users + postgres + sparky + + + + + +