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
+
+
+
+
+
+