From f72ff88c460fd60f3f73bf6327c7bed39b4c3de8 Mon Sep 17 00:00:00 2001 From: olivier lamy Date: Tue, 15 Aug 2017 21:12:08 +1000 Subject: fixing some directories Signed-off-by: olivier lamy --- archiva-modules/archiva-web/archiva-webapp/pom.xml | 9 +- .../archiva-webapp/src/main/resources/log4j2.xml | 6 -- .../src/test/auto-admin-creation.properties | 22 +++++ .../archiva-webapp/src/test/jetty-env.xml | 48 ++++++++++ .../archiva-webapp/src/test/jetty/jetty-env.xml | 48 ---------- .../archiva-webapp/src/test/log4j2-test.xml | 101 +++++++++++++++++++++ .../src/test/tomcat/auto-admin-creation.properties | 22 ----- .../archiva-webapp/src/test/tomcat/log4j2-test.xml | 101 --------------------- 8 files changed, 177 insertions(+), 180 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/auto-admin-creation.properties create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/jetty-env.xml delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/jetty/jetty-env.xml create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties delete mode 100644 archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml (limited to 'archiva-modules/archiva-web/archiva-webapp') diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index ce0cda9f8..13678bfd1 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -904,8 +904,7 @@ /archiva - ${basedir}/src/test/jetty/jetty-env.xml - + ${basedir}/src/test/jetty-env.xml plexus.home @@ -921,7 +920,7 @@ derby.system.home - ${archivaAppServerBase}/logs + ${archivaAppServerBase}/database java.io.tmpdir @@ -955,6 +954,10 @@ archiva.repositorySessionFactory.id ${archiva.repositorySessionFactory.id} + + log4j.configurationFile + ${basedir}/src/test/log4j2-test.xml + AsyncLoggerConfig.WaitStrategy Block diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml index f22ee0691..5496e442a 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j2.xml @@ -78,12 +78,6 @@ - - - - - - --> diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/auto-admin-creation.properties b/archiva-modules/archiva-web/archiva-webapp/src/test/auto-admin-creation.properties new file mode 100644 index 000000000..7c8c5815b --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/auto-admin-creation.properties @@ -0,0 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +redback.admin.fullname=Archiva Admin +redback.admin.email=admin@toto.com +redback.admin.password=admin123 \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/jetty-env.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/jetty-env.xml new file mode 100644 index 000000000..bed63bfa3 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/jetty-env.xml @@ -0,0 +1,48 @@ + + + + + + + + jdbc/users + + + database/users;create=true + sa + + + + + + + + mail/Session + + + + + localhost + + + + + + \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/jetty/jetty-env.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/jetty/jetty-env.xml deleted file mode 100644 index bed63bfa3..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/jetty/jetty-env.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - jdbc/users - - - database/users;create=true - sa - - - - - - - - mail/Session - - - - - localhost - - - - - - \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml new file mode 100644 index 000000000..55668911a --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/log4j2-test.xml @@ -0,0 +1,101 @@ + + + + + + + + ${sys:appserver.base}/logs + + + + + + + + + + %d [%t] %-5p %c %x - %m%n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 deleted file mode 100644 index 7c8c5815b..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties +++ /dev/null @@ -1,22 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -redback.admin.fullname=Archiva Admin -redback.admin.email=admin@toto.com -redback.admin.password=admin123 \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml deleted file mode 100644 index 55668911a..000000000 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - ${sys:appserver.base}/logs - - - - - - - - - - %d [%t] %-5p %c %x - %m%n - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3